/* 全局样式重置 */
* {
    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, #1a2a6c, #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;
    flex-wrap: wrap;
}

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

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

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

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: color 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);
    color: #fff;
}

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

.section {
    padding: 4rem 0;
}

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

.section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #2a5298;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #1a2a6c, #2a5298);
    margin: 0.5rem auto;
    border-radius: 3px;
}

/* 公司简介 */
.intro-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;
    padding: 2rem;
}

.slogan-content blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: #1a2a6c;
    border-left: none;
    padding: 0;
    margin: 0;
}

.slogan-content cite {
    display: block;
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #2a5298;
}

/* 新闻动态 */
.news-list {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

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

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

.news-meta {
    color: #6c757d;
    font-size: 0.9rem;
    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: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

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

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

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

.services-grid ul,
.cases-list ul {
    list-style: none;
}

.services-grid ul li,
.cases-list ul li {
    margin-top: 10px;
    color: #6a6a6a;
}

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

.case-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #2a5298;
}

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

/* 人才发展 */
.careers-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.careers-content ul {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    text-align: left;
}

.careers-content li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #1a2a6c, #2a5298);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(26, 42, 108, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(26, 42, 108, 0.4);
    color: white;
}

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

/* 底部样式 */
footer {
    background: #1a2a6c;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* 响应式设计 */
@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;
    }

    .section {
        padding: 2rem 0;
    }

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

    .services-grid,
    .cases-list,
    .news-list {
        grid-template-columns: 1fr;
    }

    .slogan-content blockquote {
        font-size: 1.2rem;
    }
}

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

.faq-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.faq-item h3 {
    background: linear-gradient(135deg, #1a2a6c, #2a5298);
    color: white;
    padding: 1.2rem;
    margin: 0;
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item h3::after {
    content: "+";
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

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

.faq-item.active h3 {
    background: linear-gradient(135deg, #2a5298, #1a2a6c);
}

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

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

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

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

/* 联系我们页面样式 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

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

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

.contact-item h3 {
    color: #2a5298;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-item p {
    font-size: 1.1rem;
    color: #555;
}

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

.contact-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

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

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.contact-card p {
    margin-bottom: 0.5rem;
    color: #555;
}

.contact-card a {
    color: #2a5298;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: #1a2a6c;
    text-decoration: underline;
}

.work-hours {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.work-hours p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.work-hours strong {
    color: #1a2a6c;
}
