/* 基础样式 */
* {
    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: #2c3e50;
    font-size: 24px;
}

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

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

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #3498db;
}

/* 主体内容 */
main {
    margin-bottom: 50px;
}

/* 首页横幅 */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 100px 0;
    text-align: center;
}

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

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

/* 宣传横幅 */
.banner {
    background-color: #e8f4fc;
    padding: 50px 0;
    text-align: center;
    margin: 30px 0;
}

.banner h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: #fff;
    color: #3498db;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    border: 2px solid #fff;
}

.btn:hover {
    background-color: transparent;
    color: #fff;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #3498db;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #3498db;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: #3498db;
    color: #fff;
}

.text-center {
    text-align: center;
    margin-top: 30px;
}

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

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

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

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

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

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

.date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

.services-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    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 3px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
}

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

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

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

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

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

.case-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.case-image .placeholder {
    height: 200px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7f8c8d;
}

.case-item h3 {
    padding: 20px 20px 0;
    color: #2c3e50;
}

.case-item p {
    padding: 10px 20px 20px;
    color: #7f8c8d;
}

/* 人才发展 */
.talent-section {
    padding: 60px 0;
    background-color: #e8f4fc;
}

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

.talent-content p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
}

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

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

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

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

.footer-section a {
    color: #3498db;
    text-decoration: none;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* 子页面通用样式 */
.page-header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.page-content {
    padding: 60px 0;
    background-color: #fff;
}

.page-content .container {
    max-width: 800px;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

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

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

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

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

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

.news-list li:last-child {
    border-bottom: none;
}

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

.news-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.faq-item {
    margin-bottom: 30px;
}

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

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

    nav ul {
        margin-top: 20px;
    }

    nav ul li {
        margin: 0 10px;
    }

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

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

    .banner h3 {
        font-size: 1.5rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-section ul {
    display: flex;
}

.footer-section ul li {
    margin-right: 15px;
}

.footer-section ul li:last-child {
    margin-right: 0;
}