* {
    box-sizing: border-box;
}

body, header, nav, ul, li, div {
    margin: 0;
    padding: 0;
}

header {
    color: #ccc;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1003;
    transition: transform .3s;
}

header.active {
    background: #fff;
    color: #666666;
}

header.collapsed {
    transform: translateY(-100%);
}

header nav {
    max-width: 1200px;
    margin: 0.5rem auto;
    padding: 1rem 2rem;
}

header .logo {
    width: 200px;
    color: inherit;
    font-size: 2rem;
    line-height: 2rem;
    /*line-height: 2rem;*/
    display: inline-block;
}

header nav ul {
    list-style: none;
    display: inline-block;
    float: right;
}

header nav ul li {
    display: inline-block;
}

header nav ul li a {
    display: inline-block;
    font-size: 1rem;
    color: inherit;
    /*font-family: "NexaLight", HelveticaNeueLight, Arial, sans-serif;*/
    padding: 0 2em;
    line-height: 2rem;
    cursor: pointer;
    text-decoration: none;
    transition: color .3s;
}

header nav ul li a:hover {
    color: #fff;
}

header.active nav ul li a:hover {
    color: #004368;
}


header.active .btn-collapse-switch .block {
    background: #004368;
}

.btn-collapse-switch {
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: none;
    float: right;
}

.btn-collapse-switch .block{
    width: 24px;
    height: 2px;
    display: inline-block;
    background: #fff;
    border-radius: 2px;
}

.btn-collapse-switch .block:before {
    content: "";
    position: absolute;
    display: block;
    background: inherit;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    top: 18px;
}

.btn-collapse-switch .block:after {
    content: "";
    position: absolute;
    display: block;
    background: inherit;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    top: 4px;
}


main {
    overflow: hidden;

}

#banner-top {
    background: #425462;
    width: 100%;
    position: relative;
    text-align: center;
    padding-top: 10%;
}

#banner-top:after, #banner-body3:before, #banner-body3:after, #banner-body5:before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    height: 0;
    padding-bottom: 25%;
    width: 125%;
    background: inherit;
    z-index: 1;
    -webkit-transform: rotate(-12deg);
    -ms-transform: rotate(-12deg);
    -moz-transform: rotate(-12deg);
    transform: rotate(-12deg);
    -webkit-transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    transform-origin: 100% 100%;
}

#banner-body3:before, #banner-body5:before {
    top: 0;
    left: 0;
    bottom: unset;
    right: unset;
    transform-origin: 0% 0%;
}

#banner-top .content {
    z-index: 2;
    position: relative;
    padding: 4rem;
}

#banner-top .text1 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
}

#banner-top .text2 {
    color: #fff;
    font-size: 3em;
    font-weight: 500;
    margin: 0.4em 0;
}

#banner-top .text3 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
}

#banner-top .down {
    position: relative;
    top: 4rem;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    width: 1.2em;
    height: 1.2em;
    cursor: pointer;
    display: inline-block;
    transition: all .2s;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#banner-top .down:hover {
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.banner {
    position: relative;
    width: 100%;
}

.banner .content {
    position: relative;
    z-index: 2;
}

#banner-body2 {
    background-image: url("./images/bg4.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    width: 100%;
    padding: 20% 0;
}

#banner-body2 .content {
    font-size: 2rem;
    padding: 2rem 0;
    color: #fff;
    text-align: center;
}

#banner-body3 {
    position: relative;
    background: #fff;
    width: 100%;
}

#banner-body3 .content {
    padding: 0 4rem;
    text-align: center;
    max-width: 900px;
    margin: auto;
}

#banner-body3 .content .title {
    font-size: 1.8em;
    font-weight: 700;
    color: #425462;
}

#banner-body3 .content p {
    color: #777777;
}

#banner-body3 .services {
    margin: 2em auto;
}

#banner-body3 .services .item {
    transition: all .3s;
    border-radius: 4px;
}

#banner-body3 .services .item:hover {
    box-shadow: #cbcbcb 1px 1px 10px 0px;
}

#banner-body3 .services .subtitle {
    color: #666666;
    font-size: 1.2rem;
    margin: 0.8em 0;
}

#banner-body4 {
    position: relative;
    background: url("./images/bg1.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    /*height: 1000px;*/
}

#banner-body4:after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
}

#banner-body4 .content {
    padding: 20% 0;
    color: #fff;
    text-align: center;
    max-width: 800px;
    margin: auto;
}

#banner-body4 .content .title {
    font-size: 2rem;
    font-weight: 600;
    margin: 2rem 0;
}

#banner-body4 .content p {
    font-size: 1.2rem;
    padding: 0 4rem;
}

#banner-body4 .num {
    font-family: "NexaLight", HelveticaNeueLight, Arial, sans-serif;
}

#banner-body4 .subtitle {
    font-weight: 700;
    margin: 0.3rem 0;
    font-size: 1.2rem;
}

#banner-body4 .row {
    text-align: left;
    margin: auto;
}

#banner-body4 .row .item {
    padding: 2rem;
    height: 8rem;
}

#banner-body5 {
    position: relative;
    background: #fff;
    padding-bottom: 8%;
}

#banner-body5 .content {
    text-align: center;
}

#banner-body5 .content .title {
    font-size: 2rem;
}

#banner-body5 .logos {
    max-width: 800px;
    margin: auto;
}

#banner-body5 .logos .item {
    transform: scale(0.95);
    transition: all .2s;
}

#banner-body5 .logos .item:hover {
    transform: scale(1);
}

#banner-body5 .logos .item img {
    width: 100%;
    max-width: 150px;
    max-height: 150px;
}

#banner-body6 {
    background: #f5f5f5;
}

#banner-body6 .content {
    text-align: center;
    padding: 6% 0;
}

#banner-body6 .content .title {
    font-size: 2rem;
    margin: 1.2rem 0;
}

#banner-body6 .content .text {
    font-size: 1rem;
}


/*元素在可视区域内加载动画*/
#banner-body2 .content,
#banner-body4 .content,
#banner-body6 .content
{
    transition: .6s;
    transform: translateY(60%);
    opacity: 0;
}
#banner-body3 .content,
#banner-body5 .content
{
    transition: .6s;
    transform: translateX(-15%);
    opacity: 0;
}
#banner-body2.active .content,
#banner-body3.active .content,
#banner-body4.active .content,
#banner-body5.active .content,
#banner-body6.active .content
{
    transform: unset;
    opacity: 1;
}


footer {
    width: 100%;
    background: #425462;
    color: #ccc;
    padding: 6% 0 2%;
    /*margin-top: 4rem;*/
}

footer .copyright {
    text-align: center;
    color: #ddd;
}


@keyframes collapse {
    0% {
        transform: scale(.95);
        transform-origin: 100% 0;
        opacity: 0;
    }
    100% {
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        opacity: 1;
    }
}


.btn {
    border-radius: 4px;
    background: #edf8fb;
    border: #40b1d4 1px solid;
    padding: 0.6em 2rem;
    font-size: 1.1em;
    color: #40b1d4;
    cursor: pointer;
    outline: none;
    transition: all .3s;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    transform: scale(0.95);
}

.btn:hover {
    background: #e4eff2;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.grid-container {
    width: 100%;
    max-width: 1200px; /*这里根据实际情况是否设置*/
    margin-right: auto;
    margin-left: auto;
}

.row:after {
    content: "";
    display: block;
    clear: both;
}

[class*="col-"] {
    float: left;
    padding: 15px;
}

.col-1 {
    width: 8.33%;
}

.col-2 {
    width: 16.66%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.33%;
}

.col-5 {
    width: 41.66%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.33%;
}

.col-8 {
    width: 66.66%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.3%;
}

.col-11 {
    width: 91.66%;
}

.col-12 {
    width: 100%;
}

@media all and (max-width: 768px) {
    html {
        font-size: 13px;
    }

    .col-sm-1 {
        width: 8.33%;
    }

    .col-sm-2 {
        width: 16.66%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-4 {
        width: 33.33%;
    }

    .col-sm-5 {
        width: 41.66%;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-7 {
        width: 58.33%;
    }

    .col-sm-8 {
        width: 66.66%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-10 {
        width: 83.33%;
    }

    .col-sm-11 {
        width: 91.66%;
    }

    .col-sm-12 {
        width: 100%;
    }

    .btn-collapse-switch {
        display: inline-block;
    }

    #banner-body4 .row .item {
        text-align: center;
    }

    #nav-menu {
        display: none;
        position: absolute;
        left: 0;
        top: 60px;
        width: 96%;
        margin: 0 2%;
        background: #fff;
        border-radius: 4px;
        box-shadow: 0 50px 100px rgba(50,50,93,.1),
                    0 15px 35px rgba(50,50,93,.15),
                    0 5px 15px rgba(0,0,0,.1);
        animation: collapse .2s ease forwards;;
    }

    #nav-menu.active {
        display: unset;
    }

    #nav-menu li {
        display: block;
    }

    #nav-menu li a{
        display: block;
        padding: 1rem 2rem;
        font-size: 1.2rem;
        color: #555555;
    }

    #nav-menu li a:hover{
        color: #000;
    }

    #banner-body3 .content {
        padding: 0 4%;
    }
}