﻿*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei","PingFang SC","黑体",Helvetica,"宋体",sans-serif;
    font-size: 14px;
}

img{
    width: 100%;
} 

:root{
    --primary-color:#ff434f;
    --secondary-color:#e3e3e3;
    --text-color-lightest:#e7e9ec;
    --text-color-darker:#2e2e2e;
    --text-color-dark:#494949;
    --text-color-gray:#8b8b8b;
    --text-color-dark-gray:#727272;
    --text-color-light-gray:#c6c6c6;
    /* --backdrop-color:rgba(42,42,42,0.69); */
    --backdrop-color:#000000;
}

/* 头部样式 */
header{
    width: 100vw;
    height: 80px;
    display: grid;
    padding: 0 40px;
    grid-template-columns: 200px 1fr;
    align-items: center;
    position: relative;
    z-index:200;
}

header .logo{
    height: 80px;
    line-height: 80px;
    background: url(../images/logo1.png) no-repeat left center;
    padding-left: 50px;

    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-lightest);
}

header nav{
    justify-self:end;
}

header nav i{
    color: var(--text-color-lightest);
}

header nav a{
    color: var(--text-color-lightest);
    text-decoration: none;
    margin: 0 20px; 
    font-size: 15px;
    font-weight: 540;
    letter-spacing: 1.5px;
}

header .burger{
    display: none;
}

header.sticky{
    position: fixed;
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 0 18px rgba(0,0,0,0.2);
    animation: dropDown 0.5s ease-in-out forwards;
}

header.sticky .logo,
header.sticky nav a,
header.sticky nav i
{
    color:var(--text-color-darker);
}

@keyframes dropDown{
    from{
        transform: translateY(-100px);
    }
    to{
        transform: translateY(0px);
    }
}


/* 轮播栏样式 */
.glide{
    position: relative;
    top: -80px;
    z-index: 50;
}

.glide__slide img,
.glide__slide video{
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

.slide_caption{
    position: absolute;
    z-index: 70;
    color: var(--text-color-lightest);
    text-align: center;
    max-width: 60vw; 
}

.glide__slide{
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide_caption h1{
    font-size: 54px;
    font-weight: 600;
}

.slide_caption h3{
    font-size: 24px;
    margin: 48px 0;
    font-weight: 400;
    line-height: 1.8em;
}

.slide_caption.left{
    max-width: 60vw;
    text-align: left;

}

.slide_caption > *{
    opacity: 0;
}

.backdrop{
    background: var(--backdrop-color);
    /* background:rgba(0,0,0); */
    z-index: 60;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.2;
} 

.explore-btn{
    padding: 14px 32px;
    background-color: var(--primary-color);
    border:none;
    /* background: none;
    border:2px solid var(--primary-color); */
    border-radius: 4px;
    color: var(--text-color-lightest);
    font-size: 18px;
    cursor: pointer;
    outline: none;
}

.glide__bullet--active{
    width: 20px;
    border-radius: 4.5px;
    transition: 0.5s;
}

/* 内容区域通用样式 */
.content-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

section{
    display: grid;
    justify-items: center;
    max-width: 1180px;
    padding: 0 80px;   
}

.title1{
    font-size: 34px;
    color: var(--text-color-darker);
}

.title1::after{
    content: "";
    display: block;
    width: 80%;
    height: 4px;
    background-color: var(--primary-color);
    margin-top:14px;
    transform: translateX(10%);
}

.intro{
    margin: 28px 0 60px;
    font-size: 18px;
    color: var(--text-color-dark-gray);
    line-height: 1.8em; 
}

/* 关于我们 */
.about-us{
    padding-top: 32px;
    padding-bottom: 32px;
}

.features{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: 140px;
    column-gap: 5vw;
    row-gap: 5vw;
}

.feature{
    display: grid;
    grid-template-areas: "icon title" "icon content";
    grid-template-columns: 60px 1fr;
    grid-template-rows: 1fr 3fr;
}

.feature i{
    grid-area: icon;
    font-size: 34px;
    color: var(--primary-color);
}

.feature-title{
    grid-area: title;
    color: var(--text-color-darker);
    font-size: 18px;
}

.feature-content{
    grid-area: content;
    color: var(--text-color-gray);
    margin-top: 8px;
    line-height: 1.8em;
}

/* 成功案例 */
.showcases{
    max-width: unset;
    padding: 0;
    padding-top: 62px;
}

.section-bg{
    position: relative;
}

.section-bg::before{
    content: "";
    display: block;
    position: absolute;
    background-color: #f9fbfb;
    width: 100vw;
    height: 100%;
    z-index: -1; 
}

.filter-btns{
    margin: 34px 0 38px;
}

.filter-btn{
    margin: 0 7px;
    background-color: var(--secondary-color);
    border:none;
    color: var(--text-color-dark-gray);
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.4s;
}

/*取消按钮选中边框*/
.filter-btn:focus,.filter-btn:active{
    outline: none;
}

.filter-btn.active,.filter-btn:hover{
    background-color: var(--primary-color);
    color: #ffffff;
}

.showcases .cases{
    width: 100vw;
    margin-top: 40px;
}

.showcases .case-item{
    width: 25vw;
    height: 100px;
    overflow: hidden;
    border: 4px solid #ffffff;
    padding: 0 30px 0 30px;
    color: var(--text-color-dark);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: url(../images/casebg1.jpg) no-repeat center center ;
    background-size: cover; */
}

.case-item i{
    font-size: 18px;
    color: var(--primary-color);
}

.case-item img{
    height: 100%;
    object-fit: cover;
}

/* 服务流程 */
.service{
    padding-top:131px;
}

.services{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 38px;
    row-gap: 34px;
    max-width: 1180px;
}

.service-item{
    display: grid;
    grid-template-areas: "icon title" "icon content" "btn btn";
    grid-template-columns: 70px 1fr;
    grid-template-rows: 1fr 2.2fr auto;
    padding: 24px;
    box-shadow: 0 0 18px rgba(0,0,0,0.06);
}

.service-item i{
    font-size: 42px;
    color: var(--primary-color);
    grid-area: icon;
    padding-top: 6px;
}

.service-title{
    grid-area:title;
    color: var(--text-color-darker);
    font-size: 20px;
}

.service-content{
    grid-area: content;
    color: var(--text-color-gray);
    line-height: 1.8em;
    font-size: 16px;
    margin-top: 8px;
    margin-bottom:20px;
}

.service-btn{
    grid-area: btn;
    text-align: center;
}

.service-btn a{
    text-decoration: none;
}

/* 团队介绍 */
.team-intro{
    margin-top: 48px;
    padding: 62px 0 52px;
}

.team-members{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 24px;
    margin-top: 20px;
}

.team-member{
    background-color: #ffffff;
    box-shadow: 0 0 18px rgba(0,0,0,0.2);
    text-align: center;
    padding-bottom: 28px;
    transition: 0.4s;
    display: grid;
    justify-items: center;
}

.profile-image{
    overflow: hidden;
}

.profile-image img{
    height: 264px;
    width: 100%;
    object-fit: cover;
    object-position: top center;
}

.team-member .name{
    margin-top: 18px;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-color-dark);
}

.team-member .position{
    color: var(--text-color-dark-gray);
    padding: 12px 0 18px;
}

.social-links{
    width: 100%;
    max-width: 200px;
    display: flex;
    justify-content: space-around;
    padding: 0 42px;
}

.social-links li{
    list-style: none;
    color: var(--primary-color);
}

.social-links li a{
    color: var(--text-color-dark);
    text-decoration: none;
}

.team-member:hover{
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 0 36px rgba(0,0,0,0.1);
}

/* 数据部分 */
.data-section{
    max-width: unset;
    width: 100vw;
    height: 255px;
    background-image: url(../images/data.jpg);
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */

    display: grid;
    grid-template-columns: repeat(4,minmax(auto,220px));
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 20;
}

.data-section::before{
    content: "";
    display: block;
    position: absolute;
    background-color: var(--backdrop-color);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.data-piece{
    width: 250px;
    display: grid;
    grid-template-rows: repeat(3,1fr);
    justify-items: center;
    color: #ffffff;
    position: relative;
    z-index: 40;
}

.data-piece i{
    font-size: 44px;
}

.data-piece .num{
    font-size: 41px;
    margin-top: 7px;
    font-weight: 600;
}

.data-piece .data-desc{
    font-size: 18px;
    font-weight: 500;
    margin-top: 5px;
}

/* 公司动态 */
.company-activities{
    margin-top: 88px;
    padding: 0;
}

.activities{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 24px;
}

.activity{
    box-shadow: 0 0 24px rgba(0,0,0,0.1);
    padding: 24px;
    transition: 0.4s;
}

.act-image-wrapper{
    height: 255px;
    overflow: hidden;
    margin: -24px;
    margin-bottom: 0;
}

.act-image-wrapper img{
    min-height: 300px; 
    object-fit: cover;
}

.activity .meta{
    margin: 20px 0 12px;
    color: var(--text-color-light-gray);
    font-size: 12px;
    font-weight: 400;
    display: flex;
}

.activity .meta > p:last-child{
    margin-left: 36px;
}

.act-title{
    color: var(--text-color-dark);
    font-size: 18px;
    margin-bottom: 16px;
}

.activity article{
    color: var(--text-color-gray);
    letter-spacing: 0.54px;
    line-height: 24px;
}

.read-more-btn{
    border: none;
    color: #ffffff;
    background-color: var(--primary-color);
    border-radius: 4px;
    padding: 6px 14px;
    margin-top:24px;
}

.activity:hover{
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0 0 36px rgba(0,0,0,0.06);

}

/* 底部样式 */
footer{
    margin-top: 124px;
    background-color: #181818;
    display: grid;
    justify-items: center;
    padding: 72px 0 24px;

}

.footer-menus{
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 4fr 1fr 1fr;
    padding: 0 80px;
    position: relative;
}

.menu-title{
    font-size: 16px;
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact-us{
    justify-self:start;
    color: var(--text-color-lightest);
}

.contact-us p:not(:first-child){
    padding-bottom: 16px;
}
/* .contact-us p:not(.menu-title){
    padding-bottom: 16px;
} */

.menu-items li{
    list-style: none;
    padding-bottom: 8px;
}

.menu-items li a{
    text-decoration: none;
    font-weight: 300;
    color: var(--text-color-lightest);
}

.gzwm img{
    width: 102px;
    height: 122px;
    margin-top: 10px;
}

.icp-info{
    margin:24px 0 16px;
    
}

.icp-info,.rights{
    grid-column: 1 / -1;
    justify-self: center;
    color: #ffffff;
}

.scrollToTop{
    display: none;
}

.scrollToTop a{
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    color: white;
    text-decoration: none;
    position: fixed;
    bottom: 60px;
    right: 30px; 
    z-index: 300;

}


/* 动态按钮 */
a.dynamicbtn {
    display: inline-block;
	position: relative;
	/* transform: translate(-50%, -50%); */
	/* color: #6CEEFF; */
    /* transform: translateX(-100%); */
    color: #ffffff;
    background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(108,238,255,0.15));
    
    padding: 14px 32px;
	font-size: 18px;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	/* to delete length of animation lines: */
	overflow: hidden;
    transition: 0.4s;
}

a.dynamicbtn:hover{
    font-weight: bold;
    background:linear-gradient(to bottom, rgba(0,0,0,0),rgba(108,238,255,0.4));
}

a.dynamicbtn:before {
	content: "";
	position: absolute;
	top: 2px;
	left: 2px;
	bottom: 2px;
	width: 50%;
	/* background: rgba(255, 255, 255, 1); */
}


a.dynamicbtn  span:nth-child(1) {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(to right, rgba(24,212,214,0), #6CEEFF);
    /* background: linear-gradient(to right, rgba(255,255,255,0), #ffffff); */
	animation: animate1 2s linear infinite;
}


@keyframes animate1 {
	0% {
	transform: translateX(-100%);
	}
	100% {
	transform: translateX(100%);
	}
}


a.dynamicbtn  span:nth-child(2) {
	position: absolute;
	top: 0;
	right: 0;
	width: 2px;
	height: 100%;
	/* background: linear-gradient(to bottom, rgba(24,212,214,0.1), #6CEEFF); */
    background: linear-gradient(to right, rgba(24,212,214,0), #6CEEFF);
	animation: animate2 2s linear infinite;
	/* add delay to have continuity on effect*/
	animation-delay: 1s;
}


@keyframes animate2 {
	0% {
	transform: translateY(-100%);
	}
	100% {
	transform: translateY(100%);
	}
}


a.dynamicbtn  span:nth-child(3) {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 2px;
	/* background: linear-gradient(to left,  rgba(24,212,214,0.1), #6CEEFF); */
    background: linear-gradient(to right, rgba(24,212,214,0), #6CEEFF);
	animation: animate3 2s linear infinite;
}


@keyframes animate3 {
	0% {
	transform: translateX(100%);
	}
	100% {
	transform: translateX(-100%);
	}
}


a.dynamicbtn  span:nth-child(4) {
	position: absolute;
	top: 0;
	left: 0;
	width: 2px;
	height: 100%;
	/* background: linear-gradient(to top, rgba(24,212,214,0.1), #6CEEFF); */
    background: linear-gradient(to right, rgba(24,212,214,0), #6CEEFF);
	animation: animate4 2s linear infinite;
	/* add delay to have continuity on effect*/
	animation-delay: 1s;
}


@keyframes animate4 {
0% {
transform: translateY(100%);
}
100% {
transform: translateY(-100%);
}
}