/* --- Banner 主容器 --- */
.page-banner {

    /* 背景图设置 */
    /* 请将 url('...') 替换为您实际的图片路径 */
    background-image: url('/static/img/development_icon_1.jpeg');
    background-size: cover; /* 保持比例覆盖整个区域 */
    background-position: center; /* 居中显示 */
    background-repeat: no-repeat;

}


/* 主容器 */
.mission-section {
    position: relative;
    width: 100%;
    height: clamp(340px, 30vw, 460px); /* 可根据设计调整高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #ffffff;
}

/* 背景透明黄字图 - NEDLX */
.bg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; /* 控制大小，避免溢出 */
    /*max-width: 1200px;*/
    /*opacity: 0.15; !* 调整透明度，让它若隐若现 *!*/
    z-index: 1;
    pointer-events: none; /* 防止干扰点击 */
    height: 230px;
}

/* 文字内容层 */
.content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.mission-title {
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 700;
    margin-bottom: 16px;
    color: #000;
}

.mission-subtitle {
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 400;
    color: #555;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}


/* 整体容器 */
.culture-section {
    width: 100%;
    max-width: 1200px; /* 限制最大宽度，保持居中 */
    margin: 60px auto;
    padding: 0 20px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* 顶部大标题 */
.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 50px;
}

/* 左右布局容器 */
.culture-content {
    display: flex;
    flex-wrap: wrap;
    background-color: #f7f7f7; /* 浅灰背景 */
    min-height: 450px; /* 小屏时改为可伸缩，保证内容不被裁切 */
    overflow: hidden;
}

/* --- 左侧：价值观列表 --- */
.values-container {
    flex: 1 1 40%; /* 左侧占 40% 宽度 */
    min-width: 300px;
    display: flex;
    justify-content: space-around; /* 四列均匀分布 */
    align-items: center; /* 垂直居中 */
    padding: 0 20px;
}

.value-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: center;
    border-right: 1px solid #fff;
    padding-right: 40px;
    padding-left: 10px;
}

.value-column:last-child {
    border: none;
}

/* 竖排文字核心样式 */
.value-text {
    writing-mode: vertical-rl; /* 文字竖排，从右向左 */
    text-orientation: upright; /* 字符直立 */
    font-size: clamp(20px, 1.9vw, 28px);
    font-weight: 500;
    color: #333;
    letter-spacing: 8px; /* 字间距拉大，更像海报 */
    margin-bottom: 20px; /* 文字和下方横线的距离 */
    /*word-break: keep-all;*/

}

/* 下方短横线 */
.value-line {
    width: 30px;
    height: 2px;
    background-color: #ccc;
    margin-top: 10px;
}

/* --- 英文版：竖排英文可读性差，改版式为 2×2 卡片式横排 --- */
.culture-en .values-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 28px;
    align-content: center; /* 四宫格整体垂直居中 */
    align-items: start; /* 卡片内容顶部对齐 */
    padding: 40px 32px;
}

.culture-en .value-column {
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
    border-right: none;
    border-left: 3px solid #e0e0e0;
    padding: 0 0 0 16px;
}

.culture-en .value-text {
    writing-mode: horizontal-tb; /* 恢复横排 */
    text-orientation: mixed;
    font-size: clamp(16px, 1.35vw, 22px);
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
    overflow-wrap: break-word; /* 长短语自动折行，不撑破卡片 */
}

.culture-en .value-line {
    width: 40px;
    margin-top: 0;
}

@media (max-width: 768px) {
    .culture-en .values-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 32px 24px;
    }
}

/* --- 右侧：图片区域 --- */
.image-area {
    flex: 1 1 340px; /* 右侧占据剩余空间 */
    min-height: 300px;
    position: relative;
    background-image: url('/static/img/development_icon_3.jpeg'); /* 替换为您的图片路径 */
    background-size: cover;
    background-position: center;
}

/* 图片上的文字 */
.image-overlay-text {
    position: absolute;
    top: 40px;
    left: 40px;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* 增加阴影保证可读性 */
}

/*/////////////*/

.history-section {
    padding: 120px 0;
    background: url("/static/img/development_icon_4.jpeg") no-repeat center/cover;
}


.history-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 60px;
}

/* 内容布局 */

.history-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-left {
    display: flex;
    align-items: center;
}

.year {
    font-size: clamp(52px, 5.6vw, 90px);
    font-weight: bold;
    margin-right: clamp(16px, 2.8vw, 40px);
    color: #222;
}

.history-text h3 {
    font-size: 20px;
    margin-bottom: 4px;
}

.history-text p {
    color: #666;
    margin-top: 4px;

}

.history-img img {
    width: clamp(150px, 18vw, 260px);
}


/* 时间轴 */

.timeline {
    margin-top: 70px;
    position: relative;
}

.timeline-line {
    height: 4px;
    background: #ddd;
    position: absolute;
    width: 100%;
    top: 0;
}

.timeline-progress {
    height: 4px;
    background: #ffd200;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    transition: 0.5s;
}

.timeline-dots {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: -6px;
}

.dot {
    width: 14px;
    height: 14px;
    background: #888;
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: .3s;
    margin-top: -4px;
}

.dot.active {
    background: #ffd200;
    transform: scale(1.2);
}

.dot span {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: #666;
    white-space: nowrap;
}


/* 箭头 */

.timeline-arrow {
    position: absolute;
    top: -18px;
    left: 0;
    width: 30px;
    transition: 0.5s;
}


/* 按钮 */

.history-nav {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.history-prev,
.history-next {
    width: 40px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
}

.history-prev:hover,
.history-next:hover {
    background: #2b373e;
    color: #fff;
}

.year {
    font-size: clamp(56px, 6.2vw, 100px);
    background: linear-gradient(90deg, #111, #555);
    -webkit-background-clip: text;
    color: transparent;
}

.partner {
    padding: 100px 0;
    padding-bottom: 0;
    background: #f7f7f7;
    overflow: hidden;
}

.title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 60px;
}

.logo-row {
    overflow: hidden;
    margin-bottom: 20px;
}

.logo-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /*padding-left: 90px;*/
    /*padding-right: 90px;*/
}

.logo-track img {
    height: 100px;
    width: 200px;
    opacity: .8;
    transition: .3s;
    margin-right: 30px;
    margin-bottom: 30px;
}

.logo-track img:hover {
    opacity: 1;
    transform: scale(1.05);
}

/*.scroll-left .logo-track {*/
/*    animation: scrollLeft 30s linear infinite;*/
/*}*/

/*@keyframes scrollLeft {*/

/*    0% {*/
/*        transform: translateX(0);*/
/*    }*/

/*    100% {*/
/*        transform: translateX(-50%);*/
/*    }*/

/*}*/

/*.scroll-right .logo-track {*/
/*    animation: scrollRight 20s linear infinite;*/
/*}*/

/*@keyframes scrollRight {*/

/*    0% {*/
/*        transform: translateX(0);*/
/*    }*/

/*    100% {*/
/*        transform: translateX(-50%);*/
/*    }*/

/*}*/

.patent {
    padding: 120px 0;
    padding-top: 40px;
    background: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: auto;
}

.title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 60px;
    font-weight: 600;
}


/* 图片墙 */

.patent-list {

    display: grid;

    grid-template-columns:repeat(auto-fit, minmax(170px, 1fr));

    gap: 30px;

}


/* 每个证书 */

.patent-item {

    display: flex;
    align-items: center;
    justify-content: center;

}


/* 图片 */

.patent-item img {

    max-width: 100%;
    height: auto;

    transition: .3s;

}


/* hover效果 */

.patent-item img:hover {

    transform: translateY(-6px);

}

.patent-item img:hover {
    transform: scale(1.05);
}

.history-xian {
    width: 64px;
    height: 2px;
    background: #d9d9d9;
}

.history-img-1 {
    width: 36px;
    height: 36px;
    margin-top: 4px;
    margin-right: 4px;
}

.history-img-s {
    display: flex;
}

.history-img-2 {
    width: 92px;
    height: 36px;
    margin-top: 4px;
}

.history-img-3 {
    width: 52px;
    height: 36px;
    margin-top: 4px;
}

.history-img-8 {
    width: 132px;
    height: 36px;
    margin-top: 36px;
    margin-right: 36px;
}

.history-img-9 {
    width: 126px;
    height: 36px;
    margin-top: 36px;
    margin-right: 36px;
}


.history-img-10 {
    width: 44px;
    height: 36px;
    margin-top: 36px;
    margin-right: 36px;
}

.history-img-11 {
    width: 90px;
    height: 36px;
    margin-top: 36px;
    margin-right: 36px;
}

.history-img-12 {
    width: 56px;
    height: 36px;
    margin-top: 36px;
    margin-right: 36px;
}

.history-img-13 {
    width: 54px;
    height: 36px;
    margin-top: 36px;
    margin-right: 36px;
}

/* ==========================================================
   手机端（<=768px）：合作伙伴 logo 两列
   ========================================================== */
@media (max-width: 768px) {
    .partner {
        padding: 44px 0 0;
    }

    .partner .title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .logo-row {
        margin-bottom: 12px;
    }

    .logo-track {
        flex-wrap: wrap;
        gap: 12px;
    }

    .logo-track img {
        width: calc(50% - 6px);
        height: 64px;
        margin: 0;
        object-fit: contain;
    }

    /* ---------- 发展历程 ---------- */
    .history-section {
        padding: 48px 0;
    }

    .history-title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    /* 年份与图片改为上下排列，右侧图片不再压住文字里的小图标 */
    .history-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .history-img {
        order: 1;
        width: 100%;
        text-align: center;
    }

    .history-img img {
        width: min(100%, 220px);
        height: auto;
    }

    .history-left {
        order: 2;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        min-width: 0;
    }

    .year {
        font-size: 30px;
        margin-right: 0;
        line-height: 1.2;
    }

    .history-text {
        width: 100%;
        min-width: 0;
    }

    .history-text h3 {
        font-size: 17px;
    }

    .history-text p {
        font-size: 13px;
        line-height: 1.7;
    }

    .history-xian {
        margin-left: auto;
        margin-right: auto;
    }

    /* 小图标整体下移、居中，避免与年份大图/右侧图片叠在一起 */
    .history-img-s,
    .history-text > img {
        margin-top: 16px;
    }

    .history-img-s {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .history-img-s img,
    .history-text > .history-img-1 {
        margin: 0 !important;
        max-width: 100%;
        height: auto;
    }

    .timeline {
        margin-top: 36px;
    }
}
