/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

/* 头部样式 */
header {
    background-color: #1a3c6c;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px 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 {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 1rem 0 0.5rem 0;
}

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

nav ul li:first-child {
    margin-left: 0;
}

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

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

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

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #1a3c6c 0%, #2c5a99 100%);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

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

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

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

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

/* 特色服务区域 */
.features {
    padding: 5rem 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #1a3c6c;
}

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

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

.feature-item:hover {
    transform: translateY(-10px);
}

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

.feature-item h3 {
    margin-bottom: 1rem;
    color: #1a3c6c;
}

/* 新闻动态 */
.news {
    padding: 5rem 0;
    background-color: #f0f5ff;
}

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

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

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

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

.date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

/* 服务业务 */
.services {
    padding: 5rem 0;
    background-color: white;
}

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

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

.service-item {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

/* 页脚样式 */
footer {
    background-color: #1a3c6c;
    color: white;
    padding: 3rem 0 1rem;
}

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

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

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

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

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

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

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

/* 公司简介页面样式 */
.about-hero {
    background: linear-gradient(135deg, #1a3c6c 0%, #2c5a99 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.about-content {
    padding: 4rem 0;
    background-color: white;
}

.about-content h2 {
    color: #1a3c6c;
    text-align: center;
    margin-bottom: 2rem;
}

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

.mission {
    background-color: #f0f5ff;
    padding: 2rem;
    border-radius: 10px;
}

.mission h3 {
    color: #1a3c6c;
    margin-bottom: 1rem;
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
}

.value-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* 新闻动态页面样式 */
.news-page {
    padding: 4rem 0;
    background-color: white;
}

.news-page h2 {
    color: #1a3c6c;
    text-align: center;
    margin-bottom: 2rem;
}

.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.news-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.news-card-content {
    padding: 1.5rem;
}

.news-card h3 {
    color: #1a3c6c;
    margin-bottom: 0.5rem;
}

.news-card .date {
    color: #666;
    margin-bottom: 1rem;
    display: block;
}

/* 业务范围页面样式 */
.services-hero {
    background: linear-gradient(135deg, #1a3c6c 0%, #2c5a99 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.services-content {
    padding: 4rem 0;
    background-color: white;
}

.services-content h2 {
    color: #1a3c6c;
    text-align: center;
    margin-bottom: 2rem;
}

.service-detail {
    margin-bottom: 3rem;
}

.service-detail h3 {
    color: #1a3c6c;
    margin-bottom: 1rem;
}

/* 成功案例页面样式 */
.cases-hero {
    background: linear-gradient(135deg, #1a3c6c 0%, #2c5a99 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cases-content {
    padding: 4rem 0;
    background-color: white;
}

.cases-content h2 {
    color: #1a3c6c;
    text-align: center;
    margin-bottom: 2rem;
}

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

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

.case-item:hover {
    transform: scale(1.03);
}

.case-info {
    padding: 1.5rem;
    background-color: #f8f9fa;
}

.case-info h3 {
    color: #1a3c6c;
    margin-bottom: 0.5rem;
}

/* 人才发展页面样式 */
.team-hero {
    background: linear-gradient(135deg, #1a3c6c 0%, #2c5a99 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.team-content {
    padding: 4rem 0;
    background-color: white;
}

.team-content h2 {
    color: #1a3c6c;
    text-align: center;
    margin-bottom: 2rem;
}

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

.team-member {
    text-align: center;
    padding: 2rem;
    background-color: #f0f5ff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.team-member .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: #1a3c6c;
    margin-bottom: 0.5rem;
}

/* 联系我们页面样式 */
.contact-hero {
    background: linear-gradient(135deg, #1a3c6c 0%, #2c5a99 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-content {
    padding: 4rem 0;
    background-color: white;
}

.contact-content h2 {
    color: #1a3c6c;
    text-align: center;
    margin-bottom: 2rem;
}

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

.contact-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1a3c6c;
}

.contact-card h3 {
    color: #1a3c6c;
    margin-bottom: 1rem;
}

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

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

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

    .feature-grid,
    .service-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
}