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

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

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

/* 头部样式 */
header {
    background: linear-gradient(135deg, #0056b3, #003d82);
    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.8rem;
    font-weight: 700;
}

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: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* 主要内容区域 */
main {
    padding: 2rem 0;
}

.section {
    padding: 4rem 0;
}

.section.bg-light {
    background-color: #f8f9fa;
}

.section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #0056b3;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff6600;
    margin: 0.8rem auto;
    border-radius: 2px;
}

/* 公司简介 */
#intro p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 宣传文案 */
#slogan {
    text-align: center;
}

.slogan-content blockquote {
    font-size: 1.8rem;
    font-style: italic;
    color: #0056b3;
    margin: 2rem 0;
    padding: 2rem;
    border-left: none;
    position: relative;
}

.slogan-content blockquote::before,
.slogan-content blockquote::after {
    content: '"';
    font-size: 4rem;
    color: #ff6600;
    opacity: 0.3;
    position: absolute;
}

.slogan-content blockquote::before {
    top: -10px;
    left: 10px;
}

.slogan-content blockquote::after {
    bottom: -40px;
    right: 10px;
}

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

/* 新闻动态 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    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: #0056b3;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

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

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

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

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

.service-item .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #0056b3;
}

.service-item h3 {
    color: #0056b3;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

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

.case-item {
    background: linear-gradient(135deg, #0056b3, #003d82);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

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

/* 人才发展 */
.careers-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.highlight h3 {
    color: #0056b3;
    margin-bottom: 1rem;
}

/* 页脚 */
footer {
    background: #333;
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer-section h3 {
    margin-bottom: 1.5rem;
    color: #ff6600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #ff6600;
}

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

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

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

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

.footer-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

    .section {
        padding: 2rem 0;
    }

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

    .slogan-content blockquote {
        font-size: 1.4rem;
        padding: 1.5rem;
    }

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

/* 子页面通用样式 */
.page-header {
    background: linear-gradient(135deg, #0056b3, #003d82);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

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

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 3rem;
}

/* 新闻列表页面 */
.news-list {
    list-style: none;
}

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

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

.news-list h3 {
    color: #0056b3;
    margin-bottom: 0.5rem;
}

.news-list .date {
    color: #ff6600;
    font-weight: 500;
    margin-bottom: 1rem;
    display: block;
}

/* 产品页面 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: #0056b3;
    margin-bottom: 0.5rem;
}

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

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

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

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

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