/* 基础样式：工业风基调 */
body {
    font-family: 'Montserrat', '思源黑体', sans-serif;
    color: #333333; /* 深灰主文字 */
    background-color: #f0f0f0; /* 浅灰背景 */
    line-height: 1.7;
}

/* 1. 标题区域优化 */
.bg-dark.text-white.py-5 {
    background-color: #222831 !important; /* 深炭灰工业风背景 */
    position: relative;
    padding: 80px 0 !important; /* 增加高度 */
    overflow: hidden;
}

/* 工业纹理叠加 */
.bg-dark.text-white.py-5::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bg-dark .container {
    position: relative; /* 文字在纹理上方 */
}

.bg-dark h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #f8f9fa;
}

.bg-dark .lead {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
}


/* 2. 公司简介区域优化 */
.py-5 {
    padding: 80px 0 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.col-lg-8 h2 {
    font-size: 2.2rem;
    color: #222831;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.col-lg-8 h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #1E88E5; /* 工业蓝 */
}

.col-lg-8 .lead {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 25px;
    font-weight: 500;
}

.col-lg-8 p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* 资质认证卡片 */
.col-lg-4 .bg-light {
    background-color: #ffffff !important;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 30px !important;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.col-lg-4 .bg-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.col-lg-4 h4 {
    font-size: 1.3rem;
    color: #222831;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

/* 资质徽章 */
.badge.bg-primary {
    background-color: #1E88E5;
    color: white;
    font-weight: 500;
    padding: 6px 12px;
    margin: 0 8px 10px 0;
    border-radius: 3px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
}

.badge.bg-primary:hover {
    transform: scale(1.05);
    background-color: #1565C0; /* 深蓝加深 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* 3. 发展历程区域优化 */
.bg-light.py-5 {
    background-color: #f8f9fa !important;
    padding: 80px 0 !important;
}

.bg-light.py-5 h2 {
    font-size: 2.2rem;
    color: #222831;
    margin-bottom: 60px;
    position: relative;
}

.bg-light.py-5 h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #1E88E5;
    margin: 15px auto;
}

/* 时间线核心样式 */
.timeline {
    position: relative;
    padding-left: 0;
}

/* 时间线中轴线 */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8.333%; /* 对应col-md-2的中间位置 */
    width: 3px;
    background-color: #1E88E5;
    opacity: 0.3;
}

.timeline .row {
    position: relative;
    margin-bottom: 40px !important; /* 增加间距 */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* 年份圆形 */
.timeline .bg-primary.rounded-circle {
    background-color: #1E88E5 !important;
    width: 70px !important;
    height: 70px !important;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 0 0 5px rgba(34, 40, 49, 0.1); /* 深灰阴影 */
    transition: all 0.3s ease;
}

.timeline .row:hover .bg-primary.rounded-circle {
    transform: scale(1.1);
    box-shadow: 0 0 0 8px rgba(34, 40, 49, 0.15);
}

/* 事件卡片 */
.timeline .bg-white.rounded {
    background-color: white !important;
    padding: 20px 25px !important;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.07);
    border-left: 3px solid #1E88E5; /* 工业蓝左侧边 */
    transition: all 0.3s ease;
}

.timeline .row:hover .bg-white.rounded {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline .bg-white.rounded p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 0;
}


/* 4. 响应式适配 */
@media (max-width: 992px) {
    .col-lg-8, .col-lg-4 {
        width: 100%;
    }
    .col-lg-4 {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .bg-dark h1 {
        font-size: 2.2rem;
    }
    .col-lg-8 h2, .bg-light.py-5 h2 {
        font-size: 1.8rem;
    }
    .timeline::before {
        left: 30px; /* 小屏幕中轴线左移 */
    }
    .timeline .col-md-2 {
        width: auto;
        margin-bottom: 15px;
    }
    .timeline .col-md-10 {
        width: calc(100% - 60px);
        margin-left: 60px;
    }
}

@media (max-width: 576px) {
    .bg-dark.text-white.py-5 {
        padding: 60px 0 !important;
    }
    .py-5 {
        padding: 60px 0 !important;
    }
    .timeline .col-md-10 {
        width: calc(100% - 50px);
        margin-left: 50px;
    }
    .timeline .bg-primary.rounded-circle {
        width: 60px !important;
        height: 60px !important;
        font-size: 1rem;
    }
}