.section_bg {
    padding: 30px 93px 30px 30%;
    position: relative;
    z-index: 1;
    border-radius: 12px;
    background: url(../picture/logo.png) rgb(218 218 218 / 30%) 50px center / cover no-repeat;
    background-size: 200px 89px;
    margin-top: 50px;
}

.section_bg p {
    padding: 10px 0;
}

.section_bg p:nth-child(2) {
    font-size: 1.5rem;
    color: #555;
}

.ys-ban-title h1 {
    text-align: center;
}


/* 逐字出现动画核心样式 */
.ys-ban-title {
    /*display: inline-block;*/
}

.ys-ban-title .char {
    display: inline-block;
    opacity: 0;
    animation: charFadeIn 0.5s forwards;
}

/* 为每个字符设置延迟 */
.ys-ban-title .char:nth-child(1) {
    animation-delay: 0.1s;
}

.ys-ban-title .char:nth-child(2) {
    animation-delay: 0.2s;
}

.ys-ban-title .char:nth-child(3) {
    animation-delay: 0.3s;
}

.ys-ban-title .char:nth-child(4) {
    animation-delay: 0.4s;
}

.ys-ban-title .char:nth-child(5) {
    animation-delay: 0.5s;
}

.ys-ban-title .char:nth-child(6) {
    animation-delay: 0.6s;
}

.ys-ban-title .char:nth-child(7) {
    animation-delay: 0.7s;
}

.ys-ban-title .char:nth-child(8) {
    animation-delay: 0.8s;
}

.ys-ban-title .char:nth-child(9) {
    animation-delay: 0.9s;
}

.ys-ban-title .char:nth-child(10) {
    animation-delay: 1.0s;
}

.ys-ban-title .char:nth-child(11) {
    animation-delay: 1.1s;
}

.ys-ban-title .char:nth-child(12) {
    animation-delay: 1.2s;
}

.ys-ban-title .char:nth-child(13) {
    animation-delay: 1.3s;
}

.ys-ban-title .char:nth-child(14) {
    animation-delay: 1.4s;
}

.ys-ban-title .char:nth-child(15) {
    animation-delay: 1.5s;
}

.home-cust-top .std-text2 {
    text-align: center;
    margin-bottom: 8px;
    margin-top: 8px;
    font-size: 20px;
}

.home-cust-top-cont {
    border-top: 1px solid #CDCBC8;
    border-bottom: 1px solid #CDCBC8;
}

.home-cust-top-ul {
    display: flex;
    justify-content: flex-start;
    margin: 0 -15px;
    padding: 40px 0;
    flex-wrap: wrap;
}

.home-cust-top-li {
    width: 14.28%;
}

.ys-imgbox-contain img,
.ys-imgbox-cover img {
    width: 100%;
    transition: all .36s ease;
}

.ys-imgbox-cover img:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

@keyframes charFadeIn {
    to {
        opacity: 1;
    }
}

.container {
    /*max-width: 1200px;*/
    margin: 0 auto;
    /*background: white;*/
    /*border-radius: 12px;*/
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);*/
    overflow: hidden;
}

.header {
    /* background: #0078d4; */
    color: white;
    padding: 20px 0px;
}

.header h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

/* 标签页样式优化 */
.series-tabs {
    display: flex;
    justify-content: flex-start;
    /* 居左显示 */
    gap: 20px;
    /* 去除间隔 */
    flex-wrap: wrap;
    margin-top: 10px;
    background: #ddeff2;
    border-radius: 30px;
    padding: 8px;
    width: fit-content;
}

.tab,
.tab_hangye {
    padding: 12px 30px;
    color: #333;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border-radius: 28px;
    background: transparent;
    /* 去除背景色 */
    position: relative;
    min-width: 110px;
    text-align: center;
}

.tab:hover,
.tab_hangye:hover {
    color: var(--colormain);
    background: rgba(255, 255, 255, 0.1);
}

.tab.active,
.tab_hangye.active {
    color: #fff;
    /* 绿色字体 */
    background: var(--colormain);
    ;
    font-weight: 600;
}

/* 选中状态的绿色左侧边框 */
.tab::before {
    /*content: '';*/
    /*position: absolute;*/
    /*left: 0;*/
    /*top: 8px;*/
    /*bottom: 8px;*/
    /*width: 4px;*/
    /*background-color: var(--colormain);*/
}

.product-section,
.hangye-section {
    margin-top: 10px;
    display: none;
    padding: 25px 0;
}

.product-section.active,
.hangye-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.section-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* 卡片之间的间距，可自行修改 */
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    
    
    /* 核心：无论多少个，每个都占 1/3 宽度 */
  flex: 0 0 calc(33.333% - 14px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.product-content {
    padding: 20px;
}
.product-content .hacc-ul-li-btn {
    padding: 20px 0;
}
.product-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-desc {
    color: #666;
    font-size: 1.0rem;
    line-height: 1.6;
    margin-bottom: 20px;
    max-height: 2.8em;
    line-height: 1.4;
    overflow: hidden;

}

.product-btn {
    display: flex;
    align-items: center;
    padding: 14px 38px;
    border-radius: 30px;
    transition: all .4s;
    position: relative;
    background: var(--colormain);
    overflow: hidden;
}

.product-btn:hover {
    background: #005a9e;
}

/**********行业头部解决方案************/
.hangye-grid {
    /*display: flex;*/
    /*grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));*/
    /*gap: 25px;*/
    /*align-items: center;*/
    /*justify-content: center;*/
}

.hangye-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    /* box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08); */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* border: 1px solid #f0f0f0; */
    padding: 20px;
}



.hangye-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hangye-img {
    width: 50%;
    height: auto;
    object-fit: cover;
    display: block;
}

/****数斯文化100%真实案例****/
.home-case {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.case-container {
  position: relative;
  width: 100%;
  max-width: 100vw;
}

.card-slider {
  position: relative;
  width: 100%;
  overflow: visible;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px 0 60px;
}

.card-track-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.card-track {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
  padding: 10px 0;
  justify-content: flex-start;
  left: 0;
}
.card-track::-webkit-scrollbar {
  display: none;
}

.case-slider-controls {
  position: relative;
  display: flex;
  gap: 25px;
  z-index: 999;
  transition: all 0.4s ease;
  pointer-events: auto;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
}

/* 卡片基础样式 */
.card {
  width: 1200px;
  height: 600px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  scroll-snap-align: center;
}

/* 进度条 */
.progress-container-index {
  margin-bottom: 25px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.card.active .progress-container-index {
  opacity: 1 !important;
}

.progress-container-index .progress-bar {
  width: 100%;
  height: 4px;
  background: #e0e0e0;
  overflow: hidden;
}
.progress-container-index .progress-bar-fill {
  height: 100%;
  width: 0%;
  transition: width 0.6s ease;
  background: #2b6e46;
}

/* 6张卡片进度条 */
.card[data-index="0"] .progress-container-index .progress-bar-fill { width: 16%; }
.card[data-index="1"] .progress-container-index .progress-bar-fill { width: 32%; }
.card[data-index="2"] .progress-container-index .progress-bar-fill { width: 48%; }
.card[data-index="3"] .progress-container-index .progress-bar-fill { width: 64%; }
.card[data-index="4"] .progress-container-index .progress-bar-fill { width: 76%; }
.card[data-index="5"] .progress-container-index .progress-bar-fill { width: 100%; }

.card.prev { opacity: 0.85; z-index: 3; transform: scale(0.95); cursor: pointer; }
.card.active { opacity: 1; z-index: 4; transform: scale(1); }
.card.next { opacity: 0.85; z-index: 3; transform: scale(0.95); filter: brightness(0.95); cursor: pointer; }
.card.hidden { opacity: 0; visibility: hidden; position: absolute; z-index: 1; transform: scale(0); pointer-events: none; }

.card.prev:hover, .card.next:hover {
  opacity: 0.95; transform: scale(0.97); filter: brightness(1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1); z-index: 5;
}

/* 卡片内部 —— PC端：左右布局 */
.card-inner {
  display: flex;
  height: 100%;
  width: 100%;
  background: #fff;
}
.card-content {
  flex: 0.5;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
.card-title {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.3;
}
.card-desc {
  font-size: 16px;
  line-height: 1.5;
  color: #5a6c7d;
  margin-bottom: 10px;
}
.case_detail_btn {
  width: 180px;
  margin-top: 20px;
}

/* 按钮样式 */
.card-btn {
  width: 45px;
  height: 45px;
  background: #f8f9fa;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid var(--colormain);
}
.card-next-btn {
  background: url(../image/arrow_r.png) #fff center / 14px no-repeat;
}
.card-next-btn:hover {
  background: url(../image/arrow_r_white.png) var(--colormain) center / 14px no-repeat;
}
.card-prev-btn {
  background: url(../image/arrow_l.png) #fff center / 14px no-repeat;
}
.card-prev-btn:hover {
  background: url(../image/arrow_l_white.png) var(--colormain) center / 14px no-repeat;
}

/* 图片 */
.card-image {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.card-image::before {
  content: '';
  position: absolute;
  top:0;left:0;right:0;bottom:0;
  background: linear-gradient(135deg, rgba(52,152,219,0.1), rgba(46,204,113,0.1));
  z-index: 1;
  pointer-events: none;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.card.active .card-image img {
  transform: scale(1.05);
}

/* ====================== 响应式优化 ====================== */
/* PC大屏幕保持原样 */
@media (min-width: 993px) {
  .card-inner { flex-direction: row; }
}

/* 平板 & 手机 —— 自动改为：文字在上，图片在下 */
@media (max-width: 992px) {
  .card-inner {
    flex-direction: column; /* 上下布局 */
    height: auto !important;
    min-height: unset;
  }
  .card-content {
    flex: none;
    width: 100%;
    padding: 25px;
    justify-content: flex-start;
  }
  .card-image {
    flex: none;
    width: 100%;
    height: 220px; /* 移动端图片高度 */
  }
  .card {
    width: 90%;
    max-width: 450px;
    height: auto !important;
    min-height: unset;
  }
  .card-title { font-size: 22px; margin-bottom: 12px; }
  .card-desc { font-size: 14px; margin-bottom: 8px; }
  .case_detail_btn { margin-top: 15px; width: 150px; }
}

@media (max-width: 768px) {
  .card { max-width: 380px; }
  .card-image { height: 200px; }
  .card-content { padding: 20px; }
  .hangye-img {
        width: 90%;
  }
}

@media (max-width: 576px) {
  .card { max-width: 320px; }
  .card-image { height: 180px; }
}
/****案数斯文化100%真实例  end ******/

/* 导航按钮 */
.nav-buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.nav-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.nav-btn i {
    font-size: 24px;
    color: #3498db;
}

.nav-btn:hover {
    background: #3498db;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4);
}

.nav-btn:hover i {
    color: white;
}

.nav-btn img {
    width: 24px;
    height: 24px;
}


/***关于我们*****/
.aboutus_container {
    margin: 50px auto;
}

.flex_sty {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flex_style{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.aboutus_header {
    padding: 20px 0;
    margin-bottom: 20px;
}

.aboutus_header h1 {
    color: #333;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: bold;
}

.aboutus_header .button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

.aboutus_header .home-news-tag {
    line-height: 30px;
    border-radius: 5px;
    background: rgb(156 242 187 / 20%);
    padding: 0 10px;
    color: #666;
    display: inline-block;
    font-size: 1.1rem;
}

.aboutus_header .line {
    width: 2px;
    height: 18px;
    background: #888;
    margin: 20px;
}

.aboutus_header .dateS {
    color: #666;
    font-size: 1.1rem;
}

.aboutus-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 100px;
    padding-bottom: 50px;
}

.aboutus-card01 {
    color: #fff;
    height: 400px;
    /* background: url(../picture/news_bg.jpg) center / cover no-repeat; */
    border-radius: 28px;
    padding: 26px;
    box-shadow: 0 6px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
}
.aboutus-card01 img{

    padding: 26px;

    transition: transform 0.3s ease;
    width: 50%;
}
.aboutus-card01:hover{
    transform: scale(1.05);
}
.aboutus-card01 .aboutus-title {
    font-size: 2rem;
    color: #fff;
    margin-top: 40px;
}

.aboutus-card01 .aboutus-summary {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 12px;
    height: 100px;
    overflow: hidden;
}

.aboutus-card01 .aboutus-date {
    font-size: 1rem;
    color: #fff;
}

.aboutus-card {
    width: 32%;
    background: #eff6f7;
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.aboutus-card:hover {
    transform: translateY(-5px);
}

.aboutus-title {
    font-size: 24px;
    line-height:36px ;
    color: #333;
    margin-bottom: 40px;
    height: 60px;
}

.aboutus-summary {
    width: 100%; 
    font-size: 18px;
    color: #666;
    line-height: 28px;
    margin-bottom: 12px;
    height: 100px;
    overflow: hidden;
}

.aboutus-date {
    font-size: 1rem;
    color: #999;
}

.width53 {
    width: 25%
}

@media (max-width: 768px) {
    .aboutus-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 480px) {
    .aboutus-grid {
        display: grid;
        grid-template-columns: 1fr !important;
        margin-top: 50px;
    }
    .aboutus-card{
        width: auto;
    }
    .flex_sty{
        display: grid;
        grid-template-columns: 1fr !important;
    }
    .width53{
        width: 170px;
    }
    .aboutus-card01{
        height: 200px;
    }
}

/* 添加计数器动画样式 */
.counter-animated {
    display: inline-block;
}

/* .trust-container {
    margin: 50px auto;
} */

.trust-header {
    margin-bottom: 50px;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
}

.trust-grid {
    display: flex;
    gap: 30px;
    padding-bottom: 60px;
}

.trust-card {
    width: 32%;
    background: #f5fef8;
    border-radius: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    transition: transform 0.3s ease;
}

.trust-card:hover {
    transform: translateY(-5px);
}

.trust-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    text-decoration: underline;
}

.trust-card-desc {
    font-size: 1.4rem;
    color: #666;
    line-height: 1.6;
    height: 100px;
}

.trust-card-stats {
    display: flex;
    flex-direction: column;
    padding: 40px 20px;
    border-radius: 28px;
    background: #2c92a0;
}

.trust-card-stats span {
    font-size: 5rem;
}

.trust-card-stats h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.trust-card-stats p {
    font-size: 2.2rem;
    color: #fff;
}

.hulc-tp-icon {
    width: 60px;
    margin-bottom: 30px;
}

.hulc-tp-icon img {
    width: 100%;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .trust-card {
        width: 100%;
        padding: 50px 15px;
    }
}

@media (max-width: 480px) {
    .trust-grid {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    }

    .trust-card-stats h3 {
        font-size: 24px;
    }
}

.footer {
    text-align: center;
    padding: 25px;
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

.footer a {
    color: #0078d4;
    text-decoration: none;
    font-weight: 500;
    margin-left: 5px;
}

.footer a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .tab {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .series-tabs {
        width: 100%;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .tab_hangye {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    .hangye-card {
        flex-direction: column;
    }
    .home-cust-top-li {
        width: 25%;
    }
}   

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .header {
        padding: 15px;
    }

    .series-tabs {
        flex-wrap: nowrap;
        /* 在小屏幕上不换行 */
        overflow-x: auto;
        padding: 3px;
    }

    .product-card {
        margin-bottom: 10px;
        box-shadow: none;
    }

    .tab {
        padding: 10px 15px;
        white-space: nowrap;
        /* 防止文字换行 */
        flex-shrink: 0;
        /* 防止标签收缩 */
    }

    .product-section,
    .hangye-section {
        padding: 15px 0;
    }

    .product-grid {
        display: block;
        /*grid-template-columns: 1fr;*/
        /*gap: 20px;*/
    }
}


.home-part {
    background-color: #f9fafa;
    padding-bottom: 30px;
}

.aboutus-card  .hnbc-bot-item-arrow {
    transform: translateX(10px);
}


.home-hangye{
    background-image: url(../image/fa_bg.jpg);
    background-size: cover;
}
.home-trust{
    background-image: url(../image/xinlai.jpg);
    background-size: cover;
}