.bannerimg{
    height: 600px;
}
.sylbsj{
    display: none;
}
/* 首页轮播 */
/* 全局重置，轮播图片 */
/* 1. 背景图片层 - 宽度铺满，高度固定600px */
.bg-container {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 600px;
    z-index: 0;
    overflow: hidden;
}
.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.05); /* 轻微放大，方便做视差或避免白边 */
}
.bg-slide.active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.8s ease-in-out, transform 6s ease-out;
}
/* 遮罩层，确保文字清晰可见 */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
    pointer-events: none; /* 让鼠标事件穿透遮罩 */
}
.owtitle{
    position: absolute;
    top: 26%;
    right: 100%;
    color: #ffffff;
    font-size: 2.2rem;
    width: 200%;
    text-align: right;
}
.owtitle img{
    width: 80px;
    height: 35px;
    float: right;
    padding-top: 10px;
}
/* 2. 中间文字交互层 */
.content-wrapper {
    position: relative;
    z-index: 10;
    max-width: 90%;
    top: 20%;
    left: 40%;
}
/* 文字视窗：固定高度，隐藏溢出 */
/* 5行 * 70px行高 = 350px */
.text-viewport {
    height: 350px; 
    overflow: hidden;
    position: relative;
    /* 上下渐变遮罩，让滚动进出更柔和 */
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
}
/* 文字轨道 */
.text-track {
    display: flex;
    flex-direction: column;
    will-change: transform;
}
/* 单行文字样式 */
.text-item {
    height: 70px;
    line-height: 70px;
    color: #a7a09f;
    font-size: 2.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
    border-radius: 8px;
    user-select: none;
    font-weight: normal; /* 默认不加粗 */
    text-align: left;
}
/* 悬停效果 */
.text-item:hover {
    color: #ffffff; /* 绿色高亮 */
    transform: scale(1.05);
    text-shadow: 0 0 10px white(74, 222, 128, 0.5);
}
/* 动态加粗类：用于标记当前视窗的第3行 */
.text-item.highlight-bold {
    font-weight: 800;
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}


/* 解决方案 */
.plan{
    margin-top: 100px;
}
.plan .plancontent{
    display:flex;
    flex-direction:column;
    justify-content:center;
    height: 100%;
}
.plan .row .title{
    font-size:3rem; 
    font-family: MontserratBold;
    font-weight:900;
}
.plan .row .description{
    font-family:'MontserratRegular';
    font-size:1rem;
    font-weight:400;
    margin:0;
    text-indent: 2em;
    line-height: 35px;
}
.plan .row .cta-container{
    margin-top:2.5rem;
    padding:1rem 0;
}
.plan .row .cta-link{
    padding-right:1rem;
    font-family:'MontserratSemiBold';
    font-size:.875rem;
    font-weight:500;
    padding:1rem;
    color:#fff;
    background-color:#c8102e;
    font-weight: 900;
    font-family: 'icomoon';
    content: '\e904';
    color: #fff;
    font-size:1rem;
}
.plan .row .image-container{
    display:flex;
    flex-direction:column;
    justify-content:center;
}
.plan .row .media-image{
    display:block;
    margin:0;
    max-width:28.125rem;
    width: 450px;
}
.plan .row .eyebrown-header{
    font-family:'MontserratSemiBold';
    font-size:1rem;
    font-weight:500;
    color:#c8102e;
}
.fa-arrow-right{
    font-size: 12px;
    margin-left: 5px;
}
/* 新闻中心 */
.latest-news {
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
}
.latest-news h1 {
    margin-bottom: 60px;
    font-size: 2.5rem;
}
.news-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* 卡片之间的间距 */
    margin: 0 auto;
}
/* 卡片容器基础样式 */
.news-card {
    background: white;
    width: 350px; /* 固定卡片宽度，或使用 flex-basis */
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: left;
    border: 1px solid #eee;
    overflow: visible; /* 允许小容器溢出显示 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    
}
.news-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 10; /* 悬停时提高层级，防止被相邻卡片遮挡 */
}
.news-card .card-content {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.news-card .newsimgtitle{
    width: 100%;
    height: 200px;
}
.news-card .text{
    padding: 20px;
    width: 350px;
}
.news-card .news-category{
    background: #c8102e;
    border-radius: 2px;
    font-size: 0.8rem;
    color: white;
    padding: 3px 5px;
}
.news-card .news-title {
    margin: 15px 0;
    font-size: 1rem;
}
.news-card .news-desc {
    font-size: 1rem;
    line-height: 1.4;
    text-indent: 2em;
    line-height: 35px;
}
.news-card .news-info{
    position: relative;
    width: 100%;
    height: 100px;
}
/* 隐藏的小容器（下拉菜单） */
.news-card .sub-menu {
    position: absolute;
    top: 20px;
    right: -10px;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    
    /* 初始状态 */
    height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    background: #c8102e;
}
.news-card .menu-item {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s, color 0.2s;
}
.news-card .menu-item:last-child {
    border-bottom: none;
}
.news-card .menu-item:hover {
    background-color: #d63e58;
    color: white;
}
/* 多放一个小容器用于撑开大容器 */
.news-card .company-info .sub-menu{
    position: unset;
    background: none;
    box-shadow: none;
}

/* 资质证书轮播 */
.zizhilb{
    position: relative;
    margin-top: 30px;
}
.carousel-container {
    max-width: 1200px;
    margin: 30px auto;
    overflow: hidden; /* 隐藏溢出部分 */
    border-radius: 16px;
    background: white;
}
/* 轨道 */
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}
/* 单个卡片项 - 固定宽度为容器的1/3 */
.zizhi-item {
    flex: 0 0 33.3333%;
    box-sizing: border-box;
    padding: 10px;
}
.card-inner {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.card-img {
    width: 100%;
    height: 85%;
    max-height: 500px;
    object-fit: cover;
    display: block;
}
.card-content {
    padding: 20px;
}
/* 控制按钮区域 - 右上角 */
.controls-area {
    position: absolute;
    top: 75px;
    right: 20px;
    z-index: 20;
    display: flex;
    gap: 10px;
}
.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0,0,0,0.05);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.control-btn:hover {
    background: #2563eb;
    color: white;
    transform: scale(1.1);
}
.control-btn:active {
    transform: scale(0.95);
}
/* 标题装饰 */
.header-decoration {
    text-align: center;
    margin-bottom: 40px;
}
.header-decoration h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}
.zizhilb .zizhi-title{
    margin-bottom: 1.5rem;
}
.zizhilb .zizhi-summary{
    text-indent: 2em;
}