﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", sans-serif;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
    height: 78px;
}

.nav-item:hover {
    color: #004098 !important;
}

#h_2 {
    background: transparent !important;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

    #h_2 .nav-item,
    #h_2 .search-box input,
    #h_2 .search-box svg path {
        color: #fff;
    }

    #h_2 .search-box {
        border-color: rgba(255, 255, 255, 0.3);
    }


.hidden {
    display: none !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.nav-menu {
    display: flex;
    gap: 1px;
}

.nav-item {
    color: #000;
    text-decoration: none;
    font-size: 18px;
}

.search-box {
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.banner {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

    .banner .video-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        transition: transform 1s ease-in-out;
    }

    .banner .video-slide {
        flex: 0 0 100%;
        width: 100%;
        height: 100%;
        position: relative;
    }

    .banner .video-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 20;
    width: 100%;
    padding: 0 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

    .banner-text h2 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        font-weight: bold;
        margin-bottom: 15px;
        line-height: 1.2;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease-out;
    }

    .banner-text p {
        font-size: clamp(1.2rem, 3vw, 2rem);
        line-height: 1.4;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.8s ease-out 0.3s;
    }

    .banner-text.active h2,
    .banner-text.active p {
        opacity: 1;
        transform: translateY(0);
    }


.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*    background: rgba(0, 0, 0, 0.3);*/
    z-index: 10;
}

.banner .banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .banner .dot.active {
        background-color: #fff;
    }




.product-header {
    text-align: center;
    padding: 0px 0 0;
}

    .product-header h2 {
        font-size: 28px;
        font-weight: bold;
        color: #004098;
        margin-bottom: 30px;
    }

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-item {
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f5f5f5;
    color: #666;
    font-weight: 500;
}

    .tab-item:hover {
        background: #eee;
    }

    .tab-item.active {
        /*  background: #004098;*/
        background-image: linear-gradient(135deg, #004098, #0af);
        color: #fff;
    }

/* 产品中心 */
.product-center {
    padding: 0px 0 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-item {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

    .product-item img {
        width: 100%;
        /*    height: 208px;*/
        object-fit: cover;
        transition: transform 0.5s ease-in-out;
    }

    .product-item:hover img {
        transform: translateY(-6px);
    }

    .product-item:not(:hover) img {
        transform: translateY(0);
    }

    .product-item h3{
        padding: 16px;
        font-size: 19px;
        text-align: center;
        font-weight:500
    }

        .product-item h3:hover {
            color: #004098;
        }
        /* 解决方案 */
        .solution-section {
            padding: 0px 0;
            display: flex;
            flex-direction: column;
            gap: 50px;
            margin-bottom: 50px;
        }

.solution-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.solution-header {
    display: flex;
    flex-direction: row;
/*    gap: 30px;*/
    width: 100%;
}

.solution-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width:50%;
}

.grid-nine {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-item {
    width: 100%;
    height: 120px;
    /* background: #f5f5f5;*/
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px;
    transition: all 0.3s ease;
    color: #fff;
    cursor: pointer;
}

    .grid-item a {
        color: #004098;
        text-decoration: none
    }

    .grid-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    }

    .grid-item img {
        width: 70px;
        height: 70px;
        margin-bottom: 10px;
    }

.solution-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.solution-desc {
    display: flex;
    flex-direction: row;
    gap: 20px;
    border-radius: 10px;
    padding: 20px;
    height: 100%;
}

.solution-img {
    flex: 1;
    max-width: 40%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.desc-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .desc-text h3 {
        margin-bottom: 15px;
        font-size: 20px;
    }

    .desc-text p {
        color: #fff;
        line-height: 1.6;
    }

/* 公司介绍 */
.company-intro {
    padding: 0px 0 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.intro-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.intro-text h2 {
    margin-bottom: 20px;
    font-size: 24px;
}

.intro-text p {
    color: #666;
    line-height: 1.6;
}

/* 新闻中心 */
.news-center {
    padding: 0px 0 50px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.news-item {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.news-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

    .news-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #333;
    }

    .news-content p {
        color: #666;
        font-size: 14px;
        line-height: 1.5;
    }

/* 底部菜单 */
.footer {
    background: #004098;
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-item {
    color: #ddd;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
}



.qr-code {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 8px;
}

.footer-copr {
    position: relative;
    text-align: center;
    background-color: #004098;
    font-size: 13px;
    color: #fff;
    line-height: 24px;
    padding: 5px 0 5px;
}

    .footer-copr a {
        color: #fff;
        font-size: 13px;
        text-decoration: none;
    }


/* 响应式适配（手机端 < 768px） */
@media (max-width: 767px) {
    .nav-menu {
        display: none;
    }

    .solution-header {
        flex-direction: column;
    }

    .solution-desc {
        flex-direction: column;
    }

    .solution-img {
        height: 200px;
    }

    .grid-nine {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-intro {
        flex-direction: column;
    }

    .intro-img {
        height: 250px;
    }
}

.more a {
    border: 1px solid #cdcece;
    color: #333;
    min-width: 110px;
    border-radius: 0;
    text-decoration: none;
}

.btn {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


/* 桌面端样式 */
@media (min-width: 768px) {
    .solution-section {
        flex-direction: column;
    }

    .solution-header {
        flex-direction: row;
    }

    .solution-desc {
        flex-direction: row;
    }

    .company-intro {
        flex-direction: row;
    }

    .intro-img {
        flex: 0 0 40%;
        max-width: 50%;
    }

    .news-center {
        grid-template-columns: repeat(3, 1fr);
    }
}

.title {
    text-align: center;
    padding: 24px 0;
}

    .title h2 {
        font-size: 24px;
        color: #004098;
        line-height: 1.1;
    }

    .title h3 {
        font-size: 19px;
        color: #9fa0a0;
        vertical-align: middle;
    }

        .title h3 img {
            max-width: 100%;
            object-fit: cover;
        }



/* 面包屑导航 */
.breadcrumb {
    background-color: #F1F5F9;
    padding: 16px 0;
}

.breadcrumb-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.breadcrumb ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    color: #64748B;
    font-size: 14px;
}

    .breadcrumb li:not(:last-child)::after {
        content: "›";
        margin: 0 8px;
        color: #94A3B8;
    }

.breadcrumb a {
    color: #3B82F6;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .breadcrumb a:hover {
        color: #1D4ED8;
    }