/* 发展历程页面样式 */

/* Banner 区域 */
.history-banner {
    height: 700px;
    position: relative;
    overflow: hidden;
}

.history-banner .banner-bg {
    height: 100%;
    background-size: cover;
    background-position: center;
}

.history-banner .banner-overlay-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 靠左排列 */
    text-align: left; /* 文字左对齐 */
    padding-left: 100px; /* 距离容器左侧 100px */
}

.history-banner .banner-text-box {
    color: #fff;
    margin-top: -60px; /* 向上微调，视觉更平衡 */
}

.history-banner .main-title {
    font-size: 64px; /* 增加字号 */
    font-weight: 700; /* 加粗 */
    letter-spacing: 4px; /* 增加字间距 */
    margin-bottom: 15px;
    opacity: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* 添加投影增强可读性 */
    text-transform: uppercase;
}

.history-banner .sub-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 16px; /* 中文大字间距增加高级感 */
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* 添加装饰性底线 */
.history-banner .banner-text-box::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #fff;
    margin-top: 35px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 行业发展 */
.industry-section {
    padding: 60px 0;
    background: #fff;
    overflow: hidden; /* 防止横向溢出 */
}

.industry-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.industry-text {
    flex: 0 0 320px;
    text-align: left;
    margin-top: -60px; /* 略微上移 */
}

.industry-text .section-heading {
    font-size: 42px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.industry-text .heading-line {
    width: 40px;
    height: 3px;
    background: #0051a8;
    margin-bottom: 40px;
}

.industry-text .industry-desc {
    font-size: 15px;
    color: #666;
    line-height: 2;
    text-align: justify;
}

.industry-slider {
    flex: 1;
    position: relative;
    min-width: 0; /* 防止 flex 子元素溢出 */
}

.industry-slider-wrapper {
    overflow: hidden; /* 限制在容器内，不要超出 1600 区域 */
}

.industry-slider-container {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.industry-slide {
    flex: 0 0 320px;
    margin-right: 25px;
    transition: all 0.4s ease;
}

.slide-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

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

.industry-slide:hover .slide-image img {
    transform: scale(1.05);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 40px 25px 25px;
    color: #fff;
}

.slide-overlay p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}

.slide-info {
    padding: 25px 0;
    border-bottom: 2px solid #eee;
    transition: all 0.3s ease;
}

.industry-slide.active .slide-info {
    border-bottom-color: #0051a8;
}

.slide-info h4 {
    font-size: 22px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 600;
}

.slide-date {
    font-size: 15px;
    color: #0051a8;
    font-weight: 500;
}

.industry-slider-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 30px;
    position: relative;
}

.nav-line {
    position: absolute;
    left: 0;
    right: 100px; /* 给按钮留出空间 */
    height: 1px;
    background: #eee;
}

.slider-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.slider-arrow img {
    width: 20px;
    height: 20px;
}

.slider-arrow:hover {
    transform: scale(1.2);
}

.slider-arrow {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow img {
    width: 30px;
    height: 30px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #0051a8;
    width: 20px;
    border-radius: 4px;
}

/* 政策规划轮播 */
.policy-section {
    padding: 100px 0;
    background: #f4f6f9; /* 增加浅灰色背景色 */
}

.policy-slider-container {
    position: relative;
}

.policy-slider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px; /* 增加卡片间距 */
    min-height: 650px;
}

.policy-card {
    flex: 0 0 380px;
    background: #fff;
    border-radius: 80px 20px 80px 20px;
    padding: 45px 40px 40px; /* 适当增加底部内边距，确保图标在圆角内 */
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 600px; /* 显著增加高度，防止内容溢出 */
}

.policy-card.active {
    background: #0051a8;
    color: #fff;
    height: 680px; /* 保持高度差 */
    padding: 60px 40px 45px;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 81, 168, 0.25);
    z-index: 2;
}

.policy-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* 使用 space-between 确保图标始终在底部 */
}

.policy-content h3 {
    font-size: 26px; /* 增大字号 */
    line-height: 1.4;
    margin-bottom: 35px;
    font-weight: 700;
    color: #333;
}

.policy-card.active .policy-content h3 {
    color: #fff;
}

.policy-quote-icon {
    width: 50px; /* 增大引号 */
    margin-bottom: 25px;
    align-self: flex-start;
    margin-left: -10px;
}

.policy-quote-icon img {
    width: 100%;
    height: auto;
    filter: opacity(0.2);
}

.policy-card.active .policy-quote-icon img {
    filter: brightness(0) invert(1);
}

.policy-quote {
    margin-bottom: 30px;
    text-align: left;
}

.policy-quote p {
    font-size: 18px; /* 增大字号 */
    line-height: 1.6;
    font-weight: 500;
    color: #444;
}

.policy-card.active .policy-quote p {
    color: #fff;
}

.policy-text {
    font-size: 15px; /* 增大字号 */
    line-height: 1.8;
    color: #666;
    text-align: left;
    margin-bottom: 0;
    flex-grow: 1;
}

.policy-card.active .policy-text {
    color: rgba(255, 255, 255, 0.8);
}

.policy-text p {
    margin-bottom: 10px;
}

.policy-icon {
    margin: 15px auto 0; /* 减小顶部边距 */
    width: 60px;
    height: 60px;
    flex: 0 0 60px; /* 固定尺寸，防止被拉伸成椭圆 */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0051a8; /* 非激活态：蓝色背景 */
    border-radius: 50%; /* 完美圆形 */
    transition: all 0.3s ease;
    /* 移除 overflow: hidden，或者确保内容足够大 */
}

.policy-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* 非激活态：显示白色图标 lc-3-on.jpg (此处通过 HTML 结构或 JS 切换更好，先用 CSS 隐藏/显示) */
.policy-icon .icon-on { display: block; }
.policy-icon .icon-off { display: none; }

.policy-card.active .policy-icon {
    background: #fff; /* 激活态：白色背景 */
}

/* 激活态：显示蓝色图标 lc-3-off.png */
.policy-card.active .policy-icon .icon-on { display: none; }
.policy-card.active .policy-icon .icon-off { display: block; }

.policy-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 50px;
}

.policy-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.policy-dots .dot.active {
    background: #0051a8;
    width: 25px;
    border-radius: 5px;
}

/* 发展蓝图与全域服务 */
.blueprint-section {
    padding: 100px 0;
    background: #ffffff;
}

.blueprint-section .section-title {
    text-align: center;
    margin-bottom: 80px;
}

.blueprint-section .en-title {
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.blueprint-section .cn-title {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.blueprint-section .sub-title {
    font-size: 18px;
    color: #666;
    margin-bottom: 25px;
}

.blueprint-section .line {
    width: 60px;
    height: 3px;
    background: #0051a8;
    margin: 0 auto;
}

.blueprint-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.blueprint-card {
    flex: 1;
    background: #fff;
    padding: 60px 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.blueprint-card:hover {
    background: #0051a8;
    border-color: #0051a8;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 81, 168, 0.2);
    z-index: 1;
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.card-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.blueprint-card:hover .card-icon img {
    filter: brightness(0) invert(1);
}

.blueprint-card h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.4s ease;
}

.blueprint-card h3 span {
    display: block;
    color: #0051a8;
    font-size: 20px;
    margin-top: 5px;
    transition: all 0.4s ease;
}

.blueprint-card:hover h3,
.blueprint-card:hover h3 span {
    color: #fff;
}

.card-divider {
    width: 60px;
    height: 1px;
    background: #e6eef7;
    margin: 0 auto 30px;
    transition: all 0.4s ease;
}

.blueprint-card:hover .card-divider {
    background: rgba(255, 255, 255, 0.2);
}

.card-desc {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    font-weight: 500;
    transition: all 0.4s ease;
}

.card-detail {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    transition: all 0.4s ease;
}

.blueprint-card:hover .card-desc,
.blueprint-card:hover .card-detail {
    color: rgba(255, 255, 255, 0.9);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .industry-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .industry-text {
        flex: none;
        width: 100%;
        text-align: center;
        margin-top: 0;
    }

    .industry-text .heading-line {
        margin: 0 auto 30px;
    }
    
    .industry-slide {
        flex: 0 0 calc(50% - 13px);
    }
    
    .blueprint-cards {
        flex-wrap: wrap;
        gap: 20px;
    }

    .blueprint-card {
        flex: 0 0 calc(50% - 10px);
        border: 1px solid #f0f0f0;
    }
}

@media (max-width: 768px) {
    .history-banner {
        height: 350px;
    }

    .history-banner .banner-overlay-content {
        justify-content: center; 
        text-align: center; 
        padding-left: 20px;
        padding-right: 20px;
    }

    .history-banner .banner-text-box {
        margin-top: 0;
    }

    .history-banner .banner-text-box::after {
        margin: 20px auto 0; 
    }
    
    .history-banner .main-title {
        font-size: 28px;
        letter-spacing: 1px;
        margin-bottom: 10px;
    }
    
    .history-banner .sub-title {
        font-size: 18px;
        letter-spacing: 4px;
    }
    
    .industry-section {
        padding: 40px 0;
    }

    .industry-text .section-heading {
        font-size: 32px;
    }

    .industry-slide {
        flex: 0 0 100%;
        margin-right: 0;
    }

    .slide-image {
        height: 250px;
    }

    .industry-slider-nav {
        justify-content: center;
        margin-top: 20px;
    }

    .nav-line {
        display: none;
    }

    .policy-section {
        padding: 60px 0;
    }

    .policy-slider {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        min-height: auto;
    }
    
    .policy-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 450px;
        padding: 30px 20px;
        border-radius: 40px 15px 40px 15px;
    }

    .policy-card.active {
        height: auto;
        min-height: 500px;
        padding: 40px 25px;
    }

    .policy-content h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .policy-quote p {
        font-size: 16px;
    }

    .policy-text {
        font-size: 14px;
    }

    .policy-dots {
        margin-top: 30px;
    }
    
    .blueprint-section {
        padding: 60px 0;
    }

    .blueprint-section .cn-title {
        font-size: 28px;
    }

    .blueprint-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .blueprint-card {
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .card-icon img {
        width: 50px;
        height: 50px;
    }

    .blueprint-card h3 {
        font-size: 20px;
    }

    .blueprint-card h3 span {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .history-banner {
        height: 300px;
    }

    .history-banner .main-title {
        font-size: 24px;
    }

    .industry-text .section-heading {
        font-size: 28px;
    }

    .slide-image {
        height: 200px;
    }

    .policy-card {
        min-height: 400px;
    }
}
