/* author：siubacy  于2024 11 
* 
*
*/
/* 2025年1月4日18:52:58:00:00 */

/* logo动画css */
.focus-in-contract-bck{-webkit-animation:focus-in-contract-bck 1s cubic-bezier(.25,.46,.45,.94) both;animation:focus-in-contract-bck 1s cubic-bezier(.25,.46,.45,.94) 200ms both}
/* logo动画css关键帧 */
 @-webkit-keyframes focus-in-contract-bck{0%{letter-spacing:1em;-webkit-transform:translateZ(300px);transform:translateZ(300px);-webkit-filter:blur(12px);filter:blur(12px);opacity:0}100%{-webkit-transform:translateZ(12px);transform:translateZ(12px);-webkit-filter:blur(0);filter:blur(0);opacity:1}}@keyframes focus-in-contract-bck{0%{letter-spacing:1em;-webkit-transform:translateZ(300px);transform:translateZ(300px);-webkit-filter:blur(12px);filter:blur(12px);opacity:0}100%{-webkit-transform:translateZ(12px);transform:translateZ(12px);-webkit-filter:blur(0);filter:blur(0);opacity:1}}



/* 动画结束 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Helvetica, "PingFang SC", "Microsoft Yahei", sans-serif;
    font-size: 14px;
}

img {
    width: 100%;
}
.logo_img{
    width: 10%;
    vertical-align: middle;
}
:root {
    --primary-color: #ff434f;
    --primary-color:#d61828;
    --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:#0b309c; */
    --text-color-white:#F3EDE0;
}

header {
    width: 100vw;
    height: 80px;
    /* 栅格布局 */
    display: grid;
    padding: 0 40px;
    /* 两列，一列占三分之一，一列占三分之二 */
    grid-template-columns: 1fr 2fr;
    /* 垂直居中 */
    align-items: center;
    /* 用于定位导航菜单 */
    position: relative;
    z-index: 200;
}


/* logo */

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color-lightest);
}

header nav {
    justify-self: end;
}

header nav a {
    color: var(--text-color-lightest);
    text-decoration: none;
    margin: 0 24px;
    /* 2025年1月2日20:58:58 */
    font-size: 1.3rem;
    font-weight: bolder;
}
/* 2025年1月2日20:58:58 */
header nav a:hover,
header.sticky nav a:hover{
    color: var(--primary-color);
}

header nav i {
    color: var(--text-color-lightest);
}

header .burger {
    display: none;
}

/* 2025年1月2日20:58:58 */
header .search-home-box{
    display: none;
 
}
/* end */
header.sticky {
    position: fixed;
    background-color: white;
    background: rgba(255, 255, 255, .5);
        backdrop-filter: blur(6px);
    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(0);
    }
}

.glide {
    /* 定位标题和图片 */
    position: relative;
    /* 抵消导航高度 */
    top: -80px;
    /* 放置在最下层 */
    z-index: 50;
}

 .glide__slide img,
.glide__slide video {
    /* 2025年1月2日16:06:00 */
    object-fit: cover;
    /* aspect-ratio: 16/9; */
    width: 100vw;
    height: 100vh;
}

.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>* {
    opacity: 0;
}

.slide-caption h1 {
    font-size: 54px;
    font-weight: 600;
}

.slide-caption h3 {
    font-size: 24px;
    margin: 48px 0;
}

.slide-caption.left {
    max-width: 80vw;
    text-align: left;
}

.backdrop {
    background: var(--backdrop-color);
    opacity: 0.5;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    /* 放置在幻灯片上层 */
    z-index: 60;
}

.glide__arrows,
.glide__bullets {
    z-index: 70;
}


/* 探索更多按钮 */

.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;
}

section {
    display: grid;
    justify-items: center;
    max-width: 1180px;
    padding: 0 80px;
}

.title1{
    font-size: 2rem;
}

.title1::after {
    content: "";
    display: block;
    width: 80%;
    height: 4px;
    transform: translateX(10%);
    margin-top: 14px;
    background-color: var(--primary-color);
  }
/*  title1 {
    justify-self: center; */


/* position: relative;
    font-size: 34px;
    color: var(--text-color-darker);
}



.title1::after {
    content: "";
    display: block;
    width: 80%;
    height: 4px;
    transform: translateX(10%);
    margin-top: 14px;
    background-color: var(--primary-color);
} */

.intro {
    margin: 28px 0 60px 0;
    font-size: 18px;
    color: var(--text-color-dark-gray);
}

.section-bg {
    position: relative;
}

.section-bg::before {
    content: "";
    display: block;
    position: absolute;
    background-color: #f9fbfb;
    width: 100vw;
    width: 100%; 
    height: 100%;
    z-index: -1;
}

.about {
    padding-bottom: 32px;
    margin: 8px;
    padding-top: 62px;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 126px 126px;
    column-gap: 5vw;
    align-items: center;
}

.feature {
    display: grid;
    grid-template-areas: "icon title" "icon content";
    /* 每列的宽度，第一列60象素，第二列占满剩余空间 */
    grid-template-columns: 60px 1fr;
    grid-template-rows: 1fr 3fr;
}

.feature i.fas {
    grid-area: icon;
    font-size: 34px;
    color: var(--primary-color);
}

.feature-title {
    grid-area: title;
    font-size: 18px;
    color: var(--text-color-darker);
}

.feature-content {
    grid-area: content;
    color: var(--text-color-gray);
    margin-top: 8px;
}

.service {
    padding-top: 131px;
}

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 1fr;
    column-gap: 38px;
    row-gap: 34px;
}

.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.fas {
    grid-area: icon;
    font-size: 42px;
    color: var(--primary-color);
    padding-top: 6px;
}

.service-item .service-title {
    grid-area: title;
    color: var(--text-color-darker);
    font-size: 24px;
}

.service-item .service-content {
    grid-area: content;
    color: var(--text-color-gray);
    line-height: 30px;
    font-size: 16px;
    margin-top: 8px;
}

.team-intro {
    margin-top: 48px;
    padding-top: 62px;
    padding-bottom: 52px;
}

.team-members {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
    margin-top: 86px;
}

.team-member {
    background-color: white;
    box-shadow: 0px 0px 24px 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 {
    width: 100%;
    /* 2025年1月2日16:19:45 */
    /* height: 264px; */
    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);
    margin-top: 12px;
    margin-bottom: 18px;
}

.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/adult-business-computer-contemporary-380769.jpg);
    background-size: cover;
    background-position: center;
    /* 4列布局 */
    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: white;
    position: relative;
    z-index: 40;
}

.data-piece i.fas {
    font-size: 44px;
}

.data-piece .num {
    margin-top: 7px;
    font-size: 41px;
    font-weight: 600;
}

.data-piece .data-desc {
    font-size: 18px;
    font-weight: 500;
}

.product {
    /* margin-top: 88px; */
}

.activities {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 24px;
}

.activity {
    box-shadow: 0px 0px 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; */
    aspect-ratio: 16/9;
    /* 2025年1月2日15:50:17 */
    
}

.activity .meta {
    margin-top: 20px;
    margin-bottom: 12px;
    color: var(--text-color-light-gray);
    font-size: 12px;
    display: flex;
}

.activity .meta>p:last-child {
    margin-left: 36px;
}

.act-title {
    color: var(--text-color-dark);
    font-size: 18px;
    margin-bottom: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.activity article {
    color: var(--text-color-gray);
    letter-spacing: 0.54px;
    line-height: 24px;
    display: -webkit-box;
    /*值必须为-webkit-box或者-webkit-inline-box*/
    -webkit-box-orient: vertical;
    /*值必须为vertical*/
    -webkit-line-clamp: 2;
    /*值为数字，表示一共显示几行*/
    overflow: hidden;
}

.buy-btn {
    border: 0;
    color: white;
    background-color: var(--primary-color);
    border-radius: 4px;
    padding: 6px 14px;
    margin-top: 24px;
    /* margin-top: auto; */
    cursor: pointer;
}

.activity:hover {
    transform: translateY(-20px) scale(1.05);
    box-shadow: 0px 0px 36px rgba(0, 0, 0, 0.1);
}

footer {
    margin-top: 124px;
    background-color: #181818;
    background-color: #3671cf;
    display: grid;
    justify-items: center;
    padding-top: 72px;
    padding-bottom: 24px;
}

.footer-menus {
    width: 100%;
    max-width: 1180px;
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    padding: 0 80px;
    position: relative;
}

.footer-menu {
    justify-self: end;
}

.menu-title {
    font-size: 16px;
    color: white;
    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;
}

.menu-items li {
    list-style: none;
    padding-bottom: 8px;
}

.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;
    position: relative;
    z-index: 300;
}

.scrollToTop a {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    position: fixed;
    bottom: 60px;
    right: 20px;
}
.translate{
    display: block;
    position: relative;
    z-index: 300;
}
.translate a:first-child{
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    position: fixed;
    bottom:95px;
    right: 20px;
}
.translate a:last-child{
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    position: fixed;
    position: fixed;
    bottom: 130px;
    right: 20px;
}

/* 自适应，小于1100象素时 */

@media (max-width: 1100px) {

    /* 2025年1月2日21:00:00 */
    header .search-home-box{
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
        align-items: center;
        position: relative;
        vertical-align: middle;
        font-size: 14px;
        
    }
    /* 简体按钮 和 EN按钮 */
    header .translate-btn,header .search-home-box > a{
        position: relative;
        /* padding: 0.5rem 0.6rem; */
        /* margin: 0   10px; */
    }
    header .translate-btn::after{
        
        content: "";
        position: absolute;
        top: 50%;
        right: 0;
        width: 1px;
        height: 50%;
        background-color: var(--text-color-lightest);
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -o-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    header.open .search-home-box > * ,
    header.sticky .search-home-box > *{
        /* font-weight: bolder; */
        z-index: 40;
        color: var(--text-color-darker);
        font-weight: bolder;
    }
    /* ::after 效果 */
    header.sticky .translate-btn::after,
    header.open .translate-btn::after{
        z-index: 40;
        background-color: var(--text-color-darker);
    }

    header .search-home-box > a,
    header .search-home-box > i{
        /* margin-left: 10px; */
        text-decoration: none;
        color: var(--text-color-lightest);
        font-weight: bolder;
        padding: 0.5rem 0.6rem;
        font-size: 1.3rem;

    }
    /* 取消电脑网页的简体繁体 */
    div.translate{
        display: none;
    }   

    .section-bg::before {
        width: 100%;
    }

    /* end */

    
    header nav {
        display: none;
    }
    header {
        grid-template-columns: repeat(2, 1fr);
    }
    header .burger {
        display: block;
        justify-self: end;
        cursor: pointer;
        position: relative;
        width: 20px;
        height: 6px;
        /* 2025年1月3日20:09:50 */
        margin-left: 10px;
    }
    .burger-line1,
    .burger-line2,
    .burger-line3 {
        width: 20px;
        height: 2px;
        background-color: var(--text-color-lightest);
        /* position: relative; */
    }
    .burger-line1 {
        position: absolute;
        top: -6px;
    }
    .burger-line3 {
        position: absolute;
        top: 6px;
    }
    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 {
        color: var(--text-color-darker);
        z-index: 40;
    }
    header.open nav {
        display: grid;
        grid-auto-rows: max-content;
        justify-items: end;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(255, 255, 255, .8);
        backdrop-filter: blur(6px);
        width: 100vw;
        height: 100vh;
        padding: 0 40px;
        opacity: 0;
        animation: slideDown 0.6s ease-out forwards;
    }
    header.open nav>* {
        margin: 4px 0;
        font-size: 18px;
        color: var(--text-color-darker);
        opacity: 0;
        animation: showMenu 0.5s linear forwards 0.4s;
    }
    header.open nav>i.fas {
        margin-top: 10px;
    }
    @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;
        }
    }
    .service-item .service-title {
        font-size: 20px;
    }
    .service-item .service-content {
        font-size: 14px;
        line-height: 24px;
    }
    .team-members {
        grid-template-columns: repeat(1, 1fr);
        column-gap: 6vw;
        row-gap: 36px;
    }
    .activities {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 36px;
    }
}


/* 小于992象素时 */

@media (max-width: 992px) {
    .slide-caption h1 {
        font-size: 48px;
    }
    .slide-caption h3 {
        font-size: 18px;
    }
    .features,
    .services {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: unset;
    }
    .data-section {
        grid-template-columns: repeat(2, minmax(200px, auto));
        row-gap: 24px;
        height: auto;
        padding: 24px 0;
        background-size: 200%;
    }
    .logo_img{
        width: 10%;
        vertical-align: middle;
    }
}


/* 小于768象素时 */

@media (max-width: 768px) {
    /* 区域的左右内边距设置为40象素 */
    section,
    .footer-menus {
        padding: 0 40px;
    }
    .features,
    .services {
        grid-template-columns: 1fr;
    }
    .team-members {
        grid-template-columns: minmax(200px, 400px);
        /* column-gap: 6vw;
    row-gap: 36px; */
    }
    .data-section {
        grid-template-columns: 1fr;
        background-size: 320%;
    }
    .activities {
        grid-template-columns: 1fr;
        row-gap: 36px;
    }
    .showcases .case-item {
        width: calc(100vw / 2);
        height: 30vw;
    }
    .footer-menus {
        grid-template-columns: 2fr repeat(2, 1fr);
        row-gap: 24px;
    }
    .contact-us {
        grid-row: 1 / 3;
    }
    .footer-menu {
        text-align: right;
    }

    .logo{
        overflow: hidden;
        text-wrap: nowrap;
    }
    .logo_img{
        width: 10%;
        vertical-align: middle;
    }
}


/* 小于576象素 */

@media (max-width: 576px) {
    .slide-caption h1 {
        font-size: 28px;
    }
    .slide-caption h3 {
        font-size: 14px;
    }
    .explore-btn {
        padding: 8px 18px;
        font-size: 14px;
    }
    .showcases .case-item {
        width: 100vw;
        height: 60vw;
    }
    .footer-menus {
        grid-template-columns: 1fr;
        /* row-gap: 24px; */
    }
    .footer-menu {
        justify-self: start;
        text-align: left;
    }

/* 手机的屏幕取消 */
    .glide__arrow{
        display: none;
    }
    .logo_img{
        width: 20%;
        vertical-align: middle;
    }

    .logo{
       
        overflow: hidden;
        text-wrap: nowrap;
    }
    
}



@media (max-width: 400px) {
    
    header .search-home-box > a, header .search-home-box > i{
        font-size: 1rem;
    }
    .logo{
        font-size: 20px;
        overflow: hidden;
        text-wrap: nowrap;
    }
    
}


@media (max-width: 360px) {
    header .search-home-box > a, header .search-home-box > i{
        font-size: 0.8rem;
    }
    header .burger {
        margin-left: 0;
    }
    .logo{
        font-size: 16px;
        overflow: hidden;
        text-wrap: nowrap;
    }

}

.en{
    text-wrap: wrap;
}


/* 测试 */
/* .team-members{
    display: flex;
    width: 100%;
    height: 500px;
    flex-wrap: nowrap;
    overflow-y: hidden;
    overflow-x: scroll; 
    padding: 10% ;
}
.team-member{
    min-width: 400px;
} */
