@charset "UTF-8";
/* 主样式文件 */
body {
    font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #2E3033;
    background-color: #fff;
}
/* 导航栏样式 */
header {
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, box-shadow 0.3s;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
}

header .container {
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    height: 100px;
}
/* 导航栏样式 LOGO */
.logo-container {
    position: absolute;
    top: 26px;
    left: 266px;
    display: flex;
    align-items: center;
}

.logo, .footer-logo {
    display: flex;
    align-items: center;
    gap: 12px; /* 图片和文字间距 */
}

.logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.logo-text, .footer-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text h1 {
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
    color: #2E3033;
}

.logo-text p {
    font-weight: 500;
    font-size: 12px;
    color: #2E3033;
    text-align: left;
    font-style: normal;
}

 /* 导航栏 导航名称 */
nav {
    position: absolute;
    top: 38px;
    left: 711px;
}

nav ul {
    display: flex;
    height: 24px;
    align-items: center;
}

nav ul li {
    display: flex;
    align-items: center;
    height: 24px;
}

nav ul li a {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #2E3033;
    transition: color 0.3s;
    position: relative;
    padding: 8px 0;
}

nav ul li a:hover, 
nav ul li.active a {
    color: #DF0100;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #DF0100;
    transition: width 0.3s;
}

nav ul li a:hover:after,
nav ul li.active a:after {
    width: 100%;
}
 /* 导航栏分隔符样式 */
.nav-separator {
    color: #CDCDCD;
    margin: 0 24px;
    font-weight: normal;
}
nav ul li:last-child .nav-separator {
    display: none;
}


/* 通用标题与横幅组合结构 */
.col-banner {
    width: 100%;
    position: relative;
}
.col-banner .section-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;     
}

.col-banner .section-header {
    max-width: 1200px;
    margin: 80px auto 60px;
}


.col-banner .section-banner img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.col-banner .section-header h2 {
    font-size: 30px;
    font-weight: 700;
    color: #2E3033;
    letter-spacing: 1.2px;
    line-height: 44px;
}
.col-banner .section-header p {
    font-size: 30px;
    font-weight: 400;
    color: #737980;
    letter-spacing: 1.2px;
    line-height: 44px;
}
/* 内容样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 80px;
}

/* 页脚 */
footer {
    width: 100%;
    max-width: 1920px;
    height: 336px;
    background: #980211;
    margin: 0 auto;
    overflow: hidden;
}

/* 确保.footer-top是flex容器，但不设置整体垂直居中 */
.footer-top {
    display: flex;
    flex-direction: row;
    align-items: flex-start; /* 恢复为顶部对齐 */
    height: 336px;
    width: 100%;
    box-sizing: border-box;
}

/* logo导航区域保持顶部对齐 */
.footer-logo-nav {
    display: flex;
    flex-direction: column;
    margin-left: 360px;
    margin-top: 63px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    gap: 12px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo-text h3 {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
}

.footer-logo-text p {
    font-size: 12px;
    color: #fff;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    width: 330px; /* 控制总宽度 */
    margin-left: 30px;
}

.footer-nav li {
    width: calc(50% - 30px); /* 50%宽度减去间距的一半 */
    margin-bottom: 12px;
}

/* 左列项目（偶数项） */
.footer-nav li:nth-child(odd) {
    margin-right: 60px; /* 设置列间距为60px */
}

.footer-nav li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    white-space: nowrap;
    display: block;
}

/* 只将公司信息部分垂直居中 */
.footer-info {
    position: relative;
    margin-top: 0; /* 移除顶部边距 */
    margin-left: 80px;
    padding-left: 80px;
    align-self: center; /* 仅此元素在父容器中竖直居中 */
    
    /* 内部排列为两列 */
    display: flex;
    flex-wrap: wrap;
    width: 460px;
}

.footer-info::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%; /* 竖线居中 */
    transform: translateY(-50%); /* 竖线居中调整 */
    width: 1px;
    height: 200px;
    background-color: #C04E58;
}

.info-item {
    width: 50%;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.info-item h4 {
    font-size: 14px;
    color: #B9C3CD;
    margin: 0 0 4px 0;
    font-weight: normal;
}

.info-item p {
    font-size: 14px;
    color: #fff;
    margin: 0;
}

/* 版权区域也垂直居中 */
.footer-copyright {
    position: relative;
    margin-left: 80px;
    padding-left: 80px;
    align-self: center; /* 实现垂直居中 */
}

.footer-copyright::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%; /* 竖线居中 */
    transform: translateY(-50%); /* 竖线调整 */
    width: 1px;
    height: 200px;
    background-color: #C04E58;
}

/* 调整行间距 */
.footer-copyright p {
    font-size: 14px;
    color: #fff;
    margin: 0 0 8px 0; /* 默认行间距 */
}

/* 第一行下方增加间距 */
.footer-copyright p:first-child {
    margin-bottom: 20px;
}

/* 中间两行紧凑排列 */
.footer-copyright p:nth-child(2),
.footer-copyright p:nth-child(3) {
    margin-bottom: 4px; /* 减小行间距 */
}

/* 第三行与安全信息之间增加间距 */
.footer-copyright p:nth-child(3) {
    margin-bottom: 20px;
}

.footer-copyright .security-info {
    display: flex;
    align-items: center;
}

.footer-copyright .security-info img {
    height: 16px;
    margin-right: 8px;
}

/* 回到顶部按钮 */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #DF0100;
    color: #fff;
    border-radius: 4px;
    text-align: center;
    line-height: 40px;
    display: none;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

#back-to-top:hover {
    background-color: #c50100;
}

.icon-up:before {
    content: "↑";
    font-size: 20px;
}

/* 分页 */
ul.pagination {
    width: 100%;
    height: auto;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
}

.pagination li {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #fff;
    margin: 0px 3px;
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.pagination li a {
    display: block;
    width: 40px;
    height: 40px;
}

.pagination li.active, .pagination li:hover {
    color: #ffffff;
    background-color: #DF0100;
    border-color: #DF0100;
}