/* 关于页面样式 */

/* 关于我们主区域 */
.about-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/about-banner-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -2;
}


@keyframes shimmer {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}


.about-hero .container {
    position: relative;
}

.about-hero-content {
    width: 90rem;
    text-align: left;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.about-title {
    font-size: 5.2rem;
    font-weight: bold;
    margin-bottom: 2.4rem;
    color: white;
    text-align: left;
}

.about-description {
    font-size: 1.4rem;
    line-height: 2;
    margin-bottom: 3rem;
    text-align: left;
}

.about-description p {
    margin-bottom: 1.6rem;
    color: rgba(255, 255, 255, 1);
}

/* 数据统计 */
.about-stats {
    display: flex;
    justify-content: center;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.2);
    background: rgba(15, 54, 103, .5);
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;

}

.about-stats>.container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.stat-item {
    text-align: left;
    position: relative;
    padding: 2.4rem;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.1rem;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.stat-item-top {
    display: flex;
    align-items: center;
    margin-bottom: 0.4rem;
}

.stat-item-top>.e {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-number {
    font-size: 4.8rem;
    color: #ffffff;
    background-clip: text;
    display: flex;
    align-items: center;
    margin-right: 0.8rem;
    line-height: 1.1;
}

.stat-label {
    font-size: 1.4rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* 通用section样式 */
.section-title {
    font-size: 3.6rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a202c;
    position: relative;
}


/* 企业文化 */
.company-culture {
    padding: 10rem 0;
    background: rgba(247, 248, 251, 1);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin: 0 auto;
}

.culture-item {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 54rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.culture-item:hover {
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.1);
}

.culture-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.culture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.culture-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem;
    transition: transform 0.3s ease;
}

.culture-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.culture-overlay p {
    font-size: 1.4rem;
    opacity: 0.9;
}

/* 发展历程轮播 */
.development-history {
    padding: 10rem 0;
    background: linear-gradient(180deg, rgba(247, 248, 251, 1) 0%, rgba(232, 246, 255, 1) 49.74%, rgba(247, 248, 251, 1) 100%);
}

.timeline-carousel {
    margin: 0 auto;
    position: relative;
}

.timeline-wrapper {
    overflow: hidden;
    border-radius: 1.5rem;
    position: relative;
    padding: 1rem;
}

.timeline-track {
    display: flex;
    will-change: transform;
    /* 提示浏览器这个元素会发生变换 */
    transform: translateZ(0);
    /* 启用硬件加速 */
    backface-visibility: hidden;
    /* 避免闪烁 */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.timeline-item {
    flex: 0 0 25%;
    /* 每个项目占25%宽度，一行显示4个 */
    padding: 1rem;
    box-sizing: border-box;
    transform: translateZ(0);
    /* 启用硬件加速 */
    backface-visibility: hidden;
    /* 避免闪烁 */
}

/* 克隆项目样式 */
.timeline-item.timeline-clone {
    opacity: 1;
}

.timeline-content {
    background: white;
    border-radius: 1.2rem;
    padding: 1.6rem;
    text-align: left;
    min-height: 22rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: translateZ(0);
    /* 启用硬件加速 */
    box-shadow: 0 0.4rem 1.5rem rgba(102, 126, 234, 0.1);
    height: 54rem;
}

.timeline-content:hover {
    transform: translateY(-0.2rem) translateZ(0);
    box-shadow: 0 0.8rem 2.5rem rgba(102, 126, 234, 0.15);
}

.timeline-content h3 {
    font-size: 3.2rem;
    font-weight: 600;
    color: #1682D6;
}

.timeline-content p {
    font-size: 1.6rem;
    color: #A2A3A5;
    margin-bottom: 4rem;
    height: 4rem;
}

.timeline-details {
    flex: 1;
}

.timeline-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-details li {
    color: #333;
    line-height: 1.6;
    font-size: 1.4rem;
    margin-bottom: 2.4rem;
    padding-left: 1.6rem;
    position: relative;
}

.timeline-details li:before {
    content: '•';
    color: #848586;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -0.4rem;
    font-size: 2rem;
}

.timeline-details li:last-child {
    margin-bottom: 0;
}

/* 轮播导航按钮 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 0.4rem 1.5rem rgba(0, 0, 0, 0.1);
    color: #667eea;
}

.carousel-nav:hover {
    background: white;
    box-shadow: 0 0.6rem 2rem rgba(0, 0, 0, 0.15);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: -2.5rem;
}

.carousel-next {
    right: -2.5rem;
}

.carousel-nav svg {
    transition: transform 0.2s ease;
}

.carousel-nav:hover svg {
    transform: scale(1.1);
}

/* 轮播指示器已在 styles.css 统一定义 */
.timeline-indicators {
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    margin-top: 4rem;
}

/* 荣誉资质 */
.honors-qualifications {
    padding: 5rem 0 15rem;
    background: #f8fafc;
}

.honors-title {
    font-size: 3.6rem;
    font-weight: 700;
    text-align: center;
    color: #1a202c;
    margin-bottom: .5rem;
}

.honors-description {
    font-size: 1.6rem;
    font-weight: 400;
    text-align: left;
    color: #A2A3A5;
    margin-bottom: 3rem;
}

.honors-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.honors-text {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    max-height: 54rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e5e7eb transparent;
}

.honors-text::-webkit-scrollbar {
    width: 0.4rem;
}

.honors-text::-webkit-scrollbar-track {
    background: transparent;
}

.honors-text::-webkit-scrollbar-thumb {
    background-color: #e5e7eb;
    border-radius: 0.2rem;
}

.honors-text::-webkit-scrollbar-thumb:hover {
    background-color: #d1d5db;
}

.honor-item {
    padding: 1.6rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border-bottom: 0.1rem solid rgba(162, 163, 165, 0.3);
    display: flex;
    align-items: center;
}

.honor-item:hover {
    background: rgba(102, 126, 234, 0.05);
}

.honor-item.active {
    border-color: rgba(102, 126, 234, 0.3);
}

.honor-item.active .iconfont {
    background: linear-gradient(90deg, rgba(35, 167, 253, 1) 0%, rgba(253, 26, 226, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: scale(1.1);
}

.honor-item.active h3 {
    color: #333;
    font-weight: 600;
}

.honor-item h3 {
    font-size: 1.6rem;
    color: #A2A3A5;
    font-weight: normal;
    margin-left: 1.2rem;

}

.honor-item .iconfont {
    font-size: 1.6rem;
    color: #A2A3A5;
}


.honors-certificate {
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.honors-certificate img {
    max-width: 100%;
    height: auto;
    transition: all 0.5s ease;
    opacity: 1;
}

.honors-certificate img.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

.honors-certificate img.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* 响应式设计 */
@media (max-width: 102.4rem) {
    .about-stats {
        gap: 4rem;
    }

    .culture-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .honors-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .honors-text {
        grid-template-columns: 1fr;
    }

    .carousel-nav {
        width: 4.5rem;
        height: 4.5rem;
    }

    .carousel-prev {
        left: -2.2rem;
    }

    .carousel-next {
        right: -2.2rem;
    }
}

@media (max-width: 76.8rem) {
    .about-title {
        font-size: 2.5rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 3rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline::before {
        left: 3rem;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 8rem;
        flex: 0 0 100%;
        /* 移动端每次显示1个 */
    }

    .timeline-year {
        position: absolute;
        left: 0;
        width: 6rem;
        height: 6rem;
        font-size: 0.9rem;
    }

    .timeline-content {
        margin: 0;
        min-height: 18rem;
        text-align: left;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
        text-align: left;
        margin-bottom: 1.2rem;
    }

    .timeline-details li {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .timeline-item .timeline-content::before {
        left: -1.5rem;
        border-right: 1.5rem solid white;
        border-left: none;
    }

    .culture-item {
        height: 25rem;
    }

    .carousel-nav {
        width: 4rem;
        height: 4rem;
    }

    .carousel-prev {
        left: -2rem;
    }

    .carousel-next {
        right: -2rem;
    }
}

@media (max-width: 48rem) {
    .about-hero-content {
        padding: 8rem 0;
    }

    .about-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .timeline-year {
        width: 5rem;
        height: 5rem;
        font-size: 0.8rem;
    }

    .timeline-item {
        padding-left: 7rem;
    }

    .timeline-content {
        padding: 2rem;
        min-height: 16rem;
    }

    .timeline-content h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .timeline-details li {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        padding-left: 1.5rem;
    }

    .carousel-nav {
        width: 3.5rem;
        height: 3.5rem;
    }

    .carousel-prev {
        left: -1.7rem;
    }

    .carousel-next {
        right: -1.7rem;
    }
}