﻿/* 发展历程 */

.historyrow {
    max-width: 1200px;
    padding: 0 15px;
    margin: 40px auto 40px;
}

.etw_hometitle {
    display: block;
    line-height: 1.5;
    padding: 0;
    color: #000;
    font-family: "Poppins-Medium";
    font-size: 28px;
    margin-bottom: 0;
    padding-bottom: 10px;
}

.demo {
    padding: 2em 0;
}

.main-timeline {
    overflow: hidden;
    position: relative;
}

    .main-timeline:before {
        content: "";
        width: 7px;
        height: 100%;
        background: #909090;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .main-timeline .timeline {
        width: 50%;
        padding-left: 50px;
        line-height: 1.8;
        float: right;
        position: relative;
    }

        .main-timeline .timeline:before {
            content: "";
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: #909090;
            border: 7px solid #fff;
            position: absolute;
            top: 50%;
            left: -15px;
            transform: translateY(-50%);
        }

        .main-timeline .timeline:after {
            content: "";
            display: block;
            border-right: 30px solid var(--primary-color);
            border-top: 20px solid transparent;
            border-bottom: 20px solid transparent;
            position: absolute;
            top: 50%;
            left: 24px;
            transform: translateY(-50%);
        }

    .main-timeline .timeline-content {
        display: block;
        padding: 25px;
        border-radius: 100px;
        background: var(--primary-color);
        position: relative;
    }

        .main-timeline .timeline-content:after,
        .main-timeline .timeline-content:before {
            content: "";
            display: block;
            width: 100%;
            clear: both;
        }

        .main-timeline .timeline-content:hover {
            text-decoration: none;
        }

    .main-timeline .inner-content {
        width: 80%;
        float: right;
        padding: 15px 20px 15px 15px;
        background: #fff;
        border-radius: 0 100px 100px 0;
        color: var(--secondary-color);
    }

    .main-timeline .year {
        display: inline-block;
        font-size: 25px;
        color: #fff;
        position: absolute;
        top: 50%;
        left: 7%;
        transform: translateY(-50%);
    }

    .main-timeline .title {
        font-size: 1rem;
        font-weight: 600;
        text-transform: uppercase;
        margin: 0 0 5px 0;
    }

    .main-timeline .description {
        font-size: 14px;
        margin: 0 0 5px 0;
    }

    .main-timeline .timeline:nth-child(2n) {
        padding: 0 50px 0 0;
    }

        .main-timeline .timeline:nth-child(2n) .year,
        .main-timeline .timeline:nth-child(2n):before {
            left: auto;
            right: -15px;
        }

        .main-timeline .timeline:nth-child(2n) .year {
            right: 7%;
        }

        .main-timeline .timeline:nth-child(2n):after {
            border-right: none;
            border-left: 30px solid var(--primary-color);
            left: auto;
            right: 24px;
        }

        .main-timeline .timeline:nth-child(2n) .inner-content {
            float: none;
            border-radius: 100px 0 0 100px;
            text-align: right;
        }

    .main-timeline .timeline:nth-child(2) {
        margin-top: 130px;
    }

    .main-timeline .timeline:nth-child(odd) {
        margin: -130px 0 0 0;
    }

    .main-timeline .timeline:nth-child(even) {
        margin-bottom: 80px;
    }

    .main-timeline .timeline:first-child {
        margin: 0;
    }

    .main-timeline .timeline:nth-child(2n) .timeline-content {
        background: var(--primary-color);
    }

    .main-timeline .timeline:nth-child(2n),
    .main-timeline .timeline:nth-child(2n) .inner-content {
        color: var(--secondary-color);
    }

        .main-timeline .timeline:nth-child(2n):after {
            border-left-color: var(--primary-color);
        }

@media only screen and (max-width: 1200px) {
    .main-timeline .inner-content {
        width: 80%;
    }

    .main-timeline .year {
        left: 10px;
        transform: translateY(-50%) rotate(-90deg);
    }

    .main-timeline .timeline:nth-child(2n) .year {
        right: 10px;
    }
}

@media only screen and (max-width: 990px) {
    .main-timeline .year {
        font-size: 25px;
        left: 0;
    }

    .main-timeline .timeline:nth-child(2n) .year {
        right: 0;
    }
}

@media only screen and (max-width: 767px) {
    .main-timeline .timeline:before,
    .main-timeline:before {
        left: 10px;
    }

    .main-timeline .timeline:nth-child(2n):after {
        border-left: none;
        border-right: 30px solid var(--primary-color);
        right: auto;
        left: 24px;
    }

    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even),
    .main-timeline .timeline:nth-child(odd) {
        width: 100%;
        float: none;
        margin: 0 0 30px 0;
    }

        .main-timeline .timeline:last-child {
            margin-bottom: 0;
        }

        .main-timeline .timeline:nth-child(2n) {
            padding: 0 0 0 50px;
        }

            .main-timeline .timeline:before,
            .main-timeline .timeline:nth-child(2n):before {
                left: -4px;
            }

    .main-timeline .inner-content {
        width: 85%;
    }

    .main-timeline .timeline:nth-child(2n) .inner-content {
        float: right;
        border-radius: 0 100px 100px 0;
        text-align: left;
    }

    .main-timeline .timeline:nth-child(2n) .year {
        right: auto;
        left: 0;
    }

    .main-timeline .timeline:nth-child(2n):after {
        border-right-color: var(--primary-color);
    }
}

@media only screen and (max-width: 479px) {
    .main-timeline .timeline-content {
        padding: 8px;
    }

    .main-timeline .inner-content {
        width: 80%;
    }

    .main-timeline .year {
        font-size: 25px;
    }

    .main-timeline .timeline-content {
        border-radius: 80px;
    }

    .main-timeline .inner-content {
        padding: 15px 20px 15px 15px;
        border-radius: 0 60px 60px 0 !important;
        color: var(--primary-color);
    }
}

/* 联系我们 */

.componentsBox {
    width: 100%;
    height: 100%;
}

    .componentsBox .icon {
        width: 1em;
        height: 1em;
        vertical-align: -0.15em;
        fill: currentColor;
        overflow: hidden;
    }

    .componentsBox .contact_box {
        max-width: 1430px;
        padding: 0 15px;
        margin: 0 auto;
        position: relative;
        margin-bottom: 40px;
    }

        .componentsBox .contact_box .contact_flex {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -ms-flex-wrap: wrap;
            flex-wrap: wrap;
            padding: 2% 0;
            box-shadow: 0px 0px 37px 0px rgba(36, 39, 46, 0.12);
        }

            .componentsBox .contact_box .contact_flex .contact_fl {
                padding: 0 2%;
                width: 60%;
            }

                .componentsBox .contact_box .contact_flex .contact_fl .title {
                    font-size: 30px;
                    line-height: 40px;
                    font-weight: bold;
                    color: #333333;
                }

                .componentsBox .contact_box .contact_flex .contact_fl .textcont {
                    color: #666666;
                    line-height: 150%;
                    margin: 15px 0 25px;
                    width: 95%;
                }
                    .componentsBox .contact_box .contact_flex .contact_fl .textcont p {
                        text-indent: 2em;
                    }
                    .componentsBox .contact_box .contact_flex .contact_fl .contact_Office h4 {
                    font-size: 20px;
                    line-height: 170%;
                    color: #333333;
                    font-weight: normal;
                }

                .componentsBox .contact_box .contact_flex .contact_fl .contact_Office p {
                    display: flex;
                    align-items: center;
                    margin: 15px 0;
                    font-size: 23px;
                }

                .componentsBox
                .contact_box
                .contact_flex
                .contact_fl
                .contact_Office
                span {
                    padding-right: 5%;
                    font-size: 15px;
                    line-height: 170%;
                    padding-left: 10px;
                }

                .componentsBox .contact_box .contact_flex .contact_fl .contact_list {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    width: 100%;
                }

                    .componentsBox
                    .contact_box
                    .contact_flex
                    .contact_fl
                    .contact_list
                    .items {
                        width: calc(100% / 3);
                        padding: 0 5px;
                    }

                        .componentsBox
                        .contact_box
                        .contact_flex
                        .contact_fl
                        .contact_list
                        .items
                        h4 {
                            font-size: 20px;
                            line-height: 150%;
                            font-weight: normal;
                            color: #333333;
                        }

                        .componentsBox
                        .contact_box
                        .contact_flex
                        .contact_fl
                        .contact_list
                        .items
                        p {
                            font-size: 15px;
                            color: #333333;
                            margin-top: 15px;
                        }

                        .componentsBox
                        .contact_box
                        .contact_flex
                        .contact_fl
                        .contact_list
                        .items
                        .icon {
                            font-size: 23px;
                        }

                    .componentsBox
                    .contact_box
                    .contact_flex
                    .contact_fl
                    .contact_list
                    .items_whatsapp {
                        border-left: 1px solid rgba(208, 208, 208, 1);
                        border-right: 1px solid rgba(208, 208, 208, 1);
                    }

            .componentsBox .contact_box .contact_flex .contact_fr {
                width: 40%;
                padding-right: 2%;
            }

            .componentsBox .contact_box .contact_flex .contact_fl .contact_ewm {
                margin-top: 25px;
                display: flex;
                align-items: start;
            }

                .componentsBox .contact_box .contact_flex .contact_fl .contact_ewm .ewm {
                    width: 25%;
                    padding-right: 20px;
                }

                    .componentsBox
                    .contact_box
                    .contact_flex
                    .contact_fl
                    .contact_ewm
                    .ewm
                    p {
                        font-size: 18px;
                        line-height: 2em;
                        color: #333333;
                        text-align:center;
                    }

.contact_fr .contact_title {
    font-size: 24px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 25px;
}


@media (max-width:768px) {
    .componentsBox .contact_box .contact_flex .contact_fl, .componentsBox .contact_box .contact_flex .contact_fr {
        width: 100%;
        padding: 2% 2% 0;
    }

        .componentsBox .contact_box .contact_flex .contact_fl .title {
            font-size: 20px;
            line-height: 35px;
        }

        .componentsBox .contact_box .contact_flex .contact_fl .contact_Office h4 {
            font-size: 16px;
            line-height: 150%;
        }

        .componentsBox .contact_box .contact_flex .contact_fl .contact_Office span {
            font-size: 14px;
            line-height: 150%;
        }

        .componentsBox .contact_box .contact_flex .contact_fl .contact_list .items h4 {
            font-size: 16px;
        }

        .componentsBox .contact_box .contact_flex .contact_fl .contact_list .items p {
            font-size: 14px;
            margin-top: 10px;
        }

        .componentsBox .contact_box .contact_flex .contact_fl .contact_ewm {
            margin-top: 20px;
        }

            .componentsBox .contact_box .contact_flex .contact_fl .contact_ewm .ewm p {
                font-size: 16px;
                line-height: 150%;
            }

    .componentsBox .icon {
        flex-shrink: 0;
    }

    .componentsBox .contact_box .contact_flex .contact_fl .contact_Office p {
        align-items: flex-start;
    }

        .componentsBox .contact_box .contact_flex .contact_fl .contact_Office p .icon {
            vertical-align: top;
        }

    .componentsBox .contact_box .contact_flex .contact_fl .contact_Office span {
        padding-right: 0;
        font-size: 14px;
    }

    .componentsBox .contact_box .contact_flex .contact_fl .contact_list .items {
        width: 100%;
        padding: 0 5px;
        margin: 10px 0;
        border: none !important;
    }
}


/* 公司介绍 */
/* 通用区块样式 */
.overview-section {
    background-color: #f8f9fa;
}

.section {
    padding: 35px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-size: 28px;
        color: var(--secondary-color);
        margin-bottom: 15px;
        font-weight: 700;
        text-align: left;
    }

.divider {
    width: 110px;
    height: 4px;
    background-color: var(--accent-color);
   
}

/* 公司概况 */

.overview-content {
    display: flex;
    gap: 50px;
}

.overview-text {
    flex: 1;
    margin-top: 30px;
}

    .overview-text p {
        margin-bottom: 20px;
        color: var(--light-text);
        font-size: 16px;
        line-height: 2em;text-indent:2em;
    }

.overview-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 500px;
    margin-top: 40px;
}

    .overview-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.5s ease;
    }

    .overview-image:hover img {
        transform: scale(1.05);
    }

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 25px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--light-text);
}

/* 核心价值 */
.values-section {
    background-color: var(--background-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .value-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    }

.value-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
}

.value-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.value-card p {
    color: var(--light-text);
    line-height: 1.6;
    font-size: 14px;
}

/* 全球分布 */

.office-item {
    background-color: var(--background-light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}

    .office-item:hover {
        transform: translateY(-5px);
    }

    .office-item h4 {
        color: var(--primary-color);
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .office-item p {
        color: var(--light-text);
        font-size: 0.9rem;
    }

.value-icon .icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    font-size: 40px;
    vertical-align: middle;
    overflow: hidden;
}
/* 视频部分 */

.video-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.video-placeholder {
    position: relative;
    cursor: pointer;
}

.video-preview {
    width: 100%;
    height: auto;
    display: block;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 51, 102, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.video-placeholder:hover .play-overlay {
    background-color: rgba(0, 51, 102, 0.7);
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    transition: transform 0.3s;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

/* 视频模态框 */

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

    .video-modal.active {
        opacity: 1;
        visibility: visible;
    }

.video-preview {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

/* 修改全屏视频样式 */
.fullscreen-video {
    width: 100%;
    height: 100%;
    outline: none;
    background: #000;
}

/* 调整模态框容器样式 */
.modal-container {
    position: relative;
    width: 80%;
    max-width: 1000px;
    height: 80vh; /* 使用视口高度代替固定比例 */
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    color: var(--white);
    font-size: 30px;
    cursor: pointer;
    transition: color 0.3s;
}

    .close-btn:hover {
        color: var(--accent-color);
    }

.modal-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

.play-button .icon {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
    font-size: 40px;
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .overview-content {
        flex-direction: column;
    }

    .timeline::before {
        left: 40px;
    }

    .timeline-item {
        flex-direction: row !important;
    }

    .timeline-year {
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
    }

    .timeline-content {
        width: calc(100% - 120px);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .modal-container {
        width: 90%;
    }
}

@media (max-width: 576px) {
    .stats {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-year {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }

    .timeline-content {
        width: calc(100% - 80px);
    }

    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

.ny_padding-medium {
    padding-top: 20px;
    padding-bottom: 0px;
    width: 700px;
}

    .ny_padding-medium .medium_row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .ny_padding-medium .mediummb {
        flex: auto;
        padding: 0 0px;
        text-align: center;
    }