
/* 公司简介内容区域 */
.about-company {
    padding: 40px 0px 20px 0px;
}

.about-page {
    background: #fff;
}

.about-anchor-section {
    scroll-margin-top: 96px;
}

.about-page .factory-section {
    padding-top: 28px;
}

.about-page .factory-section .section-header {
    margin-bottom: 28px;
}

.about-section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.about-section-heading p {
    margin: 0 0 8px;
    color: var(--accent-color);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-section-heading h2 {
    margin: 0;
    color: var(--text-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.1;
}

.profile-card {
    align-items: stretch;
    margin-bottom: 0;
    padding: 26px;
    border: 1px solid rgba(12, 56, 94, 0.1);
    border-radius: 8px;
    background: linear-gradient(135deg, #fff, #f7fbff);
    box-shadow: 0 18px 42px rgba(8, 39, 68, 0.08);
}

    .about-company .container p{
       line-height:35px;
    }

.company-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.company-text {
    flex: 1;
    min-width: 300px;
}

.company-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.company-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.company-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.24s ease, transform 0.24s ease;
}

.company-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    object-fit: cover;
    transition: transform 0.24s ease, filter 0.24s ease;
}

.about-rail {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.about-rail-window {
    overflow: hidden;
    border-radius: 8px;
}

.about-rail-track {
    display: flex;
    gap: 18px;
    transition: transform 0.72s ease;
    will-change: transform;
}

.about-rail-item {
    flex: 0 0 calc((100% - 54px) / 4);
    min-width: 0;
}

.certificate-rail .about-rail-item {
    flex-basis: calc((100% - 90px) / 6);
}

.about-rail-btn {
    position: absolute;
    top: 42%;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--primary-color);
    box-shadow: 0 10px 22px rgba(11, 87, 164, 0.24);
    cursor: pointer;
    opacity: 0.96;
}

.about-rail-btn.prev {
    left: 12px;
}

.about-rail-btn.next {
    right: 12px;
}

.about-rail .cert-card {
    height: 100%;
    min-width: 0;
}

.about-rail .cert-img {
    aspect-ratio: 4 / 3;
    padding-top: 0;
    background: #fff;
}

.certificate-rail .cert-img {
    aspect-ratio: 3 / 4;
    padding-top: 0;
}

.about-rail .cert-img img {
    position: static;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.empty-state {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px;
    border: 1px dashed rgba(11, 87, 164, 0.22);
    border-radius: 8px;
    color: #6c757d;
    text-align: center;
    background: #f8fbff;
}

.company-image:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(8, 39, 68, 0.14);
}

.company-image:hover img {
    transform: scale(1.015);
    filter: saturate(1.04);
}

/* 公司特色区域 */
.company-features {
    background: var(--light-color);
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    text-align: center;
    padding: 30px 20px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--accent-color);
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
}

/* 发展历程 */
.company-history {
    padding: 60px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -13px;
}

.timeline-item:nth-child(even)::after {
    left: -13px;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
}


@media (max-width: 768px) {
    .company-content {
        flex-direction: column;
    }

    .profile-card {
        padding: 18px;
    }

    .about-rail {
        padding: 0;
    }

    .about-rail-item {
        flex-basis: calc((100% - 18px) / 2);
    }

    .certificate-rail .about-rail-item {
        flex-basis: calc((100% - 36px) / 3);
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .timeline-item:nth-child(odd)::after {
        right: auto;
    }
}

@media (max-width: 576px) {

    .about-rail {
        padding: 0;
    }

    .about-rail-item {
        flex-basis: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
