#contact {
    scroll-margin-top: 80px;
}

.timeline-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.timeline {
    position: relative;
    min-width: 1100px;
    padding-top: 16px;
}

    .timeline::before {
        content: "";
        position: absolute;
        top: 12px;
        left: 0;
        right: 0;
        height: 2px;
        background: rgba(13, 110, 253, 0.2);
    }

.timeline-item {
    position: relative;
    flex: 0 0 200px;
    text-align: center;
    padding-top: 28px;
}

    .timeline-item::before {
        content: "";
        position: absolute;
        top: 4px;
        left: 50%;
        transform: translateX(-50%);
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #0d6efd;
        border: 3px solid #fff;
        box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
    }

    .timeline-item .badge {
        font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 0;
        line-height: 1.2;
        font-variant-numeric: lining-nums tabular-nums;
        font-feature-settings: "lnum" 1, "tnum" 1;
    }

@media (max-width: 991.98px) {
    .timeline {
        min-width: 900px;
    }

    .timeline-item {
        flex: 0 0 200px;
    }
}

@media (max-width: 767.98px) {
    .timeline {
        min-width: 780px;
    }

    .timeline-item {
        flex: 0 0 220px;
    }
}

/* ========== 企业文化样式 ========== */
.culture-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    height: 100%;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.culture-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.culture-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--culture-color), color-mix(in srgb, var(--culture-color) 70%, white));
    border-radius: 16px 16px 0 0;
}

.culture-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--culture-color);
    opacity: 0.08;
    line-height: 1;
    transition: all 0.3s ease;
}

.culture-card:hover .culture-number {
    opacity: 0.15;
    transform: scale(1.1);
}

.culture-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--culture-color), color-mix(in srgb, var(--culture-color) 70%, white));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.culture-card:hover .culture-icon {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.culture-icon i {
    font-size: 1.8rem;
    color: white;
}

.culture-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 2;
}

.culture-content {
    position: relative;
    z-index: 2;
}

.culture-value {
    font-size: 1.15rem;
    color: #555;
    font-weight: 500;
    line-height: 1.7;
    margin: 0;
    padding: 1rem;
    background: linear-gradient(to right, rgba(var(--bs-primary-rgb), 0.03), transparent);
    border-left: 3px solid var(--culture-color);
    border-radius: 0 8px 8px 0;
}

.culture-decoration {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--culture-color) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.culture-card:hover .culture-decoration {
    transform: scale(1.3);
    opacity: 0.08;
}

@media (max-width: 768px) {
    .culture-card {
        padding: 2rem 1.5rem;
    }

    .culture-icon {
        width: 60px;
        height: 60px;
    }

    .culture-icon i {
        font-size: 1.5rem;
    }

    .culture-title {
        font-size: 1.2rem;
    }

    .culture-value {
        font-size: 1rem;
    }

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

/* ========== 简洁优雅的横向时间轴 ========== */
.horizontal-timeline-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3rem 0;
    background: #f8f9fa;
    border-radius: 12px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* 简洁的滚动条 */
.horizontal-timeline-wrapper::-webkit-scrollbar {
    height: 6px;
}

.horizontal-timeline-wrapper::-webkit-scrollbar-track {
    background: #e9ecef;
    border-radius: 3px;
}

.horizontal-timeline-wrapper::-webkit-scrollbar-thumb {
    background: #0d6efd;
    border-radius: 3px;
}

.horizontal-timeline-wrapper::-webkit-scrollbar-thumb:hover {
    background: #0b5ed7;
}

.horizontal-timeline {
    display: flex;
    gap: 2.5rem;
    padding: 2rem 2rem 3rem;
    position: relative;
    min-width: min-content;
}

/* 简洁的连接线 */
.horizontal-timeline::before {
    content: '';
    position: absolute;
    top: 65px;
    left: 0;
    right: 0;
    height: 3px;
    background: #dee2e6;
    z-index: 0;
}

.h-timeline-item {
    position: relative;
    min-width: 280px;
    flex-shrink: 0;
}

/* 简洁的时间节点（带图标） */
.h-timeline-marker {
    position: absolute;
    top: 48px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.h-timeline-dot {
    width: 36px;
    height: 36px;
    background: #0d6efd;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 节点上的图标 */
.h-timeline-dot::before {
    content: '\f073';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: white;
    font-size: 0.75rem;
}

.h-timeline-item:hover .h-timeline-dot {
    transform: scale(1.2);
    border-width: 5px;
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.4);
}

/* 清晰的卡片设计 */
.h-timeline-card {
    margin-top: 100px;
    background: white;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border-top: 3px solid #0d6efd;
}

.h-timeline-item:hover .h-timeline-card {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* 优雅的年份样式 */
.h-timeline-year {
    font-size: 2rem;
    font-weight: 700;
    color: #0d6efd;
    text-align: center;
    margin-bottom: 1rem;
    line-height: 1;
}

/* 清晰的内容文本 */
.h-timeline-content {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.6;
    text-align: center;
}

/* 简洁的渐入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.h-timeline-item {
    animation: fadeIn 0.5s ease-out backwards;
}

.h-timeline-item:nth-child(1) { animation-delay: 0.05s; }
.h-timeline-item:nth-child(2) { animation-delay: 0.1s; }
.h-timeline-item:nth-child(3) { animation-delay: 0.15s; }
.h-timeline-item:nth-child(4) { animation-delay: 0.2s; }
.h-timeline-item:nth-child(5) { animation-delay: 0.25s; }
.h-timeline-item:nth-child(n+6) { animation-delay: 0.3s; }

/* 响应式设计 */
@media (max-width: 768px) {
    .horizontal-timeline-wrapper {
        padding: 2rem 0;
    }

    .horizontal-timeline {
        gap: 2rem;
        padding: 1.5rem 1rem 2.5rem;
    }

    .h-timeline-item {
        min-width: 240px;
    }

    .h-timeline-dot {
        width: 30px;
        height: 30px;
        border-width: 3px;
    }

    .h-timeline-dot::before {
        font-size: 0.65rem;
    }

    .h-timeline-card {
        padding: 1.5rem 1.25rem;
        margin-top: 90px;
    }

    .h-timeline-year {
        font-size: 1.5rem;
    }

    .h-timeline-content {
        font-size: 0.875rem;
    }
}

/* ========== 资质与认证样式 ========== */
.certificate-card {
    background: white;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    border: 1px solid #e0e0e0;
}

.certificate-hover {
    cursor: pointer;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #0d6efd;
}

.certificate-icon {
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: all 0.3s ease;
}

.certificate-card:hover .certificate-icon {
    background: #e7f3ff;
    border-color: #0d6efd;
    transform: scale(1.05);
}

.certificate-icon i {
    font-size: 2rem;
    color: #0d6efd;
}

.certificate-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.certificate-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.certificate-badge {
    display: inline-block;
    background: #0d6efd;
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.view-certificate {
    font-size: 0.875rem;
    color: #0d6efd;
    margin-top: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.view-text-mobile {
    display: none;
}

.certificate-card:hover .view-certificate {
    opacity: 1;
}

/* 证书预览容器 */
.certificate-preview {
    position: fixed;
    z-index: 9999;
    max-width: 800px;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    padding: 0.75rem;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.certificate-preview.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.certificate-preview img {
    width: 100%;
    height: auto;
    max-height: calc(90vh - 1.5rem);
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

.certificate-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.certificate-close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.certificate-close-btn:active {
    transform: scale(0.95);
}

.certificate-preview.show .certificate-close-btn {
    display: flex;
}

.certificate-close-hint {
    display: none;
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.gaode-map {
    width: 100%;
    height: 800px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 信息卡片样式（不可点击） */
.certificate-info-card {
    cursor: default;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.certificate-info-card:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.certificate-info-card .certificate-icon {
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    border-color: #0d6efd;
}

.certificate-info-card .certificate-icon i {
    color: white;
}

.certificate-info-card:hover .certificate-icon {
    background: linear-gradient(135deg, #0d6efd, #0dcaf0);
    border-color: #0d6efd;
    transform: none;
}

.certificate-info-card .certificate-desc {
    text-align: left;
    padding-left: 1rem;
    font-size: 0.875rem;
}

/* 荣誉卡片样式 */
.honor-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 4px solid #0d6efd;
}

.honor-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.honor-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.honor-icon i {
    font-size: 1.75rem;
}

.honor-content {
    flex: 1;
}

.honor-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 0.4rem;
}

.honor-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .certificate-card {
        padding: 1.5rem 1rem;
    }

    .certificate-icon {
        width: 60px;
        height: 60px;
    }

    .certificate-icon i {
        font-size: 1.5rem;
    }

    .certificate-title {
        font-size: 1rem;
    }

    .certificate-desc {
        font-size: 0.85rem;
    }

    .view-certificate {
        opacity: 1;
    }

    .view-text-desktop {
        display: none;
    }

    .view-text-mobile {
        display: inline;
    }

    .certificate-preview {
        left: 50% !important;
        top: 50% !important;
        width: 95vw;
        max-width: 95vw;
        max-height: 90vh;
        transform: translate(-50%, -50%) scale(0.9) !important;
        padding: 0.5rem;
        background: rgba(0, 0, 0, 0.95);
    }

    .certificate-preview.show {
        transform: translate(-50%, -50%) scale(1) !important;
        pointer-events: auto;
    }

    .certificate-preview img {
        max-height: calc(90vh - 4rem);
        border-radius: 4px;
    }

    .certificate-close-btn {
        top: 0.5rem;
        right: 0.5rem;
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
        background: rgba(255, 255, 255, 0.9);
        color: #000;
    }

    .certificate-close-btn:hover {
        background: rgba(255, 255, 255, 1);
    }

    .certificate-close-hint {
        display: block;
        color: rgba(255, 255, 255, 0.7);
        margin-top: 0.75rem;
    }

    .gaode-map {
        height: 400px;
    }

    .honor-card {
        padding: 1.25rem;
    }

    .honor-icon {
        width: 50px;
        height: 50px;
    }

    .honor-icon i {
        font-size: 1.5rem;
    }
}




