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

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

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

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

nav ul li {
    margin-left: 1.5rem;
}

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

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(120deg, #1e3c72, #2a5298);
    color: white;
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 2rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 新闻页面样式 */
.news-content {
    padding: 2rem 0;
}

.search-box {
    margin-bottom: 2rem;
    text-align: center;
}

.search-box input {
    width: 100%;
    max-width: 500px;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 10px rgba(30, 60, 114, 0.2);
}

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

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

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

.news-item h3 {
    color: #1e3c72;
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.news-item .date {
    color: #ff6b35;
    font-weight: bold;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
}

.news-item p {
    color: #555;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.news-item .btn {
    margin: 0 1.5rem 1.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.pagination .btn-outline {
    padding: 8px 15px;
}

.page-numbers {
    color: #555;
    font-weight: bold;
}

/* 行业知识库页面样式 */
.knowledge-content {
    padding: 2rem 0;
}

.knowledge-content h2 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

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

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

.category-item h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.category-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.article-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.article-item h3 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
}

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

.article-item p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

.resource-item {
    background: #eef5ff;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.resource-item:hover {
    background: #dfebff;
    transform: translateY(-3px);
}

.resource-item h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.resource-item p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 常见问题页面样式 */
.faq-content {
    padding: 2rem 0;
}

.faq-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.faq-intro a {
    color: #ff6b35;
    font-weight: bold;
    text-decoration: none;
}

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

.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    color: #1e3c72;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1e3c72;
    margin-bottom: 1.5rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.faq-question {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1.2rem 1.5rem;
    margin: 0;
    cursor: pointer;
    position: relative;
    font-size: 1.1rem;
}

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

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

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

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

.faq-answer p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
    color: #555;
}

.faq-answer strong {
    color: #1e3c72;
}

.faq-contact {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, #ff6b35, #f09c4a);
    color: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.faq-contact h2 {
    margin-bottom: 1rem;
}

.faq-contact p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.faq-contact .btn {
    background: white;
    color: #ff6b35;
    font-size: 1rem;
    padding: 15px 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.faq-contact .btn:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 联系我们页面样式 */
.contact-content {
    padding: 2rem 0;
}

.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-intro h2 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

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

.contact-details h2 {
    text-align: center;
    color: #1e3c72;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.contact-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #ff6b35;
}

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

.contact-item h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.contact-item a {
    color: #ff6b35;
    text-decoration: none;
    font-weight: bold;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* 服务中心详情样式 */
.services-detail {
    padding: 2rem 0;
}

.services-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.services-intro h2 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

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

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

.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.service-icon {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.service-icon h3 {
    font-size: 1.5rem;
    margin: 0;
}

.service-content {
    padding: 1.5rem;
}

.service-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-content ul {
    list-style-type: none;
    padding-left: 0;
}

.service-content ul li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-content ul li:before {
    content: "✓";
    color: #ff6b35;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.service-content ul li:last-child {
    border-bottom: none;
}

/* 行动号召区域 */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #ff6b35, #f09c4a);
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.3);
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.cta-section .btn {
    background: white;
    color: #ff6b35;
    font-size: 1rem;
    padding: 15px 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-section .btn:hover {
    background: #1e3c72;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 首页宣传区域 */
.hero {
    background: linear-gradient(rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.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;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

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

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

.btn-small {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* 新闻动态区域 */
.news-section {
    padding: 3rem 0;
    background-color: white;
}

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

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

.news-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

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

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

/* 业务范围区域 */
.services-section {
    padding: 3rem 0;
    background-color: #f0f4f8;
}

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

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

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

.service-item:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-item h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
}

/* 成功案例区域 */
.cases-section {
    padding: 3rem 0;
    background-color: white;
}

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

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

.case-item {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.case-item h3 {
    margin-bottom: 1rem;
}

/* 人才发展区域 */
.talent-section {
    padding: 3rem 0;
    background-color: #f0f4f8;
}

.talent-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e3c72;
    font-size: 2rem;
}

.talent-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.talent-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.talent-content blockquote {
    border-left: 4px solid #ff6b35;
    padding: 1rem 1.5rem;
    font-style: italic;
    background-color: #f8f9fa;
    margin: 1.5rem 0;
    color: #555;
}

/* 页脚样式 */
footer {
    background: #1a1a2e;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ff6b35;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

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

.footer-section ul.two-columns {
    column-count: 2;
    column-gap: 2rem;
}

.footer-section ul.two-columns li {
    break-inside: avoid;
    page-break-inside: avoid;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #333;
    color: #aaa;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.3rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .news-grid,
    .services-grid,
    .cases-grid,
    .category-grid,
    .articles-list,
    .resources-grid,
    .contact-grid,
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .services-intro,
    .faq-intro,
    .contact-intro {
        padding: 1.5rem;
    }
    
    .services-intro h2,
    .knowledge-content h2,
    .contact-details h2 {
        font-size: 1.7rem;
    }
    
    .cta-section,
    .faq-contact {
        padding: 2rem 1rem;
    }
    
    .cta-section h2,
    .faq-contact h2 {
        font-size: 1.7rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .footer-section ul.two-columns {
        column-count: 1;
    }
}