/* certification start */
.normal-swiper {
    /*width: 90%;*/
    margin: 0 auto;
}
.normal-swiper-item {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    position: relative;
}
.normal-swiper-item img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
}
.normal-swiper-item-content {
    /*position: absolute;*/
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    /*padding: 20px;*/
    justify-content: space-between;
}
.normal-swiper-item-content h3 {
    font-size: 16px;
}
.normal-swiper-item-content p {
    font-size: 14px;
}
.normal-swiper-button-prev, .normal-swiper-button-next {
    border: 1px solid #f1f1f1;
    border-radius: 50%;
    width: 44px;
    background-color: #fff;
    box-shadow: 0 0 10px 0 #f1f1f1;
}
.normal-swiper-button-prev::after, .normal-swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
    color: #000;
}
/* certification end */



/* story start */
.story-swiper {
    width: 90%;
    margin: 0 auto;
}
.story-swiper-item {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    position: relative;
}
.story-swiper-item img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
}
.story-swiper-item-line {
    height: 4px;
    position: relative;
    background-color: #F2F2F2;
}
.story-swiper-item-line img {
    z-index: 1;
    width: 16px;
    height: 16px;
    top: -11px;
    position: relative;
}
.story-swiper-item-line::after {
    position: absolute;
    content: "";
    left: calc(50% - 14px);
    top: calc(50% - 14px);
    width: 28px;
    height: 28px;
    border-radius: 50px;
    background-color: #CBCBCB;
}
.story-swiper-item-bottom {
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.story-swiper-item-content {
    /*position: absolute;*/
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    /*padding: 20px;*/
    justify-content: space-between;
}
.story-swiper-item-content h3 {
    font-size: 16px;
}
.story-swiper-item-content p {
    font-size: 14px;
}
.story-swiper-button-prev, .story-swiper-button-next {
    border: 1px solid #f1f1f1;
    border-radius: 50%;
    width: 44px;
    background-color: #fff;
    box-shadow: 0 0 10px 0 #f1f1f1;
}
.story-swiper-button-prev::after, .story-swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
    color: #000;
}
/* story end */

/* team start */
.team-section {
    padding: 90px 0;
    /*background-color: #f9f9f9;*/
    overflow: hidden;
    margin: 45px 0;
}

.team-container {
    margin: 0 auto;
    /*padding: 0 30px;*/
    width: 100%;
}

.team-content {
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.team-info {
    width: 100%;
    color: var(--base-color);
    text-align: center;
}

.team-image {
    flex: 1;
    width: 100%;
    position: relative;
    /*overflow: hidden;*/
}

.team-title {
    font-size: 40px;
    font-family: SailecBold;
    color: var(--base-color);
    margin-bottom: 90px;
}

.team-text-swiper {
    height: auto;
}

.team-text {
    padding: 20px 0;
}

.team-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.team-text p:last-child {
    margin-bottom: 0;
}

.team-image-swiper {
    width: 90%;
    max-width: 100%;
    overflow: hidden;
}

.team-image-swiper .swiper-slide {
    width: 100%;
}

.team-image-swiper .swiper-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-process-prev,
.team-process-next {
    color: var(--base-color);
    top: 35%;
    /* transition: all 0.3s ease; */
    width: 44px;
    background-color: #FFFFFF;
    height: 44px;
    margin-top: -22px;
    position: absolute;
    z-index: 100;
    border: 1px solid #f1f1f1;
    border-radius: 50%;
    box-shadow: 0 0 10px 0 #f1f1f1;
}

.team-process-prev:hover,
.team-process-next:hover {
    background-color: rgba(230, 230, 230, 0.5);
    border-radius: 50%;
}
.team-process-prev {
    /*left: -50px;*/
}

.team-process-next {
    /*right: -50px;*/
}

.team-process-prev::after,
.team-process-next::after {
    font-size: 20px;
    font-weight: bold;
}
.team-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
    text-align: center;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 100px;
    padding: 8px 15px;
    font-size: 0;
    /* 消除分页器之间的间隙 */
}

.swiper-slide h3 {
    font-size: 20px;
    color: var(--base-color);
    padding: 10px 0;
    text-align: center;
    margin-bottom: 0;
}

.swiper-slide p {
    font-size: 16px;
    color: #555;
    text-align: center;
}

.team-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    margin: 0 5px !important;
    transition: all 0.3s ease;
    vertical-align: middle;
    border-radius: 50%;
}

.team-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 10px;
    height: 10px;
}
.team-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
}
.team-nav-item.active {
    color: #FFBB0E;
    border-bottom: 1px solid #FFBB0E;
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1365px) {
    .team-section {
        padding: 70px 20px;
        margin: 50px 0;
    }

    .team-content {
        flex-direction: column;
        gap: 40px;
    }

    .team-info,
    .team-image {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .team-title {
        font-size: 36px;
        text-align: center;
        margin-bottom: 60px;
    }

    .team-text {
        text-align: center;
    }

    .team-text p {
        font-size: 16px;
        line-height: 1.7;
    }

    .team-image-swiper .swiper-slide {
        /* padding-top: 66.67%; */
        /* 3:2 比例，更适合平板 */
    }

    .team-image-swiper .swiper-slide img {
        height: 280px;
    }

    .swiper-slide h3 {
        font-size: 18px;
        padding: 12px 0;
    }

    .swiper-slide p {
        font-size: 16px;
    }

    .team-pagination {
        text-align: center;
        left: 50% !important;
        transform: translateX(-50%);
    }
}

/* Mobile Styles */
@media (max-width: 767px) {
    .team-section {
        padding: 50px 0 40px;
        margin: 40px 0;
    }

    .team-container {
        padding: 0 20px;
    }

    .team-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .team-text p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .team-image-swiper .swiper-slide {}

    .team-image-swiper .swiper-slide img {
        height: 280px;
    }

    .swiper-slide h3 {
        font-size: 18px;
        padding: 15px 0 8px;
    }

    .swiper-slide p {
        font-size: 15px;
        line-height: 1.5;
    }

    .team-pagination {
        padding: 6px 12px;
        bottom: 15px !important;
    }

    .team-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 4px !important;
    }

    .team-pagination .swiper-pagination-bullet-active {
        width: 8px;
        height: 8px;
    }
}
/* team end */

/* Design Process Section */
.design-process-section {
    /*padding: 80px 20px;*/
}

.design-process-container {
    /*max-width: 1300px;*/
    margin: 0 auto;
    padding: 0;
}

.pillars-container {
    margin: 0 auto 50px;
    padding: 0 20px;
}

/* PC/Pad Layout (Hidden on Mobile) */
.service-process-content {
    display: flex;
    gap: 50px;
    /* Space between image and text */
}

.service-process-image-container {
    flex: 1 1 50%;
    /* Image takes up half the space */
    position: relative;
    /* For sticky positioning context */
}

.service-process-image {
    position: sticky;
    top: 200px;
    /* Adjust based on your header height or desired sticky position */
    width: 100%;
    height: 60vh;
    /* Example height, adjust as needed */
    max-height: 500px;
    /* Max height */
    overflow: hidden;
    background-color: #f0f0f0;
    /* Placeholder background */
}

.service-process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: opacity 0.4s ease-in-out;
    /* For potential fade effect */
}

.service-process-steps {
    flex: 1 1 50%;
    /* Steps take up the other half */
    padding-top: 15vh;
    /* Add padding above first step */
    padding-bottom: 15vh;
    /* Add padding below last step */
}

.step-item {
    margin-bottom: 60px;
    /* Moderate margin between items */
    padding: 20px 0;
    color: #888;
    /* Default inactive color (gray) */
    transition: color 0.3s ease, opacity 0.3s ease;
}

.step-item:last-child {
    margin-bottom: 0;
    /* Remove margin for the last item, rely on container padding */
}

.step-item.active {
    color: #000;
    /* Active color (black) */
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    text-align: center;
}

.step-number {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #6c757d;
    /* Lighter color for number */
    margin-bottom: 5px;
}

.step-item.active .step-number {
    color: #333;
    /* Slightly darker number when active */
}


.step-description {
    font-size: 16px;
    line-height: 1.7;
}

/* Mobile Layout (Hidden on PC/Pad) */
.service-process-slider {
    display: none;
    /* Hidden by default */
    width: 100%;
    margin-top: 40px;
    padding-bottom: 40px;
    /* Space for pagination */
}

.service-process-slider .swiper-slide {
    text-align: center;
}

.swiper-slide-image {
    width: 100%;
    max-width: 400px;
    /* Limit image size on mobile */
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    /* Center image */
    display: block;
}

.service-process-slider .step-title {
    font-size: 20px;
}

.service-process-slider .step-number {
    font-size: 16px;
}

.service-process-slider .step-description {
    font-size: 15px;
    /* Add some horizontal padding */
}

.service-process-slider .swiper-pagination {
    left: 0px !important;
    bottom: 0px !important;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.service-process-slider .swiper-pagination-bullet {
    background-color: #aaa;
    opacity: 0.8;
}

.service-process-slider .swiper-pagination-bullet-active {
    background-color: #ff6c00;
    /* Active bullet color */
    opacity: 1;
}

/* --- Tablet Adjustments --- */
@media (min-width: 768px) and (max-width: 1199px) {
    .service-process-content {
        gap: 30px;
    }

    .service-process-image {
        top: 80px;
        /* Adjust sticky top for tablet */
        height: 50vh;
    }

    .step-item {
        margin-bottom: 50px;
        /* Adjust margin for tablet */
    }

    .step-title {
        font-size: 22px;
    }

    .step-number {
        font-size: 17px;
    }

    .step-description {
        font-size: 15px;
    }

    .service-process-steps {
        padding-top: 25vh;
        /* Adjust padding for tablet */
        padding-bottom: 25vh;
    }
}

/* --- Mobile Adjustments --- */
@media (max-width: 767px) {
    .service-process-section {
        padding: 50px 0;
    }

    .service-process-title {
        font-size: 26px;
    }

    .service-process-intro {
        font-size: 15px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    /* Hide PC/Pad layout */
    .service-process-content {
        display: none;
    }

    /* Show Mobile Swiper layout */
    .service-process-slider {
        display: block;
        position: relative;
        overflow: hidden;
        padding: 0 15px;
    }
}

/* --- End: Custom Service Process Section --- */

/* solution */
.cm-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.cm-left {
    width: 50%;
    height: 100%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.cm-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 2;
}
.cm-right {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.cm-right h2 {
    margin-bottom: 0;
}
@media (max-width: 767px) {
    .cm-container {
        flex-direction: column;
        gap: 50px;
    }
    .cm-left {
        width: 100%;
    }
    .cm-right {
        width: 100%;
    }
}
.cm-sub-title{
    font-weight: bold;
}
.normal-button {
    background-color: #FFBB0E;
    color: #fff;
    display: flex;
    border-radius: 100px;
    flex-direction: column;
    width: fit-content;
    padding: 10px 30px;
}
.normal-button-wrapper {
    display: inline-block;
    height: 24px;
    line-height: 1.2;
    overflow: hidden;
    position: relative;
}
.normal-button .normal-button-original,
.normal-button .normal-button-hover {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.normal-button .normal-button-hover {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(100%);
    height: 24px;
}
.normal-button:hover .normal-button-original {
    transform: translateY(-100%);
}
.normal-button:hover .normal-button-hover {
    transform: translateY(0);
}
@media(min-width:768px) and (max-width:1365px) {
}
@media (max-width: 767px) {
}

.video-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-box {
    width: 960px;
    height: 540px;
    position: relative;
    background: #ffffff;
}

.dialog-close {
    position: absolute;
    top: -10px;
    right: -10px;
    cursor: pointer;
    width: 27px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.play-button svg {
    fill: #ffffff;
    width: 30px;
    height: 30px;
}

.play-button:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button:hover svg {
    fill: #000;
}
.play-button:focus-visible {
    outline: none;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    /* Initially transparent */
    transition: background-color 0.3s ease;
    pointer-events: none;
    /* Allows clicks to go through to the button */
}
.cm-left:hover .hero-image-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    /* Darker overlay on hover */
}
.cm-left:hover .play-button {
    background-color: #fff;
    /* White background on hover */
}
.cm-left:hover .play-button .play-icon {
    fill: #000;
    /* Black play icon on hover */
}

@media (max-width: 767px) {
    .solution-section {
        flex-direction: column;
    }
    .cm-left, .cm-right{
        width: auto;
    }
}
/* global */
.global-item {
    width: 100%;
}
.global-item img {
    aspect-ratio: 3/2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.global-swiper {
    display: none;
}
.global-swiper.active {
    display: block;
}
