/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft Yahei", sans-serif;
    color: #333;
    background: #f7f9fc;
    line-height: 1.7;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.container, .main-container {
    width: 1200px;
    margin: 0 auto;
    padding: 70px 20px;
}
.block-title {
    font-size: 34px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 12px;
    color: #0f3460;
}
.block-subtitle {
    text-align: center;
    font-size: 17px;
    color: #777;
    margin-bottom: 45px;
}

/* ========== 顶部导航 ========== */
.top-header {
    background: #0f3460;
    color: #fff;
    padding: 0 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}
.header-wrap {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 78px;
}
.brand-logo a {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}
.nav-list {
    display: flex;
    gap: 40px;
}
.nav-link {
    font-size: 16px;
    padding: 10px 0;
    position: relative;
    transition: all 0.3s ease;
}
.nav-item.active .nav-link {
    color: #ffd369;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background: #ffd369;
    transition: 0.3s;
}
.nav-item.active .nav-link::after,
.nav-link:hover::after {
    width: 100%;
}
.nav-link:hover {
    color: #ffd369;
}

/* ========== 内页/首页Banner 全新渐变风格 ========== */
.banner {
    width: 100%;
    height: 440px;
    background: linear-gradient(160deg, #16213e 0%, #1a508b 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.banner::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}
.banner > * {
    z-index: 2;
}
.banner h1,
.banner .banner-main-title {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 600;
}
.banner p {
    font-size: 20px;
    opacity: 0.92;
    line-height: 2;
}

/* ========== 首页四大服务卡片 ========== */
.service-flex {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.service-card-item {
    background: #fff;
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(15, 52, 96, 0.08);
    transition: all 0.3s ease;
}
.service-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(15, 52, 96, 0.15);
}
.card-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 22px;
    background: #f0f6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.service-card-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #0f3460;
}
.service-card-item p {
    color: #666;
    font-size: 15px;
}

/* ========== 数据统计栏 新样式 ========== */
.data-stat-bar {
    background: linear-gradient(90deg, #0f3460, #16213e);
    color: #fff;
    padding: 60px 0;
}
.data-inner-wrap {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    text-align: center;
}
.stat-item .num {
    display: block;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffd369;
}
.stat-item .desc {
    font-size: 17px;
    opacity: 0.9;
}

/* ========== 三列通用卡片（优势/FAQ） ========== */
.three-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 45px;
}
.adv-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
    transition: 0.3s;
}
.adv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 35px rgba(15, 52, 96, 0.12);
}
.card-img-box {
    width: 100%;
    height: 210px;
}
.card-text-box {
    padding: 26px;
}
.card-text-box h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #0f3460;
}
.card-text-box p {
    font-size: 15px;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.more-btn-wrap {
    text-align: center;
}
.look-more {
    padding: 14px 42px;
    background: #0f3460;
    color: #fff;
    font-size: 17px;
    border-radius: 50px;
    transition: 0.3s;
}
.look-more:hover {
    background: #1a508b;
}

/* ========== 底部行动按钮板块 ========== */
.action-banner {
    background: linear-gradient(120deg, #1a508b, #0f3460);
    padding: 65px 0;
    color: #fff;
    margin-top: 20px;
}
.action-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.action-text h2,
.action-text .action-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}
.action-text p {
    font-size: 18px;
    opacity: 0.9;
}
.action-btns {
    display: flex;
    gap: 24px;
}
.btn-reg {
    display: inline-block;
    padding: 16px 40px;
    background: #ffd369;
    color: #0f3460;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s;
}
.btn-reg:hover {
    background: #fff;
}
.btn-get {
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    transition: 0.3s;
}
.btn-get:hover {
    background: #fff;
    color: #0f3460;
}

/* ========== 面包屑导航 ========== */
.breadcrumb-wrap {
    background: #ffffff;
    padding: 18px 0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}
.breadcrumb {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 15px;
    color: #777;
}
.breadcrumb a {
    color: #0f3460;
}
.breadcrumb a:hover {
    color: #1a508b;
}

/* ========== 二级子栏目导航 ========== */
.sub-nav-wrap {
    width: 1200px;
    margin: 0 auto;
    padding: 45px 20px 20px;
}
.sub-nav-box {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.sub-nav-box a {
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 16px;
    transition: 0.3s;
}
.sub-nav-box a.btn-info {
    background: #0f3460;
    color: #fff;
}
.sub-nav-box a.btn-light {
    background: #fff;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.sub-nav-box a:hover {
    background: #1a508b;
    color: #fff;
}
.sub-nav-box .badge {
    margin-left: 10px;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 12px;
}

/* ========== 新闻列表通用样式 ========== */
.news-list-section {
    padding: 30px 0 70px;
}
.news-item {
    padding: 28px;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 16px;
    display: flex;
    gap: 28px;
    align-items: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.news-item:hover {
    box-shadow: 0 8px 26px rgba(15, 52, 96, 0.1);
}
.news-item-img img {
    width: 160px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
}
.news-item-text {
    flex: 1;
}
.news-item-text h2 a {
    color: #0f3460;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
}
.news-item-text h2 a:hover {
    color: #1a508b;
}
.news-info {
    font-size: 14px;
    color: #999;
    margin: 12px 0;
}
.news-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

/* ========== 分页样式 ========== */
.page-box {
    margin-top: 55px;
    text-align: center;
}
.page-box a,
.page-box span {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid #dde3ec;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: 0.25s;
}
.page-box a:hover {
    background: #0f3460;
    color: #fff;
    border-color: #0f3460;
}
.page-box span.current {
    background: #0f3460;
    color: #fff;
    border-color: #0f3460;
}

/* ========== 文章详情上下篇 ========== */
.to_prev, .to_next {
    display: block;
    margin-top: 20px;
    padding: 14px 0;
    font-size: 16px;
    color: #333;
}
.to_prev {
    border-bottom: 1px dashed #dde3ec;
}
.to_prev a, .to_next a {
    color: #1a508b;
}

/* ========== 单页/详情内容独有 ========== */
.single-content-box h1, .detail-title {
    font-size: 34px;
    color: #0f3460;
    margin-bottom: 24px;
    text-align: center;
}
.content-body, .detail-body {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.06);
}
.content-body img, .detail-body img {
    max-width: 100%;
    margin: 20px auto;
    display: block;
    border-radius: 12px;
}

/* ========== 底部Footer样式 ========== */
footer {
    background-color: #16213e;
    color: #cccccc;
    padding: 65px 0 25px;
}
.footer-inner {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding: 0 20px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
}
.footer-col h4::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: #ffd369;
    margin-top: 10px;
}
.footer-col p {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 10px;
}
.link-box {
    font-size: 15px;
    line-height: 2;
}
.link-box a {
    margin: 0 10px;
    transition: 0.25s ease;
}
.link-box a:hover {
    color: #ffd369 !important;
}
.copyright {
    width: 1200px;
    margin: 0 auto;
    padding-top: 25px;
    border-top: 1px solid #2c3b61;
    text-align: center;
    font-size: 14px;
    color: #999999;
}
.copyright span {
    display: inline-block;
    margin: 0 15px;
}

/* ========== 移动端响应式 ========== */
@media screen and (max-width: 1200px) {
    .container, .main-container, .header-wrap, .breadcrumb, .sub-nav-wrap, .data-inner-wrap, .footer-inner, .copyright {
        width: 96%;
    }
}
@media screen and (max-width: 992px) {
    .service-flex {
        grid-template-columns: repeat(2, 1fr);
    }
    .three-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .data-inner-wrap {
        flex-wrap: wrap;
        gap: 35px;
    }
    .stat-item {
        width: 45%;
    }
    .action-inner {
        flex-direction: column;
        text-align: center;
    }
    .action-btns {
        flex-wrap: wrap;
        justify-content: center;
    }
}
@media screen and (max-width: 768px) {
    .header-wrap {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
        gap:20px;
    }
    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 22px;
    }
    .banner h1 {
        font-size: 34px;
    }
    .service-flex, .three-card-grid {
        grid-template-columns: 1fr;
    }
    .stat-item {
        width: 100%;
    }
    .news-item {
        flex-direction: column;
        text-align: center;
    }
    .news-item-img img {
        width: 100%;
        height: auto;
    }
    .footer-inner {
        flex-direction: column;
        gap: 35px;
    }
    .copyright span {
        display: block;
        margin: 8px 0;
    }
}
