:root {
    --color: #0670b9;
    --white: #FFF;
    --red: #d90e0e;
}
html, body {
    font-family: var(--bs-font-sans-serif);
}
img {
    max-width: 100%;
}
a {
    color: var(--color);
    text-decoration: none;
    transition: color 0.5s ease;
}
a:hover {
    color: var(--red);
}
i {
    font-style: normal;
}
.color {
    color: var(--color);
}
.b-top {
    border-top: 2px solid var(--color);
}
.b-bottom {
    border-bottom: 2px solid var(--color);
}


.top {
    color: var(--white);
    position: absolute;
    top: 0;
    z-index: 2;
    width: 100%;
    line-height: 36px;
}
.top img {
    max-width: 18px;
}


.mySwiper {
    /* height: 650px; */
}
.mySwiper img {
    height: 100%;
}
/* 隐藏默认箭头 */
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

/* 自定义图标背景 */
.swiper-button-next {
    background: url('../images/prev.png') no-repeat center / contain;
    right: 50px;
}

.swiper-button-prev {
    background: url('../images/next.png') no-repeat center / contain;
    left: 50px;
}

/* 调整按钮大小 */
.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
}
.swiper-slide{
    background: var(--color);
}


.navbar {
    top: -50px;
    z-index: 2;
    /* padding: 0 20%; */
}
.navbar-brand {
    padding: 15px 0;
}
.navbar-brand img {
    max-height: 24px;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--color);
}
.navbar-expand-lg .navbar-nav .nav-link {
    padding: 0 13px;
}
.navbar-box {
    width: 100%;
    margin: 0 50px;
    padding: 0 20px;
    display: flex;
}



.grid-serve {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
.grid-serve .g-col-4 {
    border-right: 3px solid var(--color);
}
.grid-serve .g-col-4 img {
    max-height: 50px;
}
.grid-serve .g-col-4:nth-child(3n+1) {
    border-left: 3px solid var(--color);
}
.grid-serve .g-col-4:nth-child(-n+3) {
    margin-bottom: 50px;
}



.product-box {
    background-color: #f2f8fb;
}
.grid-product {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
}
.grid-product .g-col-3 {
    border: 1px solid var(--color);
    padding: 20px;
}
.grid-product .g-col-3 .title {
    background: var(--color);
    color: var(--white);
    border-radius: 20px;
    padding: 5px 20px;
    margin-top: 15px;
}



.index-about .title i {
    border-left: 2px solid var(--color);
    font-size: 30px;
    line-height: 1;
    padding-left: 10px;
    margin-left: 10px;
    font-weight: bold;
}
.index-about .about-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--color);
}
.index-about .index-about-text {
    font-size: 14px;
    ;
}



.footer {
    background: var(--color);
    color: var(--white);
}
.footer-box {
    border-top: 3px solid var(--white);
}
.footer-box ul {
    list-style: none;
    margin-left: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}
.footer-box ul li {
    /* margin-right: 20px; */
}
.footer-box ul li .t {
    font-size: 20px;
    font-weight: bold;
}
.footer-box ul li a {
    display: block;
    color: var(--white);
}
.footer-box ul li a:hover{
    color: var(--red);
}

.footer-copyright {
    background: #005e9e;
    color: var(--white);
    font-size: 12px;
}
.footer-copyright a {
    color: var(--white);
}



.list-thumb {
    height: 650px;
}



.about .title {
    font-size: 40px;
    font-weight: bold;
    border-left: 5px solid var(--color);
    line-height: 1;
    padding-left: 15px;
}
.about .about-logo img {}


.timeline-title span {
    font-size: 40px;
    font-weight: bold;
    border-left: 5px solid var(--color);
    border-right: 5px solid var(--color);
    line-height: 1;
    padding: 0 15px;
}
.timeline {
    position: relative;
    /* max-width: 800px; */
    /* margin: 0 auto; */
    padding: 60px 0 40px;
    /* 上方多留点空间 */
}
.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    /* 往下留空间给箭头 */
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--color);
    /* 树干 */
    transform: translateX(-50%);
}
/* 顶部箭头 */
.timeline::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 22px;
    height: 22px;
    border-top: 4px solid var(--color);
    border-left: 4px solid var(--color);
    transform: translateX(-50%) rotate(45deg);
}
.timeline-item {
    position: relative;
    width: 50%;
    /* padding: 20px 40px; */
}
.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}
.timeline-item::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #ff0000;
    /* border: 3px solid #ff5722; */
    border-radius: 50%;
    z-index: 1;
}
.timeline-item::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--color);
    left: 0;
    top: 26px;
}
.timeline-item:nth-child(even)::before {
    left: -8px;
}
.timeline-content {
    /* background: white; */
    padding: 15px 0;
    /* border-radius: 8px; */
    /* border: 1px solid #ddd; */
    position: relative;
    top: -25px;
    background: linear-gradient(1deg, #f3f7fa, #ffffff);
    margin: 0 2px;
}
.timeline-content h3 {
    margin-top: 0;
    color: var(--color);
    font-weight: bold;
}

.brand-title {
    font-size: 40px;
    font-weight: bold;
    line-height: 1;
    vertical-align: middle;
}
.brand-title i {
    width: 4px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    background: var(--color);
    vertical-align: middle;
}
.brand {
    font-size: 14px;
}
.brand .brand-t {
    color: var(--color);
    font-weight: bold;
    border-bottom: 2px solid var(--color);
}
.brand .brand-footer span {
    font-size: 24px;
    color: var(--color);
    font-weight: bold;
    border-bottom: 2px solid var(--color);
    padding-bottom: 10px;
}


/* 产品 */
.product-list {}
.grid-product-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}
.grid-product-list .g-col-3 {
    border: 1px solid var(--color);
    padding: 20px;
}
.grid-product-list .g-col-3 .title {
    background: var(--color);
    color: var(--white);
    border-radius: 20px;
    padding: 5px 20px;
    margin-top: 15px;
}

.product-show {}
.product-show1 {
    background: var(--color);
    color: var(--white);
    position: relative;
    margin-top: 300px;
}
.product-show1 .brand-title {
    font-weight: normal;
}
.product-show1 .brand-title i {
    background: var(--white);
    width: 2px;
}
.product-image {
    position: absolute;
    top: -180px;
    left: 50%;
    width: 50%;
    height: 450px;
    z-index: 3;
}
.product-image-p {
    display: none;
}
.product-bd {
    position: relative;
}
.product-bd::before {
    content: '';
    position: absolute;
    height: 2px;
    left: 0;
    right: 0;
    background: var(--color);
    margin-left: 5%;
}
.product-bd::after {
    content: '';
    background: url(../images/product-logo.png) right no-repeat;
    width: 311px;
    height: 42px;
    position: absolute;
    right: 0;
    top: -41px;

}
.product-down a {
    display: inline-block;
    background: var(--color);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 40px;
    font-weight: bold;
    font-size: 20px;
}


/* 技术支持 */
.techsupport a {
    line-height: 1.3;
    font-size: 14px;
    color: #414141;
}
.techsupport a:hover{
    color: var(--red);
}
.techsupport-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--color);
    border-bottom: 2px solid var(--color);
    line-height: 40px;
}


/* 荣誉资质 */
.honor-title span {
    background: var(--color);
    color: var(--white);
    font-size: 24px;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 10px;
}

/* 客户案例 */
.case-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.case-box .item {
    border: 1px dashed var(--color);
}
.case-box .item .t {
    font-size: 24px;
    font-weight: bold;
    color: var(--color);
}
.case-box .item span {
    font-weight: bold;
}
.case-box .item:last-child {
    grid-column: 1 / span 2;
}



/* 标题样式 */
.list-title {
    font-size: 40px;
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    font-weight: bold;
}
.list-title i {
    display: inline-block;
    width: 3px;
    background-color: var(--color);
    height: 1em;
    vertical-align: middle;
    content: "";
}


/* 分页 */
.page-list .pagination a {
    border: 1px solid #bcbcbc;
    display: inline-block;
    padding: 5px 10px;
    font-size: 14px;
}
.page-list .pagination li {
    margin-left: -1px;
}
.page-list .pagination li.active a {
    background: var(--color);
    color: var(--white);
}

/* 暂无内容 */
.content-box:empty::before {
    content: "暂无内容";
    /* 占位文字 */
    display: block;
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    padding: 5rem;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

.list-thumb {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#map img{
    max-width: none;
}


@media (max-width: 720px) {
    .top span {
        font-size: 14px;
    }
    .top a {
        color: var(--white);
    }
    .mySwiper {
        height: auto;
        min-height: auto;
    }
    .list-thumb {
        height: 200px;
    }
    .navbar {
        top: auto;
    }
    .navbar-box {
        padding: 0 15px;
        margin: 0;
        position: relative;
        flex-wrap: inherit;
        align-items: center;
        justify-content: space-between;
    }
    .navbar-brand img {
        max-height: 15px;
    }
    .logo-text {
        font-size: 0.8rem !important;
    }
    .navbar-toggler {
        border: 0;
        padding: 0;
        margin-left: 20px;
    }
    .navbar-box .show {
        padding-bottom: 10px;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding: 5px 15px;
    }

    .grid-serve {
        grid-template-columns: 1fr 1fr;
    }
    .grid-serve .g-col-4 {
        padding: 0 10px;
    }
    .grid-serve .g-col-4 img {
        max-height: 50px;
    }
    .grid-serve .g-col-4:nth-child(3n+1) {
        border-left: 0;
    }
    .grid-serve .g-col-4:nth-child(2n+1) {
        border-left: 3px solid var(--color);
    }
    .grid-serve .g-col-4:nth-child(-n+4) {
        margin-bottom: 50px;
    }

    .index-about-img {
        padding-bottom: 20px;
    }

    .grid-product {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .grid-product .g-col-3 {
        padding: 10px;
    }

    .footer-box ul {
        flex-direction: column;
    }
    .footer-box ul li {
        margin-bottom: 15px;
    }

    .grid-product-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .grid-product-list .g-col-3 {
        padding: 10px;
    }
        .product-show{
            margin-top: -3rem !important;
        }
    .product-show1 {
        margin-top: 20px;
    }
    .product-image {
        display: none;
    }
    .product-image-p {
        display: block;
        padding: 0 20px;
    }

    .brand .brand-footer span {
        font-size: 18px;
        line-height: 2.6;
    }
    .case-box {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .case-box .item:last-child {
        grid-column: auto;
    }
    .case-box .p-5 {
        padding: 1rem !important;
    }
}