/* 关于页面样式 */

/* 关于我们主区域 */
.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: 100%;
    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, 0.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;
}
.mobile-honor{
    display: none;
}
/* 移动端奖项列表样式 */
.honors-list {
    display: none;
    list-style: none;
    margin: 0 0 3rem 0;
    color: #1682d6;
    padding: 0 1.5rem;
}

.honors-list li {
    position: relative;
    padding-left: 2rem;
    line-height: 2;
    font-size: 1.8rem;
}

.honors-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2rem;
    color: #1682d6;
    font-weight: bold;
}
/* 荣誉资质 */
.honors-qualifications {
    padding: 5rem 0 15rem;
    background: #f8fafc;
}

.honors-title {
    font-size: 3.6rem;
    font-weight: 700;
    text-align: center;
    color: #1a202c;
    margin-bottom: 0.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);
    height: 48rem;
    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;
}

/* PC端隐藏图片 */
.honor-item-image {
    display: none;
}

.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;
}

.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;
    max-height: 48rem;
}

.honors-certificate img {
    max-width: 100%;
    max-height: 48rem;
    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;
    }

    /* 荣誉资质移动端基础样式 */
    .honors-title {
        font-size: 3rem;
    }

    .honors-description {
        font-size: 1.5rem;
        text-align: center;
    }

    /* 移动端改为卡片布局 */
    .honors-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .honors-text {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        max-height: none;
        overflow-y: visible;
    }

    .honor-item-image img {
        width: 100%;
        max-height: 100%;
        object-fit: contain;
        background: white;
        box-shadow: none;
    }

    .honor-item {
        border: 0.1rem solid rgba(102, 126, 234, 0.2);
        border-radius: 1rem;
        padding: 2rem;
        transition: all 0.3s ease;
        cursor: pointer;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: white;
        box-shadow: 0 0.2rem 0.8rem rgba(102, 126, 234, 0.1);
    }

    .honor-item.active {
        border: 0.1rem solid rgba(102, 126, 234, 0.2)
    }

    .honor-item:hover{
        background: white;
    }
    .honor-item h3 {
        font-size: 1.5rem;
        margin-left: 0;
        margin-top: 0;
    }

    .honor-item .iconfont {
        display: none;
    }

    .honors-certificate {
        display: none;
    }

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

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

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

@media (max-width: 76.8rem) {
    .mobile-honor{
        display: block;
    }
    .pc-honor{
        display: none;
    }
    /* 移动端显示图片 */
    .honor-item-image {
        display: block;
        width: 100%;
        overflow: hidden;
        border-radius: 0.8rem;
        margin-bottom: 1rem;
        height: 12rem;
        text-align: center;
    }
    .honors-list {
        display: block;
    }
    .honors-text{
        height: auto;
    }
    .about-title {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }

    .about-description {
        font-size: 1.8rem;
        height: 60vh;
        overflow-y: auto;
    }
    .about-description p {
        margin-bottom: 1rem;
    }

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

    .stat-number {
        font-size: 3.6rem;
        margin-right: 0.4rem;
        font-weight: bold;
    }

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

    /* 文化板块移动端样式 */
    .culture-item {
        height: 25rem;
    }

    /* 时间线移动端样式 */
    .timeline-item {
        flex: 0 0 100%;
        /* 移动端每次显示1个 */
        padding: 1rem;
        box-sizing: border-box;
    }

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

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

    .timeline-content p {
        font-size: 2.4rem;
        height: auto;
        margin-bottom: 2rem;
    }

    .timeline-details li {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    /* 轮播导航按钮 */
    .carousel-nav {
        width: 4rem;
        height: 4rem;
    }

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

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

    /* 指示器样式 */
    .timeline-indicators {
        margin-top: 3rem;
    }

    .timeline-indicators .indicator {
        width: 1rem;
        height: 1rem;
    }

    /* 荣誉资质小屏幕样式 */
    .honors-qualifications {
        padding: 4rem 0 10rem;
    }

    .honors-title {
        font-size: 2.4rem;
    }

    .honors-description {
        font-size: 1.4rem;
        padding: 0 1.5rem;
    }

    .honor-item {
        padding: 1.2rem 1rem;
    }

    .honor-item h3 {
        font-size: 1.4rem;
    }

    .honor-item .iconfont {
        font-size: 1.4rem;
    }

    .honors-certificate img {
        max-width: 95%;
    }
}

/* 移动端小屏幕特殊样式 */
@media (max-width: 48rem) {
    .about-hero-content {
        padding: 0 2rem;
        width: 100%;
    }

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

    .section-title {
        font-size: 3rem;
        font-weight: bold;
        margin-bottom: 2rem;
    }

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

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

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

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

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

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

    .carousel-next {
        right: -1.7rem;
    }
    .company-culture {
        padding: 4rem 0;
    }
    .culture-overlay h3 {
        font-size: 2.4rem;
        margin-bottom: 0;
    }
    .culture-overlay p {
        font-size: 1.8rem;
    }
    .development-history {
        padding: 4rem 0;
    }
    .timeline-details li:before {
        top: -0.2rem;
    }

    /* 荣誉资质小屏幕特殊样式 */
    .honors-qualifications {
        padding: 3rem 0 8rem;
    }

    .honors-title {
        font-size: 3rem;
        text-align: center;
        font-weight: bold;
        margin-bottom: 2rem;
    }

    .honors-description {
        font-size: 1.8rem;
        text-align: center;
    }

    /* 小屏幕移动端改为2列卡片布局 */
    .honors-text {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .honor-item {
        padding: 1.5rem;
    }
    .honor-item.active h3{
        font-weight: normal;
    }
    .honor-item h3 {
        font-size: 1.8rem;
        margin-top: 0.8rem;
        color: #333333;
    }

    .honor-item .iconfont {
        font-size: 1.8rem;
    }

    .honors-certificate {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    .culture-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .honors-text{
        height: auto;
    }
    .honors-list {
        display: block;
    }
    /* 移动端显示图片 */
    .honor-item-image {
        display: block;
        width: 100%;
        overflow: hidden;
        border-radius: 0.8rem;
        margin-bottom: 1rem;
        height: 12rem;
        text-align: center;
    }
    .mobile-honor{
        display: block;
    }
    .pc-honor{
        display: none;
    }
}
