/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
}

.logo img {
    height: 60px;
    max-width: 300px;
    object-fit: contain;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 15px;
    color: #333;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav a:hover,
.nav a.active {
    color: #c41230;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #c41230;
    transition: width 0.3s;
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.search {
    display: flex;
    gap: 5px;
}

.search input {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 140px;
    font-size: 13px;
}

.search button {
    padding: 6px 15px;
    background: #c41230;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

/* Banner */
.banner {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.slide-content h1 {
    font-size: 40px;
    margin-bottom: 15px;
    font-weight: 500;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: #c41230;
    color: #fff;
    font-size: 18px;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #a00e28;
}

/* 快捷入口 */
.quick-links {
    background: #fff;
    padding: 40px 0;
    position: relative;
    z-index: 5;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
}

.link-item:hover {
    background: #c41230;
    color: #fff;
    transform: translateY(-5px);
}

.link-item .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.link-item .text {
    font-size: 18px;
    font-weight: 500;
}

/* 新闻区域 */
.news-section {
    padding: 60px 0;
    background: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header.center {
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.section-header h2 {
    font-size: 32px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #c41230;
}

.more {
    color: #c41230;
    font-size: 14px;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-item.main {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.news-item.main .news-img {
    height: 250px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%) !important;
}

.news-item.main .news-info {
    padding: 25px;
}

.news-item.main .date {
    color: #c41230;
    font-size: 14px;
}

.news-item.main h3 {
    font-size: 20px;
    margin: 10px 0;
    color: #333;
}

.news-item.main p {
    color: #666;
    line-height: 1.8;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item-small {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    transition: background 0.3s;
}

.news-item-small:hover {
    background: #e9ecef;
}

.news-item-small .date {
    color: #999;
    font-size: 13px;
    white-space: nowrap;
}

.news-item-small a {
    color: #333;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item-small a:hover {
    color: #c41230;
}

/* 服务区域 */
.service-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.service-section .section-header p {
    color: #666;
    margin-top: 10px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-card .icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* 数据统计 */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-item .label {
    font-size: 18px;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}
.footer-section h8 {
    font-size: 22px;
    color: #fff;
}
.footer-section p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: #999;
    transition: color 0.3s;
}

.footer-section ul a:hover {
    color: #c41230;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
}

/* 页面通用样式 */
.page-banner {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 400"><defs><linearGradient id="g1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ff6b6b"/><stop offset="50%" style="stop-color:%23feca57"/><stop offset="100%" style="stop-color:%2348dbfb"/></linearGradient></defs><rect fill="url(%23g1)" width="1200" height="400"/><circle cx="100" cy="100" r="150" fill="rgba(255,255,255,0.1)"/><circle cx="1100" cy="300" r="200" fill="rgba(255,255,255,0.1)"/><circle cx="600" cy="200" r="100" fill="rgba(255,255,255,0.05)"/></svg>') center/cover;
    opacity: 0.9;
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 8px;
    font-weight: 500;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.8;
}

.content-section {
    padding: 60px 0;
}

.content-section.bg-light {
    background: #f5f5f5;
}

/* 公司简介页面 */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.culture-item {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 8px;
}

.culture-item .icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.culture-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.timeline {
    max-width: 800px;
    margin: 40px auto 0;
}

.timeline-item {
    display: flex;
    gap: 30px;
    padding: 20px 0;
    border-left: 3px solid #c41230;
    padding-left: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -9px;
    top: 25px;
    width: 15px;
    height: 15px;
    background: #c41230;
    border-radius: 50%;
}

.timeline-item .year {
    font-size: 24px;
    font-weight: bold;
    color: #c41230;
    min-width: 80px;
}

.timeline-item .content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

/* 服务页面 */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-detail-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-detail-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.service-detail-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.service-detail-card p {
    color: #666;
    margin-bottom: 15px;
}

.service-detail-card ul {
    list-style: disc;
    padding-left: 20px;
}

.service-detail-card ul li {
    color: #666;
    margin-bottom: 5px;
}

.process-flow {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    margin: 40px auto 0;
}

.process-step {
    text-align: center;
    flex: 1;
}

.process-step .step-num {
    width: 60px;
    height: 60px;
    background: #c41230;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto 15px;
}

.process-step h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.process-step p {
    color: #666;
    font-size: 14px;
}

/* 资质页面 */
.qual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.qual-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.qual-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.qual-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.qual-card ul {
    text-align: left;
    list-style: none;
}

.qual-card ul li {
    padding: 5px 0;
    color: #666;
    border-bottom: 1px dashed #eee;
}

.cert-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.cert-item {
    text-align: center;
}

.cert-item p {
    margin-top: 15px;
    color: #666;
}

/* 案例页面 */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 40px;
}

.stat-box {
    text-align: center;
}

.stat-box .num {
    font-size: 48px;
    font-weight: bold;
    color: #c41230;
}

.stat-box .label {
    font-size: 18px;
    color: #666;
    margin-top: 10px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.case-header {
    background: #1e3a5f;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.case-header h3 {
    font-size: 18px;
}

.case-header .tag {
    background: #c41230;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
}

.case-body {
    padding: 20px;
}

.case-body p {
    margin-bottom: 10px;
    color: #666;
    line-height: 1.6;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.testimonial-card .quote {
    font-style: italic;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-card .author strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.testimonial-card .author span {
    color: #999;
    font-size: 14px;
}

/* 机构页面 */
.branch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.branch-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.branch-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #1e3a5f;
}

.branch-card .info p {
    color: #666;
    margin-bottom: 8px;
}

.region-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.region-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
}

.region-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1e3a5f;
}

.region-item p {
    color: #666;
}

/* 招聘页面 */
.job-list {
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.job-header {
    background: #1e3a5f;
    color: #fff;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-header h3 {
    font-size: 20px;
}

.job-header .location {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.job-body {
    padding: 30px;
}

.job-body p {
    margin-bottom: 10px;
    color: #333;
    font-weight: 500;
}

.job-body ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.job-body ul li {
    color: #666;
    margin-bottom: 5px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

.benefit-item .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.benefit-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.benefit-item p {
    color: #666;
}

.contact-info-box {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info-box p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* 国家补贴资金页面样式 */
.service-detail-card.highlight {
    border-top: 4px solid #c41230;
}

.fund-category {
    margin-bottom: 50px;
}

.fund-category h3 {
    margin-bottom: 25px;
}

.fund-category .tag {
    background: #1e3a5f;
    color: #fff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 18px;
}

.fund-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.fund-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #c41230;
}

.fund-item h4 {
    font-size: 16px;
    color: #1e3a5f;
    margin-bottom: 10px;
}

.fund-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.local-fund-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.local-fund-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.local-fund-item h4 {
    font-size: 20px;
    color: #1e3a5f;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #c41230;
}

.local-fund-item ul {
    list-style: disc;
    padding-left: 20px;
}

.local-fund-item li {
    color: #666;
    margin-bottom: 8px;
    font-size: 14px;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

.advantage-item .num {
    font-size: 36px;
    font-weight: bold;
    color: #c41230;
    margin-bottom: 15px;
}

.advantage-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}

.advantage-item p {
    color: #666;
    font-size: 14px;
}

/* 公司简介页面新增样式 */
.core-business-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.business-item {
    background: #fff;
    padding: 35px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.business-item .icon {
    font-size: 45px;
    margin-bottom: 20px;
}

.business-item h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #1e3a5f;
}

.business-item ul {
    text-align: left;
    list-style: none;
}

.business-item li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}

.business-item li:last-child {
    border-bottom: none;
}

.honor-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.honor-item {
    text-align: center;
    padding: 40px 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.honor-item .icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.honor-item p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* 响应式 */
@media (max-width: 768px) {
    .nav ul {
        display: none;
    }
    
    .link-grid,
    .service-grid,
    .stats-grid,
    .service-detail-grid,
    .qual-grid,
    .cert-showcase,
    .case-grid,
    .testimonial-grid,
    .branch-grid,
    .region-list,
    .benefits-grid,
    .culture-grid,
    .fund-grid,
    .local-fund-grid,
    .advantage-grid,
    .core-business-grid,
    .honor-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .process-flow {
        flex-direction: column;
        gap: 30px;
    }
    
    .stats-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
