

/* CSS变量定义 */
:root {
    /* 字体家族 */
    --font-primary: "NeueHaasDisplayLight", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-medium: "NeueHaasDisplay-Medium", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-medium-italic: "NeueHaasDisplay-MediumItalic", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-thin: "NeueHaasDisplay-Thin", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    
    /* 字体大小 */
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --font-size-h3: 1.5rem;
    --font-size-h4: 1.25rem;
    --font-size-h5: 1.1rem;
    --font-size-h6: 1rem;
    --font-size-body: 1rem;
    --font-size-small: 0.875rem;
    --font-size-xs: 0.75rem;
    
    /* 行高 */
    --line-height-heading: 1.25;
    --line-height-body: 1.6;
    --line-height-tight: 1.2;
    
    /* 字重 */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* 颜色 */
    --color-primary: #FFFFFF;
    --color-secondary: #CCCCCC;
    --color-accent: #2A4656;
    --color-background: #000000;
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
}

/* 移动端响应式变量 */
@media (max-width: 768px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.5rem;
        --font-size-h3: 1.2rem;
        --font-size-h4: 1.1rem;
        --font-size-h5: 1rem;
        --font-size-h6: 0.95rem;
        --font-size-body: 0.875rem;
        --font-size-small: 0.75rem;
        --font-size-xs: 0.625rem;
    }
}

body {
    color: var(--color-primary) !important;
    line-height: var(--line-height-body) !important;
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-body) !important;
    background-color: var(--color-background);
}
body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1000px; /* 调整高度以覆盖空白区域 */
    background-color: black;
    z-index: -1; /* 确保在内容下方 */
}

/* 统一的字体继承 */
* {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: var(--font-weight-regular) !important;
    box-sizing: border-box;
}

/* 标题样式统一 */
h1, .h1 {
    font-family: var(--font-medium);
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-heading);
}
h2, .h2 {
    font-family: var(--font-medium);
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-heading);
}
h3, .h3 {
    font-family: var(--font-medium);
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-heading);
}
h4, .h4 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-medium);
}
h5, .h5 {
    font-size: var(--font-size-h5);
    font-weight: var(--font-weight-medium);
}
h6, .h6 {
    font-size: var(--font-size-h6);
    font-weight: var(--font-weight-medium);
}
/* 正文样式统一 */
p, .text-content, li, ul, ol, a, span, label, input, textarea, button {
    font-family: var(--font-primary);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-body);
}

/* 移动端响应式样式 */
@media (max-width: 576px) {
    body {
        font-size: var(--font-size-body) !important;
    }
    h1, .h1 { font-size: var(--font-size-h1) !important; }
    h2, .h2 { font-size: var(--font-size-h2) !important; }
    h3, .h3 { font-size: var(--font-size-h3) !important; }
    h4, .h4 { font-size: var(--font-size-h4) !important; }
    h5, .h5 { font-size: var(--font-size-h5) !important; }
    h6, .h6 { font-size: var(--font-size-h6) !important; }
    p, .text-content, li, ul, ol, a, span, label, input, textarea, button {
        font-size: var(--font-size-body) !important;
    }
}

@font-face {
    font-family: "NeueHaasDisplay-Medium";
    src: url("../fonts/NeueHaasDisplay-Medium.otf") format("opentype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "NeueHaasDisplay-MediumItalic";
    src: url("../fonts/NeueHaasDisplay-MediumItalic.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "NeueHaasDisplay-Thin";
    src: url("../fonts/NeueHaasDisplay-Thin.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
}

/* 移除重复的 * 选择器，上面的样式已经包含了所有属性 */

/* navbqr */

nav {
    display: flex;
    justify-content: space-between;
    /* padding: 5px 30px 15px;*/
    border-bottom: 1px solid gray;
    font-size: 1rem;
    font-family: var(--font-primary);
    background-color: black;
}

.nav-logo {
    font-size: 4rem;
}

.nav-logo a {
    line-height: 1;
}

.nav-logo {
    font-size: calc(2vw + 2rem);
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: calc(5vw + 1rem);
    width: auto;
}

nav a {
    color: white;
    text-decoration: none;
    transition: .4s;
    display: flex;
    align-items: center;
}

nav a:hover {
    color: white;
    filter: invert(.4);
    transition: .4s;
}

@media (max-width: 576px) {
    nav {
        padding: 5px;
    }
}

/* flip card */
.flip-card-content {
    transform-style: preserve-3d;
    cursor: pointer;
}

nav .flip-card-content {
    transform: translateX(-10px);
    transform: translateY(6px);
    cursor: pointer;
}

.flip-card-side-a {
    position: relative;
    backface-visibility: hidden;
    transform-origin: 50% 50%;
    transition: all .5s ease-in-out;
    cursor: pointer;
}


.flip-card-side-b {
    top: 0;
    position: absolute;
    backface-visibility: hidden;
    transform-origin: 50% 50%;
    transition: all .5s ease-in-out;
    cursor: pointer;
}



.flip-card-side-a {
    transform: rotateX(0deg) translateZ(30px);
    cursor: pointer;
}

.flip-card-side-b {
    transform: rotateX(90deg) translateZ(30px);
    opacity: 0;
    cursor: pointer;
}

.flip-card-content:hover .flip-card-side-a {
    transform: rotateX(-90deg) translateZ(30px);
    opacity: 0;
    cursor: pointer;
}

.flip-card-content:hover .flip-card-side-b {
    transform: rotateX(0deg) translateZ(30px);
    opacity: 1;
    cursor: pointer;
}

.flip-card-content:hover .flip-card-side-b a {
    color: grey !important;
    cursor: pointer;
}

@media (max-width: 576px) {
    .flip-card-content .flip-card-side-a {
        transform: rotateX(0deg) translateZ(0px);
    }

    .flip-card-content .flip-card-side-b {
        transform: rotateX(0deg) translateZ(0px);
    }

    .flip-card-content:hover .flip-card-side-a {
        transform: rotateX(0deg) translateZ(0px);
        opacity: 0;
        cursor: pointer;
    }

    .flip-card-content:hover .flip-card-side-b {
        transform: rotateX(0deg) translateZ(0px);
        opacity: 0;
        cursor: pointer;
    }
}

/* index.html */

.home-wrapper {
    perspective: 100px;
    position: relative;
    width: 100%;
    height: 80vh;
    background-color: rgb(0, 0, 0);
    background-size: cover;
    transition: transform 0.5s;
    font-family: var(--font-primary);
    overflow: hidden;
}

.home-wrapper-overlay1 {
    width: 100%;
    height: 200vh;
    position: absolute;
    background-image: url("../img/slider.jpg");
    background-size: cover;
    background-origin: content-box;
    background-repeat: no-repeat;
    background-position: center;
}

.home-wrapper-overlay2 {
    width: 25vw;
    height: 100vh;
    position: absolute;
    top: 30px;
    left: 58.5%;
    background-image: url("../img/slider2.jpg");
    background-size: contain;
    background-origin: content-box;
    background-repeat: no-repeat;
    padding: 50px;
    text-align: center;
    background-position: center;
    transition: transform 0.5s;
}

@media (max-width: 576px) {
    .home-wrapper-overlay2 {
        width: 300px;
        height: 600px;
        top: -40px;
        left: 0%;
    }
}

.home-wrapper-overlay3 {
    position: absolute;
    width: 80vw;
    margin: 0 10vw;
    height: 300px;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("../img/gmslogobos.svg");
    background-origin: content-box;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.home-wrapper-overlay3:hover {
    background-image: url("../img/gmslogodolu.svg");
}

.pluses {
    width: 100%;
    height: 100vh;
    position: absolute;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 2rem;
    font-weight: lighter;
}

.pluses1 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    font-weight: lighter;
}

.home-text-box1 {
    width: 400px;
    position: absolute;
    left: 100px;
    top: 100px;
    font-size: 2rem;
}

.home-text-box2 {
    width: 550px;
    position: absolute;
    right: 30px;
    bottom: 100px;
    font-size: 1.1rem;
    font-family: var(--font-thin);
}

/* TODO: ek */
.home-text-box3 {
    width: 550px;
    position: absolute;
    left: 75px;
    bottom: 100px;
    font-size: 1.5rem;
    font-family: var(--font-thin);
}

.home-text-box3 a {
    color: white;
}

.home-text-box3 a:hover {
    color: white;
}

.home-text-menubtn {
    width: 100px;
    height: 30px;
    position: absolute;
    right: 30px;
    top: 20px;
    font-size: 1.2rem;
    z-index: 999 !important;
}

@media (max-width: 576px) {
    .home-text-box1 {
        width: 200px;
        position: absolute;
        left: 50px;
        top: 150px;
        font-size: 1rem;
    }

    .home-text-box2 {
        width: 300px;
        position: absolute;
        right: 30px;
        bottom: 120px;
        font-size: 1rem;
    }

    .home-text-box3 {
        position: absolute;
        left: 25px;
        bottom: 50px;
        font-size: 1rem;
    }

    .home-text-menubtn {
        position: absolute;
        right: -20px;
        top: 26px;
    }
}

/* The Overlay Menu */
.overlay {
    height: 0;
    width: 100%;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    background-color: #2A4656;
    overflow: hidden;
    transition: 1s;
}

.overlay * {
    z-index: 1000;
}

.overlay-content {
    width: 100%;
    height: 100%;
    display: flex;
    color: white;
    flex-direction: column;
}

.overlay-content ul a {
    text-decoration: none;
    color: white;
    display: block;
    transition: 0.9s;
    padding-top: 8px;
    padding-bottom: 8px;
}

.overlay-content .overlay-links {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
}

.overlay-links1 {
    font-size: var(--font-size-body);
    font-family: var(--font-thin);
}

.overlay-links1-last {
    font-size: var(--font-size-h1);
    font-family: var(--font-primary);
    transform: scale(1, 1.2);
}

.overlay-links2 {
    font-size: var(--font-size-h5);
    font-family: var(--font-thin);
}

/* ABOUT.html *********************** */

.about-wrapper {
    background-color: black;
    width: 100%;
}

.about-wrapper .banner {
    padding: 50px;
    height: 1000px;
    font-size: 2.5rem;
}

.about-wrapper .banner .banner-imgs {
    width: 50%;
    height: 400px;
    position: relative;
    margin: auto;
}

.about-wrapper .banner img {
    height: 500px;
    position: absolute;
}

.banner2 {
    height: auto;
}

.banner2 .banner-imgs {
    padding: 20px;
}

.banner2 img {
    width: 100%;
}

.about-wrapper .banner img:nth-child(1) {
    top: 300px;
    left: -20%;
}

.about-wrapper .banner img:nth-child(2) {
    top: 50px;
    left: 10%;
}

.about-wrapper .banner img:nth-child(3) {
    top: 600px;
    left: 45%;
}

.about-wrapper .banner .banner-imgs2 {
    width: 50%;
    height: 400px;
    position: relative;
    margin: auto;
}

.about-wrapper .banner .banner-imgs2 img:nth-child(1) {
    height: 400px;
    position: absolute;
    top: 90px;
    left: -10%;
}

.about-wrapper .banner .banner-imgs2 img:nth-child(2) {
    height: 400px;
    position: absolute;
    top: 1px;
    left: 20%;
    z-index: 99;
}

.about-wrapper .banner .banner-imgs2 img:nth-child(3) {
    height: 400px;
    position: absolute;
    top: 250px;
    left: 40%;
    z-index: 99;
}

.about-wrapper .banner-subtitle {
    font-size: var(--font-size-h3);
    font-family: var(--font-thin);
    font-weight: var(--font-weight-bold);
    padding-left: 10px;
    margin-bottom: 50px;
}

@media (min-width: 577px) and (max-width: 1000px) {
    .about-wrapper .banner .banner-imgs2 img:nth-child(2) {
        height: 50vh;
        position: absolute;
        top: 1px;
        left: 20%;
        z-index: 99;
    }
}

@media (max-width: 576px) {
    .about-wrapper .banner-subtitle {
        font-size: 1.1rem;
        padding-left: 10px;
    }

    .about-wrapper .banner .banner-imgs2 img:nth-child(2) {
        height: 50vw;
        position: absolute;
        top: 1px;
        left: 20%;
    }

    .about-wrapper .banner {
        height: 40vh;
    }

    .about-wrapper .banner .banner-imgs {
        height: 40vh;
    }
}

@media (max-width: 762px) {
    .about-wrapper .banner {
        padding: 5px;
        height: 60vh;
        font-size: 1rem;
    }

    .about-wrapper .banner .banner-imgs {
        width: 100%;
        height: 40vh;
        position: relative;
    }

    .about-wrapper .banner img:nth-child(2) {
        height: 65vw;
        width: 65vw;
        position: absolute;
        top: 45px;
        left: 10vw;
        z-index: 99;
    }
}

.ptext {
    height: fit-content;
    width: 80%;
    font-size: 2.3rem;
    margin: 20px 10px;
    font-family: var(--font-thin);
}

@media (max-width: 960px){
    .ptext {
        width: 95%;
    }
}

.scroll-text {
    height: 250px;
    width: 80%;
    overflow: scroll;
    direction: rtl;
    padding-left: 50px;
    font-size: 2.3rem;
    margin: 50px 0;
    font-family: var(--font-thin);
}

.scroll-text2 {
    height: 100%;
    width: 80%;
    padding-left: 50px;
    font-size: var(--font-size-h3);
    margin: 50px 0;
    font-family: var(--font-thin);
    text-indent: 100px;
}

.scroll-textfuture {
    height: 150px !important;
    margin: 30px 0;
}

@media (max-width: 576px) {
    .scroll-text {
        width: 100%;
        padding-left: 5px;
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .scroll-text2 {
        height: 100%;
        width: 100%;
        padding-left: 50px;
        font-size: var(--font-size-h3);
        font-family: var(--font-thin);
        text-indent: 100px;
}
}

.scroll-text .content {
    direction: ltr;
}

.scroll-text .content p {
    text-indent: 100px;
}

@media (max-width: 576px) {
    .scroll-text .content p {
        text-indent: 40px;
    }
}

.scroll-text::-webkit-scrollbar {
    background: white;
    width: 5px;
    height: 20% !important;
}

.scroll-text::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 0 2.3px black;
}

.scroll-text::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: white;
    -webkit-box-shadow: inset 0 0 6px rgba(255, 255, 255);
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

#banner-title {
    /* This section calls the slideInFromLeft animation we defined above */
    animation: 1s ease-out 0s 1 slideInFromLeft;
    padding: 30px;
}

@keyframes slideInFromUp {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

#banner-title2 {
    /* This section calls the slideInFromLeft animation we defined above */
    animation: 1.5s ease-out 0s 1 slideInFromUp;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(+100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

#banner-title3 {
    /* This section calls the slideInFromLeft animation we defined above */
    animation: 3s ease-out 0s 1 slideInFromRight;
}

/*#scrollbox:hover::-webkit-scrollbar {
    background: white;
}*/

#scrollbox:hover::-webkit-scrollbar-thumb {
    background-color: white;
}

/* TODO: ek */

.sliderupbox {
    font-size: var(--font-size-h1);
    font-family: var(--font-thin);
    height: 100%;
    margin: 80px 0 0 0 !important;
}

@media (max-width: 576px) {
    .sliderupbox {
        margin: 1px 0 0 0 !important;
        font-size: 1.5rem;
        height: 100%;
    }
}

.sliderupbox a {
    text-decoration: none;
    color: white;
    transition: ease .4s;
}

.sliderupbox-lastitem {
    font-family: var(--font-primary);
    transform: scale(1, 1.6) translateY(-4px);
}

.sliderupbox a:hover {
    color: gray;
    transition: ease .4s;
}

.sliderupbox a img {
    transition: ease .4s;
}

.sliderupbox a:hover img {
    filter: invert(.5);
    transition: ease .4s;
}

.sliderupbox .col-12 > div {
    border-bottom: .2px solid gray;
}

/* owl carousel */

.owl-carousel {
    clear: both;
    border-bottom: 1px solid grey;
}

.owl-dots {
    position: absolute;
    top: -40px; /* 保持上方定位 */
    left: 50%; /* 水平居中 */
    transform: translateX(-50%); /* 精确居中 */
    width: 100%; /* 适应容器宽度 */
    text-align: center; /* 确保 dots 居中排列 */
    padding: 0 20px; /* 预留左右空间 */
    margin: 0; /* 移除默认外边距 */
}

/* 响应式调整（可选） */
@media (max-width: 768px) {
    .owl-dots {
        top: -30px; /* 移动端适当缩短距离 */
    }
}

.owl-item {
    height: calc(80vw);
}

button.owl-dot {
    margin: 3px;
    width: 12px;
    height: 12px;
    border-radius: 10px !important;
    padding: 0 !important;
    border: .8px solid white !important;
}

button.owl-dot.active {
    background-color: whitesmoke !important;
}

/* clients */

.clients {
    position: relative;
}

.clients > div {
    padding: 10px;
}

.clients a {
    color: white;
    text-decoration: none;
    transition: ease .4s;
}

.clients a:hover {
    color: gray;
    cursor: pointer;
    transition: ease .4s;
}

.clients-box-title {
    font-weight: var(--font-weight-bold);
    font-family: var(--font-primary);
}

.clients-title {
    padding: 10px 2px;
    border-bottom: 1px solid gray;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-primary);
}

@media (max-width: 576px) {
    .clients-title {
        min-height: 60px;
    }
}

.clients-title2 {
    padding: 10px;
    display: flex;
    justify-content: end;
    border-bottom: none;
}





@media (max-width: 992px) {
    .moreclientbtn, .lessclientbtn {

        padding-top:20px;   
    }
}

/* footer

footer {
    background-color: rgb(0, 0, 0);
    padding: 40px 30px;
    color: black;
    font-family: var(--font-primary);
}

@media (max-width: 576px) {
    footer {
        padding: 20px 10px;
    }
}

footer a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    transition: ease .4s;
    font-size: calc(1.4vw + 10px);
}

footer a:hover {
    color: grey;
    transition: ease .4s;
}

footer .footer-logo:hover {
    color: white;
}

footer .col1 {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: calc(1.4vw + 10px);
}

footer .collast {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: calc(.7vw + 10px);
}

footer .collast div:nth-child(4) {
    font-size: calc(1.3vw + 10px);
}

.footer-logo {
    font-size: calc(5vw + 2rem);
    color: white;
    line-height: 1;
    display: flex;
    align-items: center;
}

.footer-logo img {
    height: calc(5vw + 1.3rem);
    width: calc(5vw + 1.3rem);
}

.footer-links {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
} */
/* 
@media (max-width: 576px) {
    .footer-links {
        padding: 30px 0;
    }
} */
 /* 页脚样式 */
        footer {
            background-color: #333;
            color: white;
            text-align: center;
            padding: 20px;
        }

        .social-icons {
            list-style-type: none;
            padding: 0;
            margin: 0;
            display: flex;
            justify-content: center;
            gap: 20px;
        }

       .social-icons li {
            display: inline-block;
        }

       .social-icons a {
            color: white;
            text-decoration: none;
            font-size: 24px;
            transition: color 0.3s;
            display: inline-block;
            width: 40px;
            height: 40px;
            line-height: 40px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
        }

       .social-icons a:hover {
            color: #e6f2f5;
            background-color: rgba(255, 255, 255, 0.2);
            transform: translateY(-3px);
        }
/* TEAM.html *********************** */

.team-wrapper {
    background-color: black;
    font-family: var(--font-primary);
}

.team-banner {
    padding: 100px;
}

.team-banner-title {
    width: 90%;
    font-size: 2rem;
    padding: 0 0 100px;
}

.team-banner-text {
    width: 90%;
    font-size: 2rem;
}

.team-members-box {
    margin-bottom: 100px;
}

.team-members-title {
    font-size: 2rem;
}

.team-members-detail {
    font-size: 1.4rem;
    margin: 5px 0 30px 0;
    height: 50px;
}

.team-members-img img {
    width: 100%;
    border: 1px solid grey;
}

.team-members-info {
    font-size: 1.0rem;
    padding-top: 30px;
}

.team-members-info p {
    margin-bottom: 1.8rem;
}

@media (max-width: 576px) {
    .team-banner {
        padding: 30px 0;
    }

    .team-banner-title {
        padding: 0 0 30px;
        font-size: 1.0em;
    }

    .team-banner-text {
        font-size: 1.2rem;
        text-indent: 0px;
    }

    .team-members-title {
        font-size: 1.4rem;
    }

    .team-members-detail {
        font-size: 1.2rem;
        margin: 5px 0 10px 0;
    }
}


/* PRINCIPLES.html */

.principles-wrapper {
    background-color: black;
}

/*accordion*/
.accordion {
    margin-bottom: 100px;
}

.accordion-button {
    padding: 20px 0 !important;
    border: none !important;
}

.accordion-button::before {
    flex-shrink: 0;
    width: var(--bs-accordion-btn-icon-width);
    height: var(--bs-accordion-btn-icon-width);
    margin-right: 20px;
    content: "";
    background-repeat: no-repeat;
    background-size: var(--bs-accordion-btn-icon-width);
    background-image: url('../img/circlearti.svg') !important;
}

.accordion-button:not(.collapsed)::before {
    background-image: url('../img/circlex.svg') !important;
}

.accordion-button:not(.collapsed) {
    box-shadow: none !important;
}

.accordion-button::after {
    background-image: none !important;
}

.accordion-button:not(.collapsed)::after {
    background-image: none !important;
}

.accordion-button:focus {
    z-index: 3;
    border-color: black !important;
    outline: 0;
    box-shadow: none !important;
}

.accordion-item, .accordion-button {
    border-color: black !important;
    font-size: var(--font-size-h3) !important;
    font-family: var(--font-thin);
}

.accordion * {
    background-color: black !important;
    color: white !important;
    border: none !important;
}

.mediumItalic {
    font-family: var(--font-medium-italic);
}

.mediumNormal {
    font-family: var(--font-medium);
}

/*.accordion-collapse {
    height: 400px;
}*/

@media (max-width: 576px) {
    .accordion {
        margin-bottom: 10px;
    }

    .accordion-item, .accordion-button {
        font-size: 1.3rem !important;
    }

    .accordion-button::before {
        margin-right: 10px;
    }

    .accordion-body {
        padding: 0 !important;
    }

    .principles-wrapper .accordion-collapse {
        height: auto;
    }
}

.acctext{
    width: 80%;
}

@media (max-width: 576px) {
    .acctext{
        width: 100%;
    }
}

.principles-wrapper .scroll-text {
    margin: 0;
}

/* 360 services-sourcing.html */

.services-wrapper {
    background-color: black;
}

.services-wrapper .scroll-text {
    margin-top: 0;
    margin-bottom: 120px;
}

@media (max-width: 576px) {
    .services-wrapper .scroll-text {
        margin-top: 0;
        margin-bottom: 40px;
    }
}

.services-wrapper .owl-carousel {
    padding-top: 40px !important;
}

.services-wrapper .owl-dots {
    top: 0 !important;
}

.page-title a {
    color: white;
    text-decoration: none;
}

.page-title a:hover {
    color: grey;
}

.services-p {
    padding: 50px 0;
    font-size: 2.5rem;
    text-transform: uppercase;
}

.services-filter-btns-wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

.services-filter-btns-wrapper a {
    color: white;
}

.services-filter-btns-wrapper a:hover {
    color: whitesmoke;
}

.filter-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 30px;
    border: .1px solid white;
    font-size: var(--font-size-h2);
    text-align: center;
    font-family: var(--font-primary);
    text-decoration: none;
}

.filter-btn1 {
    width: 33.333%;
}

.filter-btn2 {
    flex-grow: 2;
}

.filter-btn6 {
    flex-grow: 5;
}

.filter-btn:hover {
    background-color: #2A4656;
    transition: ease .4s;
}

.filter-btn.active {
    background-color: #2A4656;
    color: white;
    transition: ease .4s;
}

@media (max-width: 576px) {
    .filter-btn {
        width: 50%;
        font-size: 1rem;
        padding: 10px;
    }

    .filter-btn6 {
        width: 100%;
    }

    .services-p {
        font-size: 1.4rem;
        padding: 30px 0;
    }
}

/*
.table-wrapper {
    padding-left: 100px;
    padding-bottom: 100px;
}*/

@media (max-width: 576px) {
    .table-wrapper {
        padding-left: 0;
        padding-bottom: 50px;
        margin-bottom: 50px;
    }
}

.table-wrapper .table {
    color: white;
    font-family: var(--font-primary);
}

.table-wrapper .table .active {
    background-color: #2A4656;
}

.table-wrapper .table tr:nth-child(1) {
    font-weight: bold;
    font-size: 1.6rem;
}

.table-wrapper .table tr:nth-child(1) td {
    padding-top: 20px;
}

/*.table-wrapper .table tr td{
    width: 20px !important;
}*/

.table-wrapper .table tr td:nth-child(1) {
    border-left: 1px solid black !important;
    padding-top: 20px;
}

.table-wrapper .first {
    border-top: 1px solid black !important;
    font-size: 2rem !important;
}


/* LAB.html */

.lab-wrapper {
    background-color: black;
}

.lab-wrapper .banner-subtitle {
    font-size: var(--font-size-h3);
    font-family: var(--font-thin);
    padding-left: 160px;
    padding-top: 40px;
}

.lab-wrapper .pagetitle {
    display: flex;
    align-items: center;
}

.lab-wrapper .scaled {
    font-family: var(--font-primary);
    transform: scale(1.1, 1.8);
}

.lab-wrapper .banner {
    padding: 50px;
    height: 1000px;
    font-size: var(--font-size-h1);
    font-family: var(--font-primary);
}

.lab-wrapper .banner-title {
    padding: 50px;
    position: absolute;
    font-size: var(--font-size-h2);
    font-family: var(--font-primary);
}

.lab-wrapper .banner .banner-imgs {
    width: 70%;
    height: 1000px;
    position: relative;
    margin: auto;
}

.lab-wrapper .banner img:nth-child(1) {
    height: 700px;
    position: absolute;
    top: 200px;
    left: 0;
}

.lab-wrapper .banner img:nth-child(2) {
    height: 500px;
    position: absolute;
    top: 40px;
    left: 35%;
    z-index: 99;
}

.lab-wrapper .banner img:nth-child(3) {
    height: 400px;
    position: absolute;
    top: 400px;
    left: 60%;
    z-index: 99;
}

.lab-wrapper .scroll-text {
    width: 80%;
    height: 350px;
    font-family: NeueHaasDisplayThin, serif !important;
}

.lab-wrapper .scroll-text b {
    font-family: var(--font-primary) !important;
    font-weight: var(--font-weight-bold);
}

.lab-wrapper .scroll-text2 {
    width: 80%;
    height: 150px;
}

.lab-wrapper .labtitle {
    margin: 70px 0 20px;
    text-transform: uppercase;
    font-family: var(--font-medium);
}

@media (max-width: 992px) {
    .lab-wrapper .banner-title {
        padding: 0;
        position: absolute;
        font-size: 1.2rem;
    }

    .lab-wrapper .banner {
        padding: 0;
        height: 100vw;
    }

    .lab-wrapper .banner .banner-imgs {
        width: 100%;
        height: 40vw;
    }

    .lab-wrapper .banner img:nth-child(2) {
        height: 80vw;
        position: absolute;
        top: calc(16vw + 2rem);
        left: 10vw;
        z-index: 99;
    }

    .lab-wrapper .scroll-text {
        width: 80%;
        height: 250px;
    }

    .lab-wrapper .scroll-text {
        width: 100%;
    }
}

@media (min-width: 993px) and (max-width: 1500px) {
    .lab-wrapper .banner img:nth-child(2) {
        top: calc(15vw + 2rem) !important;
    }
}

.news-box {
    margin-bottom: 0px;
    color: white;
    text-decoration: none;
}

.news-box:hover {
    color: rgb(32, 71, 87);
}

.news-box:hover .news-img {
    transform: scale(1.02);
    transition: ease .4s;
}

.news-title {
    font-size: 2.3rem;
}

.news-detail {
    font-size: 1.6rem;
    display: inline-block;
    white-space: normal;
    width: 100%;
    margin: 20px 0;
}

.news-img {
    width: 100%;
    height: 600px;
    border: 0px solid grey;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.morelessbtn {
    width: 100px !important;
    height: 100px !important;
    display: flex !important;
    padding: 30px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    font-size: 1.4rem;
    transition: ease .2s;
}

.morelessbtn:hover {
    font-size: 1.6rem;
    cursor: pointer;
    transition: ease .2s;
}

/* news-detail.html*/

.news-wrapper {
    background-color: black;
}

.news-wrapper .page-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-wrapper .page-title a {
    color: white;
    text-decoration: none;
    padding-left: auto;
}

.news-datail-wrapper {
    background-color: black;
}

.news-datail-wrapper .newsdetail {
    padding-bottom: 130px;
    border-bottom: .5px solid grey;
}

.news-datail-wrapper .scroll-text {
    width: 100%;
    height: 420px;
    margin: 0;
}

.news-datail-wrapper .col-2 {
    font-size: .7rem;
}

.news-navigator {
    font-size: var(--font-size-h2);
    font-family: var(--font-primary);
    padding: 80px 0 5px;
    width: auto;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-navigator a {
    text-decoration: none;
    color: white;
    transition: ease .4s;
    padding: 0 50px;
}

.news-navigator a:hover {
    text-decoration: none;
    color: grey;
    transition: ease .4s;
}


/* contact.html */


.getintouchwrap a {
    color: white;
    text-decoration: none;
    transition: ease .3s;
}

.getintouchwrap a:hover {
    color: grey;
    transition: ease .3s;
}

.getintouch {
    font-size: calc(3vw + 2rem);
}

.adress {
    margin-bottom: 100px;
}

@media (max-width: 576px) {
    .adress {
        margin-bottom: 10px;
    }
}

.adress .lastitem {
    border-bottom: .5px solid grey;
}

.adress a {
    text-decoration: none;
    color: white;
    transition: ease .4s;
}

.adress a:hover {
    text-decoration: none;
    color: grey;
    transition: ease .4s;
}

.adresstext {
    font-size: 1.2rem;
    height: 140px;
}


.tabcontainer {
    width: 100%;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

.tab {
    height: auto;
    margin: 20px;
    text-align: center;
}

.tab i {
    font-size: 1.8rem;
}

.tablinks {
    color: white;
    padding: 10px;
    width: 100%;
    height: 100px;
    outline: none;
    cursor: pointer;
    font-size: 2.4rem;
    text-transform: uppercase;
    font-family: var(--font-primary);
}

/* Change background color of buttons on hover */
.tablinks:hover {
    color: #ddd;
}

/* Create an active/current "tab button" class */
.tablinks.active {
    color: rgb(32, 71, 87);
    font-style: italic;
    font-weight: 200;
}

/* Style the tab content */
.tabcontent {
    border-left: none;
    margin-top: 40px !important;
}

.tabcontent * {
    font-family: var(--font-primary);
}

.tabcontent h1 {
    margin-bottom: 50px;
    text-transform: uppercase;
    font-weight: var(--font-weight-bold);
    font-family: var(--font-medium);
}

.tabcontent div.first {
    text-transform: uppercase;
    margin-bottom: 50px;
}

.tabcontent p {
    margin-bottom: 50px;
    line-height: 3rem;
}

@media (max-width: 576px) {
    .tabcontainer {
        padding: 10px;
    }

    .tab {
        font-size: .9rem;
        margin: 10px 0;
    }

    .tab i {
        font-size: .9rem;
        margin: 0;
    }

    .tablinks {
        font-size: 1rem;
        padding: 0;
    }

    .tabcontent p {
        margin-bottom: 50px;
        line-height: 2rem;
    }

    .tabcontent div.first, .tabcontent h1 {
        font-size: 1.4rem;
    }
}


/* TODO: ek*/

.iframewrapper {
    position: relative;
}

@media (max-width: 576px) {
    .iframewrapper {
        height: 220px;
    }
    .iframewrapper img{
        height: 200px;
    }
}

.iframe-overlay {
    content: "";
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iframe-overlay button {
    background-color: #2A4656;
    border-color: #2A4656;
    padding: 10px 20px;
    font-size: 2rem;
    font-weight: 100;
    letter-spacing: .1rem;
    color: white;
}

.iframe-overlay button:hover {
    background-color: #2A4656;
    border-color: #2A4656;
}

.iframewrapper .modal-dialog {
    max-width: 100vw;
    background-color: grey !important;
}

.video-fluid {
    width: 100%;
    height: auto;
}


.logo {
    top: 20px;
    position: absolute;
    width: 200px;
    height: auto;
}


.rounded-circle {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.image-with-title {
    margin-bottom: 20px;
}

.image-with-title img {
    width: 100%;
    height: auto;
    display: block;
}

.image-title {
    text-align: center;
    margin-bottom: 10px;
}

.img-container {
    margin: 20px 0;
    text-align: center;
}

.img-container img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.small-img-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.small-img-container {
    max-width: 200px;
}

.small-img-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

.text-center {
    font-family: var(--font-primary);
}


section{
    position: relative;
    width: 161px;
    height: 300px;
    /* 让其子元素位于3D空间中 */
    transform-style: preserve-3d;
    /* 接下来执行动画 */
    /* 动画名称 时长 线性的 无限次播放 */
    animation: rotate 20s linear infinite;
}
section:hover{
    /* 鼠标移上动画暂停 */
    animation-play-state: paused;
}
section div{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    /* 设置元素的倒影效果，below是倒影效果在元素下方，15px是元素和倒影的距离，后面的属性是设置倒影渐变 */
    -webkit-box-reflect: below 15px -webkit-linear-gradient(transparent 50%,rgba(255,255,255,0.3));
}
section div img{
    width: 100%;
    height: 100%;
}
section div:nth-child(1){
    transform: rotateY(0deg) translateZ(300px);
}
section div:nth-child(2){
    transform: rotateY(24deg) translateZ(300px);
}
section div:nth-child(3){
    transform: rotateY(48deg) translateZ(300px);
}
section div:nth-child(4){
    transform: rotateY(72deg) translateZ(300px);
}
section div:nth-child(5){
    transform: rotateY(96deg) translateZ(300px);
}
section div:nth-child(6){
    transform: rotateY(120deg) translateZ(300px);
}
section div:nth-child(7){
    transform: rotateY(144deg) translateZ(300px);
}
section div:nth-child(8){
    transform: rotateY(168deg) translateZ(300px);
}
section div:nth-child(9){
    transform: rotateY(192deg) translateZ(300px);
}
section div:nth-child(10){
    transform: rotateY(216deg) translateZ(300px);
}
section div:nth-child(11){
    transform: rotateY(240deg) translateZ(300px);
}
section div:nth-child(12){
    transform: rotateY(264deg) translateZ(300px);
}
section div:nth-child(13){
    transform: rotateY(288deg) translateZ(300px);
}
section div:nth-child(14){
    transform: rotateY(312deg) translateZ(300px);
}
section div:nth-child(15){
    transform: rotateY(336deg) translateZ(300px);
}
/* 定义旋转动画 */
@keyframes rotate {
    0%{
        transform: rotateY(0deg);
    }
    100%{
        transform: rotateY(360deg);
    }
}

        
        .email-container {
            max-width: 600px;
            margin: 0 auto;
            padding: 2rem;
            background-color: #f8f9fa;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        
        .email-link {
            display: inline-flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.5rem;
            background-color: #0d6efd;
            color: white;
            border-radius: 0.5rem;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .email-link:hover {
            background-color: #0a58ca;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
        }
        
        .email-text {
            margin-top: 1.5rem;
            color: #6c757d;
        }


        /* 图片视频放大功能样式 */
.zoom-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.zoom-container:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.zoom-trigger {
  transition: transform 0.3s ease;
  width: 100%;
}

.zoom-container:hover .zoom-trigger {
  transform: scale(1.05);
}

/* 放大模态框样式 */
#zoom-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 4px;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(4px);
}

#modal-content {
  max-width: 7xl;
  width: 100%;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#close-btn, #prev-btn, #next-btn {
  position: absolute;
  color: white;
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}

#close-btn {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 4xl;
}

#prev-btn, #next-btn {
  top: 50%;
  transform: translateY(-50%);
  font-size: 5xl;
}

#prev-btn {
  left: 1rem;
}

#next-btn {
  right: 1rem;
}

#close-btn:hover, #prev-btn:hover, #next-btn:hover {
  color: #d1d5db;
}

/* 动画效果 */
.modal-enter {
  animation: fadeIn 0.3s ease-out forwards;
}

.modal-content-enter {
  animation: scaleIn 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* 响应式调整 */
@media (max-width: 768px) {
  #prev-btn, #next-btn {
    display: none;
  }
}

@media (min-width: 769px) {
  #prev-btn, #next-btn {
    display: block;
  }
}
/* 模态框背景 */
.modal {
  display: none; /* 默认隐藏 */
  position: fixed;
  z-index: 1000; /* 确保在最上层 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* 黑色半透明背景 */
  overflow: auto; /* 允许滚动（如果图片超大幅） */
}

/* 放大后的图片 */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%; /* 最大宽度不超过屏幕90% */
  max-height: 90%; /* 最大高度不超过屏幕90% */
  animation: zoom 0.3s; /* 淡入放大动画 */
}

/* 关闭按钮 */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close:hover {
  color: #bbb;
}

/* 放大动画 */
@keyframes zoom {
  from {transform: scale(0)}
  to {transform: scale(1)}
}

/* 图片容器样式（可选，让原图有点击提示） */
.img-container img {
  cursor: zoom-in; /* 鼠标悬停显示"放大"图标 */
  transition: 0.3s;
}

.img-container img:hover {
  opacity: 0.8; /* 悬停时轻微透明，提示可点击 */
}


/* 图片容器样式 */
.image-container {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.image-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.image-container:hover img {
    transform: scale(1.05);
}

/* 弹出层样式 */
.image-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-popup.active {
    display: flex;
    opacity: 1;
}

.popup-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.image-popup.active .popup-content {
    transform: scale(1);
}

.popup-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* 合作伙伴头部图片样式 */
.partner-img {
    /* 核心限制：最大宽度为屏幕宽度的80% */
    max-width: 80vw;
    width: 100%; /* 自适应容器宽度 */
    height: auto; /* 保持图片原始比例，避免拉伸变形 */
    display: block; /* 消除图片底部默认空白 */
    margin: 0 auto 2rem; /* 水平居中，底部预留2rem间距与轮播区分隔 */
    object-fit: contain; /* 确保图片完整显示，不裁剪 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* 轻微阴影增强层次感 */
    border-radius: 4px; /* 圆角处理，柔和边缘 */
    transition: transform 0.3s ease; /* 悬停动画过渡 */
}

/* 悬停交互效果 */
.partner-img:hover {
    transform: scale(1.02); /* 轻微放大，增强交互感 */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); /* 阴影加深，突出显示 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .partner-img {
        max-width: 90vw; /* 移动端放宽限制，提升占比 */
        margin-bottom: 1.5rem; /* 减小底部间距 */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* 弱化阴影，适配小屏幕 */
    }
}