.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.advantage-card {
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
    text-align: center;
}

.advantage-card:hover {
    border-color: var(--primary-color);
    background-color: rgba(0, 168, 232, 0.05);
    transform: translateY(-5px);
}
.advantage-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 168, 232, 0.1);
    border-radius: 50%;
    margin: 0 auto 25px;
}

.advantage-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.c41 {
    margin-top: 72px;
    margin-bottom: 22px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.c41 .content1 {
    background: url(../img/lc.png) no-repeat center 0;
    margin-top: 53px;
}

.c41 .content1 .list1 {
    width: 100%;
}

.c41 .content1 .list1 li {
    display: inline-block;
    width: 45%;
    position: relative;
    margin-bottom: 52px;
}


.c41 .content1 .list1 li:nth-child(2n) {
    float: right;
}

.c41 .content1 .list1 li .img {
    width: 100%;
    display: block;
    overflow: hidden;
}

.c41 .content1 .list1 li .img img {
    width: 100%;
}

.c41 .content1 .list1 li .zi {
    padding-left: 7px;
    margin-top: 10px;
    text-align: left;
}

.c41 .content1 .list1 li .zi h3 {
    font-size: 30px;
    color: #202020;
    line-height: 2;
    font-weight: 600;
    /* background: url(../images/heng1.png) no-repeat 0 bottom; */
    margin-top: 16px;
}

.c41 .content1 .list1 li .zi h3 p {
    font-weight: 500;
    font-size: 18px;
    line-height: 44px;
}

.c41 .content1 .list1 li .zi dd {
    font-size: 14px;
    color: #202020;
    line-height: 28px;
    margin-top: 12px;
}

.c41 .content1 .list2 {
    width: 539px;
}

.c41 .content1 .list2 li {
    margin-bottom: 10px;
}

.c41 .content1 .list2 li img {
    width: 539px;
}

.c41 .content1 .list2 li .zi {
    padding-left: 7px;
    margin-bottom: 20px;
}

.c41 .content1 .list2 li .zi h3 {
    font-size: 30px;
    color: #202020;
    line-height: 2;
    background: url(../images/heng1.png) no-repeat 0 bottom;
}

.c41 .content1 .list2 li .zi h3 p {
    font-weight: 500;
    font-size: 18px;
    line-height: 44px;
}

.c41 .content1 .list2 li .zi dd {
    font-size: 16px;
    color: #202020;
    line-height: 30px;
    margin-top: 12px;
}

.c41 .content1 .list1 li:nth-child(2n) .img {
    position: absolute;
    z-index: 9999;
    top: 180px;
}

.c41 .content1 .list1 li .zi h2 {
    font-size: 18px;
    color: #202020;
    margin-top:8px;
}

.c41 .content1 .list1 li .zi i {
    display: block;
    height: 2px;
    width: 110px;
    background-color: #007bff;
    margin-top: 12px;
}

.c41 .content1 .list1 li:nth-child(2n) h3 {
    margin-top: -25px;
}

@media(max-width: 1400px){
    .case .cbb .hd .prev{left: -40px;}
    .case .cbb .hd .next{right: -40px;}
}

.piclist{
    width: 3402px; position: relative; overflow: hidden; padding: 0px; margin: 0px;
}
.case {
    width: 100%;
    padding-top: 34px;
    padding-bottom: 54px;overflow: hidden;
}

.case .chd {
    width: 100%;
}

.case .chd h2 {
    display: inline-block;
    font-size: 30px;
    color: #00ab3f;
    font-weight: 600;
}

.case .chd a {
    display: inline-block;
    font-size: 18px;
    color: #333;
    float: right;
}

.case .chd a span {
    font-size: 30px;
    color: #00ab3f;
    font-weight: 600;
    display: inline-block;
    vertical-align: -7%;
}

.case .cbb {
    margin: 0 auto;
    position: relative;
}
.case .bd{overflow: hidden;}

.case .cbb ul {
    width: 100%;
    margin: 0 auto;
}

.case .cbb ul li {
    float: left;
    width: 352px;
    margin-right: 26px;
    overflow: hidden;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.case .cbb ul li .img {
    width: 100%;
    overflow: hidden;
}

.case .cbb ul li .img img {
    width: 100%;
    height: 100%;
}

.case .cbb ul li dd {
    width: 100%;
    text-align: center;
    padding: 25px 26px 0;
    background-color: #fff;
    height: 218px;
}

.case .cbb ul li dd h3 {
    font-size: 18px;
    color: #333;
    overflow:hidden; white-space:nowrap;text-overflow:ellipsis;
}

.case .cbb ul li dd h2 {
    font-size: 12px;
    color: #777777;
    line-height: 22px;
    margin-top: 28px;
}

.case .cbb ul li dd a {
    display: block;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e2e2e2;
    text-align: center;
    line-height: 33px;
    font-size: 31px;
    color: #00ab3f;
    margin: 0 auto;
    margin-top: 35px;
}

.case .cbb ul li:hover dd {
    background-color: #00ab3f;
}

.case .cbb ul li:hover dd h3,
.case .cbb ul li:hover dd h2 {
    color: #fff;
}

.case .cbb ul li:hover dd a {
    background-color: #fff;
}


.tempWrap {
    width: 100% !important;
}

.case .cbb .hd {
    position: absolute;
    z-index: 99;
    top: 44%;
    width: 100%;
}

.case .cbb .hd a {
    display: block;
    width: 43px;
    height: 43px;
}


.case .cbb .hd .prev {
    position: absolute;
    background: url(../img/z.png) no-repeat top center;

    cursor: pointer;
}

.case .cbb .hd .next {
    position: absolute;
    background: url(../img/R.png) no-repeat top center;
    right: 1%;
    cursor: pointer;
}

@media(max-width: 640px){

    .c41{margin-top: 60px;}
    .c41 .content1{background: none;margin-top: 20px;}
    .c41 .content1 .list1 li{width: 100%;}
    .c41 .content1 .list1 li .zi h3{font-size: 18px;}
    .c41 .content1 .list1 li .zi h2{font-size: 14px;margin-top: 0;}
    .c41 .content1 .list1 li .zi i{width: 80px;}
    .c41 .content1 .list1 li:nth-child(2n) .img{position: static;}
    .c41 .content1 .list1 li{margin-bottom: 20px;}
    .c41 .content1 .list1 li:nth-child(2n) h3{margin-top: 0;}
    .case .cbb ul li {width: 160px;margin-right: 15px;}
    .case .cbb{padding: 0;}
    .case .cbb ul li dd{height: auto;padding: 10px;}
    .case .cbb ul li dd h2{margin-top: 10px;}
    .case .cbb ul li dd a{margin-top: 10px;}
    .case{padding: 30px 0;}
}

/** 首页关于公司 **/
.comnay-title {
    text-align: center;
    font-size: 30px;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}
.section-title {
    text-align: center;
    font-size: 30px;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* 公司简介区域（左图右文） */
.company-intro {
    max-width: 1400px;
    margin: 0 auto 50px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}
.intro-img {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.intro-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}
.intro-text {
    flex: 1;
}
.intro-text h3 {
    font-size: 26px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
    border-left: 4px solid #5b86e5;
    padding-left: 15px;
}
.intro-text p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.8;
    margin-bottom: 15px;
}
/* 手机端：上图下文 */
@media (max-width: 768px) {
    .company-intro {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 30px;
    }
    .intro-img img {
        height: 240px;
    }
    .intro-text h3 {
        font-size: 22px;
    }
    .intro-text p {
        font-size: 15px;
    }
}

/* 🔥 新增：发展历程标题样式 + 蓝色下划线 */
.timeline-header {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
    text-align: center;
}
.timeline-title {
    font-size: 26px;
    font-weight: 700;
    color: #2c3e50;
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}
/* 蓝色下划线核心样式 */
.timeline-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: #5b86e5;
    border-radius: 2px;
}

/* 核心容器 */
.company-gallery {
    padding: 60px 0;
    background: #f8f9fa;
    overflow: hidden; /* PC端隐藏滚动溢出 */
}
/* 电脑端 水平自动滚动 */
.development-timeline {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    animation: autoScroll 25s linear infinite;
}
.development-timeline:hover {
    animation-play-state: paused;
}
.development-timeline::-webkit-scrollbar {
    display: none;
}

/* 电脑端滚动动画 */
@keyframes autoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-1650px); }
}

/* 时间轴卡片项 */
.timeline-item {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 高端卡片样式 */
.timeline-card {
    width: 100%;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-top: 4px solid #5b86e5;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.84, 1);
}
.timeline-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 16px 32px rgba(0,0,0,0.12);
    border-top-color: #8e44ad;
}

/* 图片样式 */
.photo-frame {
    padding: 12px;
}
.photo-frame img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* 文字排版 */
.card-desc {
    padding: 20px;
    text-align: center;
}
.card-desc h3 {
    font-size: 20px;
    color: #2c3e50;
    margin: 0 0 10px;
    font-weight: 700;
}
.card-desc p {
    font-size: 16px;
    color: #7f8c8d;
    line-height: 1.7;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .company-gallery {
        padding: 40px 15px;
        overflow: visible;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    /* 手机端标题适配 */
    .timeline-header {
        margin: 0 auto 30px;
    }
    .timeline-title {
        font-size: 22px;
    }
    .development-timeline {
        flex-direction: column;
        animation: none;
        padding: 0;
        gap: 25px;
    }
    .timeline-item {
        flex: 0 0 100%;
        width: 100%;
    }
    .photo-frame img {
        height: 200px;
    }
    .card-desc {
        padding: 15px;
    }
    .card-desc h3 {
        font-size: 18px;
    }
}



/* 定制产品板块样式 */

/* 产品网格：PC端 4列 */
.custom-design-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
}
/* 产品项 */
.custom-product-item {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: center;
}
.custom-product-item img {
    width: 100%;
    border-radius: 8px;
    display: block;
}
.custom-product-name {
    font-size: 16px;
    margin: 10px 0 0;
    font-weight: bold;
}

/* ========== 移动端适配 ========== */
@media (max-width: 768px) {
    .custom-design-grid {
        grid-template-columns: repeat(2, 1fr); /* 手机 2个一行 */
        padding: 0 15px;
    }
}

/* 核心优势布局：一行4个 */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 移动端适配：一行2个 */
@media (max-width: 768px) {
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 小屏手机：一行1个 */
@media (max-width: 480px) {
    .advantage-grid {
        grid-template-columns: 1fr;
    }
}
