* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
ul { list-style: none; }
img { width: 100%; height: auto; display: block; object-fit: cover; }

/* --- 2. 动画类 --- */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

html {
    scroll-behavior: smooth; /* 全局滚动平滑 */
}

/* 第一步：引入阿里巴巴普惠体 CDN */
@font-face {
  font-family: 'Alibaba PuHuiTi';
  src: url('https://cdn.staticfile.org/alibabapuhuiti/2.0/Alibaba-PuHuiTi-2-Regular.woff2') format('woff2'),
       url('https://cdn.staticfile.org/alibabapuhuiti/2.0/Alibaba-PuHuiTi-2-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap; /* 优化加载体验 */
}

/* 第二步：应用到 body */
body {
    font-family: 'Alibaba PuHuiTi', -apple-system, BlinkMacSystemFont,-apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", 
               "Microsoft YaHei UI", "Microsoft YaHei", "Source Han Sans CN", 
               "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #ffffff;
}
.cnmactive a{
    color: #eff4ff !important;
    font-weight: bold;
    font-size: 17px;
}
/* 导航栏容器 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* 初始高度较大，显得大气 */
    height: 90px; 
/*    background-color: rgba(255, 255, 255, 1);*/
    backdrop-filter: blur(15px); /* 毛玻璃效果，现代感核心 */
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* 丝滑过渡 */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 滚动后的导航栏状态 */
.navbar.scrolled {
    height: 70px;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}
.scrolled .nav-link{
    color: #000!important;
}
.scrolled .logo>a{
    color: #171d7e!important;
}
.container {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo 样式 */
.logo a {
    text-decoration: none;
    color: #fff; /* 集团蓝 */
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    transition: all 0.5s;
}

.logo span {
    font-weight: 300;
    color: #bbbbbb;
}

.logo-icon {
    background-size: 100%;
    background-repeat: no-repeat;
    width: 52px;
    height: 52px;
    background-color: #003399;
    margin-right: 12px;
    display: inline-block;
    border-radius: 2px;
    transform: rotate(45deg); /* 旋转一点增加设计感 */
}

/* 导航菜单 */
.nav-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 45px;
    margin-right: 60px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 10px 0;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover, .nav-link.active {
    color: #003399;
    font-weight: bold;
}

/* 动态下划线效果 */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #003399;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* 二级菜单 (Dropdown) */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 15px 0;
    border-radius: 4px;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-list {
    list-style: none;
}

.dropdown-list a {
    text-decoration: none;
    color: #666666!important;
    display: block;
    padding: 12px 30px;
    font-size: 14px;
    transition: all 0.3s;
}

.dropdown-list a:hover {
    background-color: #f8f9ff;
    color: #003399;
    padding-left: 35px; /* 悬浮时的位移微动 */
}

/* 右侧辅助 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.lang-switch {
    text-decoration: none;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 10px;
    border: 1px solid #eeeeee;
    border-radius: 20px;
    transition: all 0.3s;
}

.lang-switch:hover {
    border-color: #003399;
    color: #003399;
}

.search-btn {
    cursor: pointer;
    font-size: 18px;
    transition: transform 0.3s;
}

.search-btn:hover {
    transform: scale(1.1);
}

/* --- 响应式设计 (移动端) --- */
.menu-toggle { display: none; }
.hamburger { display: none; }

@media (max-width: 1024px) {
    .nav-links { gap: 20px; margin-right: 20px; }
}

@media (max-width: 768px) {
    .logo a{
        font-size: 19px;
    }
    .navbar { height: 70px; }
    .hamburger {
        display: block;
        cursor: pointer;
        z-index: 1001;
    }
    .hamburger span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: #003399;
        margin: 6px 0;
        transition: 0.4s;
    }
    .nav-content {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        transition: 0.6s cubic-bezier(0.77,0.2,0.05,1.0);
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-right: 0;
    }
    .nav-link {
        padding: 20px 40px;
        font-size: 18px;
        border-bottom: 1px solid #f5f5f5;
    }
    #menu-toggle:checked ~ .nav-content { right: 0; }
    #menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(8px) rotate(-45deg); }
    #menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    #menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-8px) rotate(45deg); }
}



/*底部*/
/* 页脚基础样式 */
.footer {
    background-color: #0f1218; /* 深灰黑色，显高端 */
    color: #13142f;
    padding: 60px 0 0 0;
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.footer-container {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1fr; /* 四列不等宽布局 */
    gap: 50px;
    padding-bottom: 60px;
}

/* 品牌区 */
.footer-logo {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.footer-logo span {
    font-weight: 300;
    color: #666666;
}

.footer-logo-icon {
    width: 24px;
    height: 24px;
    border-radius: 2px;
}

.footer-desc {
    color: #999999;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* 链接与标题 */
.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: #003399;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #999999;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 8px;
}

/* 联系信息 */
.contact-info p {
    color: #999999;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info p span {
    color: #cccccc;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.tel-link {
    color: #c7c7c7 !important;
    font-size: 18px !important;
    font-weight: 700;
    text-decoration: none;
}

/* 二维码区 */
.qr-code-wrapper {
    text-align: left;
}

.qr-code {
    width: 200px;
    height: 200px;
    background-color: #ffffff;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.qr-code img {
    width: 100%;
    height: 100%;
    filter: grayscale(100%); /* 初始灰色，显统一 */
    transition: all 0.4s;
}

.qr-code:hover img {
    filter: grayscale(0%);
}

.qr-code-wrapper p {
    color: #666666;
    font-size: 12px;
}

/* 底部版权 */
.footer-bottom {
    background-color: #111111;
    padding: 12px 0;
    border-top: 1px solid #222222;
}

.footer-bottom-content {
    max-width: 1400px;
    width: 92%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666666;
    font-size: 13px;
}

.footer-legal a {
    color: #666666;
    text-decoration: none;
    margin-left: 25px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #999999;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer{
        display: none;   
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-logo {
        justify-content: center;
    }
    .qr-code {
        margin: 0 auto 15px;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
    .footer-legal a {
        margin: 0 10px;
    }

    
}


  /* ================= Header / Hero Section ================= */
      /* 基础样式 - 适配桌面端 */
.sc-hero-section {
    background-color: #002366;
    color: #fff;
    padding: 160px 20px 100px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 86, 179, 0.9), rgba(0, 86, 179, 0.4));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.sc-hero-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.sc-hero-subtitle {
    font-size: 16px;
    color: #e9e6e6;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Stats Bar */
.sc-stats-bar {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.sc-stat-item { text-align: center; }
.sc-stat-num { font-size: 36px; font-weight: 700; color: #4dabf7; display: block; margin-bottom: 5px; }
.sc-stat-label { font-size: 13px; color: #ccc; text-transform: uppercase; letter-spacing: 1px; }

/* 响应式适配 - 平板设备 (最大宽度 992px) */
@media (max-width: 992px) {
    .sc-hero-section {
        padding: 120px 20px 80px; /* 减少上下内边距 */
    }
    .sc-hero-title {
        font-size: 36px; /* 缩小标题字体 */
        letter-spacing: 1.5px;
    }
    .sc-stats-bar {
        gap: 40px; /* 减少统计项间距 */
    }
    .sc-stat-num {
        font-size: 32px; /* 缩小统计数字字体 */
    }
}

/* 响应式适配 - 大屏手机 (最大宽度 768px) */
@media (max-width: 768px) {
    .sc-hero-section {
        padding: 100px 20px 70px;
    }
    .sc-hero-title {
        font-size: 30px;
        letter-spacing: 1px;
    }
    .sc-hero-subtitle {
        font-size: 15px;
        max-width: 90%; /* 让副标题占更多宽度 */
        margin-bottom: 40px;
    }
    .sc-stats-bar {
        gap: 30px;
        padding-top: 30px;
    }
    .sc-stat-num {
        font-size: 28px;
    }
    .sc-stat-label {
        font-size: 12px;
    }

        /* ================= Filter Section ================= */
    /* 工具栏*/
    #toolbar{
        display: block!important;
    }
    #toolbar .shuangchagn_footericon{
        background: url(../images/icon.png) no-repeat;
        display: inline-block;
        background-size: 40px auto;
        vertical-align: middle;
    }
    #toolbar {
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 888;
        height: 55px; /* 原45px，增加10px */
        left: 0;
    }
    #toolbar .list {
        width: 100%;
        max-width: 640px;
        min-width: 320px;
        margin: 0 auto;
        background: #548fce;
    }
    #toolbar .list li {
        float: left;
        width: 25%;
        text-align: center;
        /*border-left: 1px solid #015e5a;*/
        border-right: 1px solid #aec4dc;
        background: #092880;
    }
    #toolbar .list li:first-child {
        border-left: none;
    }
    #toolbar .list li:last-child {
        border-right: none;
    }
    #toolbar .list a {
        display: block;
        height: 55px; /* 原54px，对应工具栏高度调整 */
        line-height: 16px; /* 原10.8px，增大行高 */
        font-size: 12px; /* 原9.9px，增大字体 */
        color: #fff;
        padding-top: 8px; /* 原6.75px，增加内边距 */
    }
    #toolbar .list a.hover {
        background: #548fce;
    }
    #toolbar .list a s {
        margin-left: auto;
        margin-right: auto;
        width: 22px; /* 原18.9px，增大图标容器 */
        height: 24px; /* 原20.7px，增大图标容器 */
        display: block;
        background-size: 225px auto;
    }
    #toolbar .list a span {
        text-align: center;
        line-height: 18px; /* 原15.75px，增大行高 */
        display: block;
        font-size: 16px; /* 原15px，增大文字 */
    }
    #toolbar .list a .too-home {
        background-position: 1.35px 0;
    }
    #toolbar .list a .too-news {
        background-position: -72px 0;
    }
    #toolbar .list a .too-cp {
        background-position: -34.36px 0;
    }
    #toolbar .list a .too-tel {
        background-position: -106.2px 0;
    }
    .xbg {
        width: 100%;
        display: block;
        position: fixed;
        height: 55px; /* 原47.25px，对应工具栏高度调整 */
        left: 0;
        bottom: 0;
        background: #fff;
        z-index: 880;
    }
    #toolbar .list a s span {
        color: #fff;
        padding-top: 2px; /* 原0.405px，增大内边距 */
        text-transform: initial;
        font-style: normal;
    }

}

/* 响应式适配 - 小屏手机 (最大宽度 576px) */
@media (max-width: 576px) {
    .sc-hero-section {
        padding: 120px 15px 60px; /* 进一步减少内边距 */
        background-attachment: scroll; /* 取消背景固定，避免移动端显示异常 */
    }
    .sc-hero-title {
        font-size: 24px; /* 手机端标题字体 */
        margin-bottom: 10px;
    }
    .sc-hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .sc-stats-bar {
        gap: 20px 40px; /* 行内间距20px，行间距40px（flex-wrap换行后） */
        padding-top: 25px;
    }
    .sc-stat-item {
        flex: 0 0 calc(50% - 20px); /* 小屏每行显示2个统计项 */
        margin-bottom: 15px;
    }
    .sc-stat-num {
        font-size: 24px;
    }
    .sc-stat-label {
        font-size: 11px;
        letter-spacing: 0.5px;
    }
}
