/* Banner区域 */
.banner {
    height: 750px !important;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/about-banner.png') no-repeat center/cover;
}

.banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(rgba(0,102,204,0.8), rgba(0,102,204,0.6)); */
}

/* 面包屑导航 */
.breadcrumb-wrapper {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.breadcrumb-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
    font-size: 14px;
}

/* 左侧页面导航 */
.page-nav {
    display: flex;
    gap: 30px;
}

.page-nav a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.page-nav a.active {
    color: #333;
    font-weight: bold;
}

/* 右侧位置导航 */
.location {
    display: flex;
    align-items: center;
    gap: 5px;
}

.location a {
    color: var(--primary-color);
}

.location span {
    color: #333;
}

.location span:first-child {
    color: #666;
}

/* 公司简介 */
.about {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    margin: 0 auto;
}

.about-content p {
    text-align: center;
    line-height: 1.8;
}

.about-text {
    max-width: 1300px;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0 auto;
    margin-bottom: 60px;
}

.about-text p {
    line-height: 1.8;
}



/* 核心价值列表 */
.value-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
    background: url('../images/about-jj-bj.png') no-repeat center/cover;
    padding: 100px 50px;
    position: relative;
    width: 100%;
}

.value-item {
    text-align: center;
    padding: 30px;
    background: transparent; 
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* .value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
} */

.value-item .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-item .icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.value-item h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
}

.value-item p {
    font-size: 14px;
    color: #fff;
    line-height: 1.6;
}

/* 分隔线 */
.value-list::before,
.value-list::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: 0;
    height: 200px;
    width: 1px;
    background: rgba(255, 255, 255, 0.5); /* 半透明白色 */
    z-index: 0;
}

.value-list::before {
    left: 33.33%;
}

.value-list::after {
    left: 66.66%;
}

/* 发展历程 */
.timeline {
    padding: 80px 0;
    position: relative;
}

/* .timeline .container {
    max-width: 1200px;
} */

.timeline .section-title {
    
}

.timeline-wrapper {
    position: relative;
    padding: 100px 50px;
    overflow: hidden;
    background-color: #f2f5f7;
}

/* 时间轴线 */
.timeline-line {
    position: absolute;
    bottom: 6%;
    left: 0;
    right: 0;
    height: 1px;
    background: #fff;
    z-index: 1;
}

/* Swiper容器样式 */
.timeline .swiper-container {
    overflow: visible;
    /* padding: 150px 0; */
}

.timeline .swiper-slide {
    width: 300px;
}

.timeline-item {
    position: relative;
    text-align: left;
    height: 350px;
}

/* 时间节点圆点 */
.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* 奇数项在下方 */
.timeline-item.odd .content {
    top: auto;
    bottom: 52px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateX(-50%);
}

/* 奇数项小三角 */
.timeline-item.odd .content::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
}

.timeline-item.odd:hover .content::before {
    border-bottom-color: var(--primary-color);
}

/* 偶数项在上方 */
.timeline-item.even .content {
    top: 30px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateX(-50%);
}

/* 偶数项小三角 */
.timeline-item.even .content::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

.timeline-item.even:hover .content::before {
    border-top-color: var(--primary-color);
}

.timeline-item .content {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    padding: 15px 20px;
    border-radius: 4px;
    position: absolute;
    left: 50%;
    width: 250px;
    min-height: 80px;
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.timeline-item .content .year {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    white-space: nowrap;
}

/* hover状态 */
.timeline-item:hover .content {
    background: var(--primary-color);
    color: #fff;
}

.timeline-item:hover .content .year {
    color: #fff;
}

/* 时间轴导航按钮 */
.timeline-prev,
.timeline-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-prev {
    left: 0;
}

.timeline-next {
    right: 0;
}

.timeline-prev:hover,
.timeline-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.timeline-prev:hover svg path,
.timeline-next:hover svg path {
    stroke: #fff;
}

.timeline-prev svg,
.timeline-next svg {
    width: 24px;
    height: 24px;
}

.timeline-prev svg path,
.timeline-next svg path {
    stroke: var(--primary-color);
    transition: stroke 0.3s;
}

/* 荣誉资质 */
.cert-img {
   padding: 20px;
}

.cert-img img {
    position: static;
}

.cert-title {
    text-align: center;
    padding: 10px 0;
}



/* 响应式布局 */
@media screen and (max-width: 992px) {
    .value-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-grid,
    .cert-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .sub-menu {
        display: flex;  /* 确保在移动端也是显示状态 */
        width: 100%;
    }

    .banner {
        height: 300px;
    }
    
    .about {
        padding: 60px 0;
    }
    
    .value-list {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cert-grid,
    .cert-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-list::before, .value-list::after {
        display: none;
    }
    
    .cert-col {
        padding: 20px;
    }
    
    /* 面包屑导航移动端样式 */
    .breadcrumb-wrapper {
        padding: 10px 0;
    }

    .breadcrumb-content {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }

    .page-nav {
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }

    .page-nav::-webkit-scrollbar {
        display: none;
    }

    /* 公司简介移动端样式 */
    .about {
        padding: 40px 0;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .value-list {
        flex-direction: column;
        gap: 30px;
    }

    .value-item {
        width: 100%;
    }

    .value-item .icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .value-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .value-item p {
        font-size: 14px;
    }

    /* 发展历程移动端样式 */
    .timeline {
        padding: 40px 0;
    }

    .timeline-wrapper {
        padding: 0 15px;
    }

    .timeline-point {
        min-width: 160px;
        height: auto;
        padding: 20px 10px;
    }

    /* 荣誉资质移动端样式 */
    .certificates {
        padding: 40px 0;
    }

    .cert-container {
        flex-direction: column;
    }

    .cert-preview {
        margin-bottom: 30px;
    }

    .cert-list {
        width: 100%;
    }

    .cert-row {
        flex-wrap: wrap;
        gap: 15px;
    }

    

    .cert-preview {
        flex: 1;
    }

  
}

/* 动画效果 */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* 证书查看器 */
.cert-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.cert-viewer.active {
    opacity: 1;
    visibility: visible;
}

.cert-viewer img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.cert-viewer .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.cert-viewer .close-btn::before,
.cert-viewer .close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background: #fff;
}

.cert-viewer .close-btn::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.cert-viewer .close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
} 