/* 简介 */
.about-us {
    background: #f5f5f7;
}

.about-us-left img {
    width: 330px;
    margin-top: 90px;
    height: auto;
}

.about-us-content .about-us-right {
    width: calc(100% - 400px);
}

.about-us-content {
    padding: 0 175px;
}

.about-us-content .about-us-right h2 {
    margin-bottom: 200px;
    font-weight: 700;
    font-size: 52px;
}

.about-us-content .about-us-right p {
    line-height: 1.8;
    letter-spacing: 1px;
}

.about-us-content .about-us-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 46px;
    font-size: 14px;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all .25s ease;
    margin-right: 24px;
    border: 1px solid #000;
    color: #000;
    margin-top: 48px;
}

.laboratory-content img {
    width: 100%;
}

.laboratory-content .container a {

    border: 1px solid #fff;
    color: #fff;
    position: absolute;
    bottom: 180px;
    right: 0;
}

/* 发展历程部分 */
.history-section {
    background-color: #fff;
    padding: 80px 0 20px;
}


.history-tabs {
    margin-bottom: 40px;
}

.history-tab {
    padding: 8px 20px;
    margin: 0 10px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-tab.active {
    background: #ff0031;
    color: #fff;
    border-color: #ff0031;
}



.history-timeline {
    position: relative;
    padding: 10px 0 0px;
    min-height: 410px;
    /* 设置最小高度，避免切换时高度忽高忽低 */
    overflow: hidden;
}

.timeline-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    height: 3px;
    background-color: #ff0031;
    z-index: 1;
}

.timeline-line::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 12px solid #ff0031;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.history-item {
    position: relative;
    z-index: 2;
    padding: 10px 40px 26px 40px;
    opacity: .7;
    transition: transform .25s ease, opacity .25s ease;
}

.history-item.is-active {
    opacity: 1;
}

.history-dot {
    width: 18px;
    height: 18px;
    background-color: #ff0031;
    border: 6px solid #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 5px;
    z-index: 2;
}

.history-year {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 26px;
    text-align: center;
    line-height: 1;
    transition: all .25s ease;
}

.history-content {
    padding: 0 15px;
    transition: transform .25s ease;
    overflow: hidden;
    /* 确保伪元素不会溢出到slide外部 */
}

.history-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.history-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.history-content ul li {
    text-align: justify;
    position: relative;
    padding-left: 12px;
}

/* 历史时间轴轮播容器 - 底部对齐 */
.history-swiper .swiper-wrapper {
    display: flex !important;
    align-items: flex-end !important;
}

/* 确保每个历史项也是flex容器，从底部开始排列 */
.history-swiper .swiper-slide {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    height: auto !important;
}

.swiper-wrapper {
    align-items: flex-end !important;
}

.history-content ul li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #ff0031;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 12px;
    transform: translateY(-50%);
}

/* 新的按钮样式 - 类似index.htm，但位置在左右两侧 */
.history-swiper {
    position: relative;
    /* 让轮播容器成为定位参考 */
}

.history-swiper-button-prev,
.history-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.history-swiper-button-prev {
    left: 10px;
}

.history-swiper-button-next {
    right: 10px;
}


.history-swiper-button-prev:after,
.history-swiper-button-next:after {
    content: none;
}

/* 保留旧的按钮样式作为备用 */
.history-prev,
.history-next {
    position: absolute;
    top: 34%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    z-index: 10;
    cursor: pointer;
}

/* 高亮项（红色大年份、整体上移） */
.history-item.is-active .history-year {
    color: #ff0031;
    font-size: 62px;
    font-weight: 800;
}

/* 激活状态下"年"字保持原色和24px字体 */
.history-item.is-active .history-year .year-text {
    color: #333 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
}


.history-item.is-active .history-content {
    transform: translateY(-12px);
}

.history-item.is-active .history-dot {
    width: 18px;
    height: 18px;
}

.history-prev {
    left: 10px;
}

.history-next {
    right: 10px;
}

/* 历程轮播容器 */
.history-swiper {
    padding: 0 50px 20px;
    position: relative;
    overflow: hidden;
}

/* 自定义底部装饰线（非分页器） */
.history-deco-line {
    width: 95%;
    margin: 20px auto 80px;
    position: relative;
    height: 3px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .03) 0%, #ff0031 15%, #ff0031 50%, #ff0031 85%, rgba(0, 0, 0, .03) 100%);
}

.history-deco-line .deco-dot {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background: #fff;
    border: 6px solid #ff0031;
    border-radius: 50%;
}

.history-deco-line .dot-1 {
    left: 18%;
}

.history-deco-line .dot-2 {
    left: 50%;
}

.history-deco-line .dot-3 {
    left: 82%;
}


/* 合作伙伴部分 */


.partners-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}


/* 荣誉资质部分 */
.honors-section {
    background-color: #f5f5f7;
    padding: 80px 0;
}

.honor-tabs {
    margin-bottom: 40px;
}

.honor-tab {
    padding: 8px 16px;
    margin: 0 10px;
    border-radius: 8px;
    background: transparent;
    border: 1px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.honor-tab.active {
    background: #ff0031;
    color: #fff;
    border-color: #ff0031;
}

.honor-content {
    position: relative;
}

.honor-group {
    display: none;
}

.honor-group.active {
    display: block;
}

.honor-swiper {
    position: relative;
    overflow: hidden;
    /* 隐藏超出区域的内容 */
    padding: 0 50px 20px;
}

/* 荣誉资质轮播导航按钮 */
.honor-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.honor-swiper-button-prev,
.honor-swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.honor-swiper-button-prev {
    left: 10px;
}

.honor-swiper-button-next {
    right: 10px;
}

.honor-swiper-button-prev:hover,
.honor-swiper-button-next:hover {
    background: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.honor-swiper-button-prev:after,
.honor-swiper-button-next:after {
    content: none;
}

.honor-controls .fa {
    font-size: 16px;
    line-height: 1;
}

.honor-item {
    padding: 10px;
}

.honor-card {
    overflow-x: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.honor-card.is-active {
    opacity: 1;
    transform: scale(1.2);
}

.honor-card.is-active .honor-image::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 20px;
    background: radial-gradient(ellipse, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    /* z-index: -1; */
}


.honor-image {
    padding-bottom: 20px;
    padding-top: 20px;
    height: auto;
    min-height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.honor-image img {
    width: auto;
    height: auto;
    object-fit: contain;
}


.honor-info {
    padding: 20px 15px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.honor-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    color: #333;
    line-height: 1.5;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.honor-card.is-active .honor-info h4 {
    color: #ff0031;
}