*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica, "PingFang SC", "Microsoft Yahei", sans-serif;
}
img{
    width: 100%;
}
:root {
    --primary-color: #ff434f;
    --secondary-color: #e3e3e3;
    --text-color-lightest: #e7e9ec;
    --text-color-darker: #2e2e2e;
    --text-color-dark: #494949;
    --text-color-gary: #8b8b8b;
    --text-color-dark-gray: #727272;
    --text-color-light-gray: #c6c6c6;
    --backdrop-color: rgba(42,42,42,0.6);
}

header{
    width: 100vw;
    height: 80px;
    display: grid;
    padding: 0 40px;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    position: relative;
    z-index: 200;
}
.sticky{
    position: fixed;
    background-color: white;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
    animation: dropDown 0.5s ease-in-out forwards;
}
.sticky .logo, 
.sticky nav a,
.sticky nav i{
    color: var(--text-color-darker);
}
@keyframes dropDown{
    from{
        transform: translateY(-100px);
    }
    to{
        transform: translateY(0);
    }
}
.logo{
    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 24px;
}
header .burger{
    display: none;
}
.glide{
    position: relative;
    top:-80px;
    z-index: 50 ;
}
.glide__slide img{
    width: 100vw;
    height: 100vh;
    object-fit: cover;

}
.glide__slide video{
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}
.glide__slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide-caption{
    position: absolute;
    z-index: 70;
    color: var(--text-color-lightest);
    text-align: center;
    max-width: 60vw;
}
.slide-caption h1 {
    font-size: 50px;
    font-weight: 600;
}
.slide-caption h3 {
    font-size: 24px;
    margin: 48px 0;
    
}
.slide-caption.left{
    max-width: 80vw;
    text-align: left;
}
.slide-caption > *{
    opacity: 0;
}
.backdrop{
    background: var(--backdrop-color);
    z-index: 60;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.4;
}
.explore-btn{
    padding: 14px 32px;
    background-color: var(--primary-color);
    border: 0;
    border-radius: 4px;
    color: var(--text-color-lightest);
    font-size: 18px;
    cursor: pointer;
    outline: none;
}

/* 内容区域通用样式 */
.content-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section {
    display: grid;
    justify-items: center;
    max-width: 1180px;
    padding: 0 80px;
}
.section-bg{
    position: relative;
}
.section-bg::before{
    content: "";
    display: block;
    background-color: #f3fbfb;
    width:100vw ;
    height: 100%;
    z-index: -1;
}
.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 0;
    font-size: 18px;
    color: var(--text-color-dark-gray);
}

/* 技术追求 */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 126px 126px;
    column-gap: 5vw;
		row-gap: 2vh;
}
.feature-item {
    display: grid;
    grid-template-areas: 
    "icon title" 
    "icon content";
    grid-template-columns: 60px 1fr;
    grid-template-rows: 1fr 3fr;
}
.feature-item i {
    grid-area: icon;
    font-size: 34px;
    color: var(--primary-color);
}
.feature-title{
    grid-area: title;
    font-size: 20px;
    color: var(--text-color-darker);
}
.feature-content{
    grid-area: content;
    color: var(--text-color-gary);
    margin-top: 8px;
}


/* 服务流程 */
.service{
    margin-top: 100px;
}
.services{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 36px;
    row-gap: 36px;
}
.service-item{
    display: grid;
    grid-template-areas:
    "icon title"
    "icon content";
    grid-template-columns: 70px 1fr;
    grid-template-rows: 1fr 3fr;
    padding: 24px;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.06);
}
.service-item i{
    grid-area: icon;
    color: var(--primary-color);
    font-size: 32px;
}
.service-item .service-title{
    grid-area: title;
    font-size: 20px;
    color: var(--text-color-darker);
}
.service-item .service-content{
    grid-area: content;
    color: var(--text-color-gary);
    font-size: 16px;
    line-height: 30px;
    margin-top: 8px;
}

/* 团队介绍 */
.team-intro{
    margin-top: 100px;
    margin-bottom: 100px;
}
.team-members{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 20px;
}
.team-member{
    background-color: white;
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
    display: grid;
    text-align: center;
    justify-items: center;
    padding-bottom: 28px;
}
.profile-image{
    overflow: hidden;
}
.profile-image img{
		width: 220px;
    height: 300px;
    object-fit: cover;
    object-position: center 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);
    margin-top: 12px;
    margin-bottom: 18px;
}
.social-links{
    width: 100%;
    max-width: 200px;
    display: flex;
    justify-content: space-between;
    padding: 0 42px;
}

.social-links li{
    list-style: none;
}
.team-member:hover{
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0px 0px 36px rgba(0, 0, 0, 0.1);
}

/* 数据部分 */
.data-section{
    max-width: unset;
    width: 100vw;
    height: 255px;
    background-image: url(images/office.jpg);
    background-size: cover;
    background-position: center;
    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: 1fr 1fr 1fr;
    justify-items: center;
    color: white;
    z-index: 40;
}
.data-piece i{
    font-size: 42px;
}
.data-piece .num{
    margin-bottom: 8px;
    font-size: 41px;
    font-weight: 600;
}
.data-piece .data-desc{
    font-size: 18px;
    font-weight: 500;
}

/* 公司动态 */
.company-activities{
    margin-top: 88px;
}
.activities{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 32px;
		row-gap: 32px;
}
.activity{
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.1);
    padding: 24px;
    transition: 0.4s;
}
.act-image-wrapper{
		width: 272px;
		height: 250px;
		overflow: hidden;
}
.act-image-wrapper img{
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: bottom;
		display: block;   
}
.activity .meta{
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--text-color-light-gray);
    font-size: 16px;
    display: flex;
		justify-content: space-between;
}
.activity .meta .price{
		font-size: 20px;
		color: #C00000;
}
.activity .meta .salse{
	
}
.act-title{
    color: var(--text-color-dark);
    font-size: 18px;
    margin-bottom: 12px;
}
.activity article{
    color: var(--text-color-gary);
    letter-spacing: 0.54px;
    line-height: 24px;
}
.activity .read-more-btn{
    border: 0;
    color: white;
    background-color: var(--primary-color);
    border-radius: 4px;
    padding: 6px 14px;
    margin-top: 16px;
    outline: none;
}
.activity:hover{
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0px 0px 36px rgba(0, 0, 0,0.1) ;
}


/* 产品展示 */
.showcases{
    margin-top: 72px;
}
.filter-btns{
		margin: 36px;
}
.filter-btn{
    margin: 0 8px 8px;
    background-color: var(--secondary-color);
    border: 0;
    color: var(--text-color-dark-gray);
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.4s;
    outline: none;
}
.filter-btn.active, .filter-btn:hover{
    background-color: var(--primary-color);
    color: white;
}
.case-list {
    display: grid;
		grid-template-columns: 1fr 1fr 1fr;
		column-gap: 32px;
		row-gap: 32px;
}
.case-item{
    overflow: hidden;
		padding: 10px;
		box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
}
.case-item img {
		width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 底部信息 */
footer{
    margin-top: 40px;
    background-color: #181818;
    display: grid;
    justify-items: center;
    padding-top: 72px;
    padding-bottom: 24px;
}
.footer-menus{
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    padding: 0 80px;
    position: relative;
}
.menu-title{
    font-size: 16px;
    color: white;
    margin-bottom: 20px;
}
.menu-items li{
    list-style: none;
    padding-bottom: 8px;
    color: white;
}
.menu-items li a{
    text-decoration: none;
    font-weight: 300;
    color: var(--text-color-lightest);
}
.icp-info{
    margin-top: 24px;
    margin-bottom: 16px;
}
.icp-info, .rights{
    grid-column: 1 / -1;
    justify-self: center;
    color: white;
}
.scrollToTop {
    display: none;
    z-index: 60;
}
.scrollToTop a{
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    position: fixed;
    right: 30px;
    text-decoration: none;
    bottom: 30px;
}

@media (max-width: 1100px) {
    header nav {
        display: none;
    }
    header{
        grid-template-columns: 1fr 1fr;
    }
    header .burger{
        display: block;
        width: 20px;
        height: 6px;
        position: relative;
        justify-self: end;
        cursor: pointer;

    }
    .burger-line1,
    .burger-line2,
    .burger-line3{
        width: 20px;
        height: 2px;
        background-color: var(--text-color-lightest);
    }
    .burger-line1 {
        position: absolute;
        top: -6px;
    }
    .burger-line3{
        position: absolute;
        top: 6px;
    }
    .slide-caption h1 {
        font-size: 40px;
    }
    .slide-caption h3 {
        font-size: 18px;
    }
    .explore-btn {
        font-size: 16px;
        padding: 8px 18px;
    }

    header.open nav {
        display: grid;
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        background-color: white;
        grid-auto-rows: max-content;
        justify-items: end;
        padding: 0 40px;
        opacity: 0;
        animation:slideDown 0.6s ease-out forwards;
    }
    header.open nav > * {
        color: var(--text-color-darker);
        animation:showMenu 0.5s linear forwards 0.4s;
        font-size: 18px;
        margin: 4px 1px;
        opacity: 0;
    }
    header.open nav i {
        margin-top: 10px;
    }
    header.open nav a {
        color: var(--text-color-darker);
    }
    header.open .burger-line1,
    header.open .burger-line2,
    header.open .burger-line3,
    header.sticky .burger-line1,
    header.sticky .burger-line2,
    header.sticky .burger-line3{
        background-color: var(--text-color-darker);
        transition: 0.4s ease;
    }
    
    header.open .burger-line1 {
        transform: rotate(45deg) translate(3px, 5px);
    }
    header.open .burger-line2{
        transform: translateX(5px);
        opacity: 0;
    }
    header.open .burger-line3{
        transform: rotate(-45deg) translate(3px,-5px);
    }
    header.open .logo{
        z-index: 40;
        color: var(--text-color-darker);
    }

    @keyframes slideDown {
        from {
            height: 0;
            opacity: 0;
        }
        to{
            height: 100vh;
            padding-top: 80px;
            opacity: 1;
        }
    }
    @keyframes showMenu {
        from {
            opacity: 0;
            transform: translateY(-1vh);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    .service .services .service-item .service-title {
        font-size: 20px;
    }
    .service .services .service-item .service-content {
        font-size: 14px;
        line-height: 24px;
    }
    .team-members {
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 36px;
        column-gap: 36px;
    }
    .activities, .case-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 992px){
    .slide-caption h1 {
        font-size: 36px;
    }
    .slide-caption h3 {
        font-size: 18px;
    }
    .explore-btn {
        font-size: 16px;
        padding: 8px 18px;
    }
    .features, .services {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: unset;
    }
    .data-section {
        grid-template-columns: repeat(2,minmax(200px, auto));
        padding: 24px 0;
        height: auto;
        row-gap: 24px;
    }
}

@media(max-width:768px){
    section,
    .footer-menus{
        padding: 0 40px;
    }
    .footer-menus {
        grid-template-columns: 2fr 1fr 1fr;
        row-gap: 24px;
    }
    .footer-menu{
        text-align: right;
    }
    .data-section {
        grid-template-columns: 1fr;
    }
    .features, .services {
        grid-template-columns: 1fr;
    }
}

@media(max-width:576px){
    .slide-caption h1 {
				width: 200px;
        font-size: 24px;
    }
    .slide-caption h3{
        font-size: 14px;
    }
    .explore-btn {
        font-size: 14px;
        padding: 8px 18px;
    }
		.team-members, .activities, .case-list {
		    grid-template-columns: 1fr;
		}
		.filter-btns {
		    margin: 24px 0;
		}
    .footer-menus {
        grid-template-columns: 1fr;
    }
    .footer-menu {
        justify-self: start;
        text-align: left;
    }
}