body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
}

.service-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.service-section h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 96px;
}

.service-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 6px;
    background-color: #C60119;
}

.service-item {
    opacity: 0;
}

.service-item.animate__animated {
    opacity: 1;
}

.animate__animated {
    animation-duration: 0.6s !important;
}

.animate__fadeInUp {
    animation-fill-mode: both;
}

.service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.service-item:nth-child(4) {
    animation-delay: 0.4s;
}

.service-item:nth-child(5) {
    animation-delay: 0.5s;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon-yongyou {
    width: 135px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 32px;
    color: white;
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

.service-description {
    color: #666;
    line-height: 1.6;
    font-size: 12px;
}

.solution-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
}

.case-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.case-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-card h3 {
    font-size: 20px;
    margin: 15px;
}

.case-card p {
    margin: 0 15px 15px;
    color: #666;
}

.partners {
    padding: 60px 0; /* 内边距 */
}

.partners h2 {
    margin-bottom: 20px; /* 调整标题下的间距 */
    position: relative;
}

.partners h2::after {
    content: '';
    position: absolute;
    bottom: -10px; /* 横线位置 */
    left: 50%;
    transform: translateX(-50%);
    width: 64px; /* 横线宽度 */
    height: 4px; /* 横线高度 */
    background-color: #C60119; /* 横线颜色 */
}

.partners img {
    max-width: 100%; /* 确保图片自适应 */
    height: auto; /* 高度自适应 */
}

.navbar-nav {
    gap: 10px;
}

.industry-solutions {
    padding: 80px 0;
}

.industry-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/index/industry-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.industry-solutions .container {
    position: relative;
    z-index: 2;
}

/* 添加左侧区域的半透明背景 */
.industry-solutions .col-md-6:first-child {
    background: rgba(255,255,255,0.68);
    padding: 30px;
    border-radius: 8px;
}

.industry-solutions h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 16px;
}

.industry-solutions h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 6px;
    background-color: #C60119;
}

/* 行业解决方案动画相关样式 */
.industry-title,
.industry-subtitle,
.industry-btn,
.industry-content {
    opacity: 0;
}

.industry-title.animate__animated,
.industry-subtitle.animate__animated,
.industry-btn.animate__animated,
.industry-content.animate__animated {
    opacity: 1;
}

.industry-btn {
    animation-delay: 0.3s;
}

.industry-btn:nth-child(1) { animation-delay: 0.3s; }
.industry-btn:nth-child(2) { animation-delay: 0.4s; }
.industry-btn:nth-child(3) { animation-delay: 0.5s; }
.industry-btn:nth-child(4) { animation-delay: 0.6s; }
.industry-btn:nth-child(5) { animation-delay: 0.7s; }

.industry-content {
    animation-delay: 0.8s;
}

.maintenance-service {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.maintenance-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/index/ywfw-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 1;
}

.maintenance-service .container {
    position: relative;
    z-index: 2;
}

.maintenance-service h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 60px;
}

.maintenance-service h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 6px;
    background-color: #C60119;
}

.stat-item {
    color: #3478F6;
}

.stat-number {
    font-size: 64px;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.stat-number .number {
    font-family: Arial, sans-serif;
    /* opacity: 0; 注释掉  适应移动端修改 row*/
    display: inline-block;
}

.stat-number .number.animate__animated {
    opacity: 1;
}

.animate__bounceIn {
    animation-duration: 0.8s !important;
    animation-fill-mode: both !important;
}

.stat-number .unit {
    font-size: 24px;
    margin-left: 2px;
}

.stat-number .plus {
    font-size: 32px;
    margin: 0 2px;
    position: relative;
    top: -10px;
}

.stat-label {
    color: #333;
    margin-top: 16px;
    font-size: 16px;
}

/* 移除可能冲突的样式 */
.stat-item.animate__animated,
.stat-item.animate__fadeInUp {
    animation: none;
}

.industry-tag {
    text-align: right;
    padding-right: 22px;
    /* display: inline-block; */
    /* padding: 4px 12px; */
    /* font-size: 14px; */
    /* background-color: transparent; */
    /* color: #333; */
    position: relative;
}

.industry-tag::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    /* bottom: 0; */
    width: 10px;
    height: 76px;
    background-color: #C60119;
}

.service-content h3 {
    font-size: 28px;
    font-weight: 400;
    margin: 16px 0 24px 0;
    line-height: 1.2;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    font-size: 14px;
    margin: 0;
    margin-top: 60px;
    padding-left: 20px;
}

.service-stats {
    gap: 250px;
}

/* 轮播相关样式 */
.carousel {
    position: relative;
}

.carousel-controls {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.carousel-control-prev,
.carousel-control-next {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    opacity: 1;
    border: none;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-pagination {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    margin: 0 20px;
}

.carousel-counter .current {
    color: #C60119;
    font-weight: bold;
}

.carousel-counter .separator,
.carousel-counter .total {
    color: #666;
}

/* 轮播导航样式 */
.carousel-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.carousel-nav-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.carousel-nav-btn:hover {
    opacity: 0.8;
}

.carousel-nav-btn img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.carousel-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
}

.carousel-counter .current {
    font-size: 32px;
    color: #C60119;
    font-weight: bold;
}

.carousel-counter .separator,
.carousel-counter .total {
    font-size: 24px;
    color: #999;
}

/* 移除之前的轮播控制样式 */
.carousel-controls,
.carousel-pagination {
    display: none;
}

.why-choose-us {
    /* 临时隐藏 */
    height: 900px;
    /* height: 450px; */
    position: relative;
    padding: 80px 0;
    /* background: url('../images/index/why2.png') no-repeat center center; */
    background: url('../images/index/why.png') no-repeat center center;
    background-size: cover;
    color: #333;
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 移除半透明渐变背景 */
    /* background: linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.8)); */
}

.why-choose-us .container {
    position: relative;
    z-index: 2;
}

.why-choose-us h2 {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 16px;
}

.why-choose-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 6px;
    background-color: #C60119;
}

.why-choose-us .subtitle {
    color: #666;
    margin-bottom: 40px;
}

.why-content {
    /* max-width: 800px; */
    margin: 0 auto 60px;
}

.why-content .description {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.stats-row {
    display: flex;
    justify-content: center; /* 居中对齐 */
    gap: 10px; /* 减少间距 */
    margin-top: 20px;
    flex-wrap: wrap; /* 允许换行 */
}

.stat-box {
    display: flex;
    align-items: center;
    text-align: center;
    flex: 0 0 45%; /* 每个统计框占据45%的宽度 */
    opacity: 0; /* 初始状态隐藏 */
    transform: translateY(20px); /* 初始位置 */
    transition: all 0.6s ease; /* 动画过渡 */
}

.stat-box.animate {
    opacity: 1; /* 显示 */
    transform: translateY(0); /* 回到原位 */
}

.stat-box:nth-child(1) {
    transition-delay: 0.2s; /* 延迟 */
}

.stat-box:nth-child(2) {
    transition-delay: 0.4s; /* 延迟 */
}

.stat-box:nth-child(3) {
    transition-delay: 0.6s; /* 延迟 */
}

.stat-box:nth-child(4) {
    transition-delay: 0.8s; /* 延迟 */
}

.number {
    font-size: 1em; /* 在移动端减少字体大小 */
    font-weight: bold;
    color: #3478F6;
}

.maintenance-number {
    font-size: 3em; /* 在移动端减少字体大小 */
    font-weight: bold;
    color: #3478F6;
}

.number span {
    font-size: 24px;
    margin-left: 4px;
}

.label {
    text-align: left;
    font-size: 0.9em; /* 在移动端进一步减少字体大小 */
    color: #666;
    margin-top: 10px; /* 减少上边距 */
}

.add {
    font-size: 48px;
    line-height: 48px;
    font-weight: bold;
    color: #3478F6;
}

.label-text {
    margin-left: 12px;
}

.industry-news {
    background-color: #f8f9fa; /* 背景颜色 */
    padding: 60px 0; /* 内边距 */
}

.industry-news h2 {
    margin-bottom: 20px; /* 调整标题下的间距 */
    position: relative;
}

.industry-news h2::after {
    content: '';
    position: absolute;
    bottom: -10px; /* 横线位置 */
    left: 50%;
    transform: translateX(-50%);
    width: 64px; /* 横线宽度 */
    height: 4px; /* 横线高度 */
    background-color: #C60119; /* 横线颜色 */
}

.news-card {
    height: 350px;
    /* padding-bottom: 60px; */
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    /* cursor: pointer; */
}

.news-card::after {
    content: "";
    display: inline-block;
    width: 100px;
    height: 2px;
    background-color: #eee;
    /* opacity: 0.5; */
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img.img-fluid {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.news-info {
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.date-icon {
    width: 16px; /* 设置为16px */
    height: 16px; /* 设置为16px */
    margin-right: 8px;
}

.news-date {
    font-size: 14px;
    color: #666;
}

.news-title {
    font-size: 16px;
    font-weight: 400;
    margin: 15px 15px 15px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.news-title-new {
    font-size: 16px;
    font-weight: 400;
    margin: 15px 15px 15px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-title:hover {
    color: #007bff;
    text-decoration: underline;
}

.footer {
    background-color: #21262C; /* 深色背景 */
    padding-top: 80px;
}

footer h4 {
    margin-bottom: 20px; /* 标题下的间距 */
}

footer a {
    color: #ffffff; /* 链接颜色 */
    text-decoration: none; /* 去掉下划线 */
    transition: color 0.3s ease; /* 添加过渡效果 */
}

footer a:hover {
    color: #007bff; /* 悬停时的颜色 */
}

footer .list-unstyled {
    padding-left: 0; /* 去掉默认的左边距 */
}

.list-unstyled li {
    padding-bottom: 20px;
}

.hot-line {
    font-weight: bold;
    font-size: 20px;
}

.phone-number {
    font-size: 18px;
}

footer .text-center {
    margin-top: 20px; /* 上边距 */
}

.copyright {
    border-top: 1px solid #333;
}

.carousel-item {
    display: none; /* 默认隐藏所有项 */
}

.carousel-item.active {
    display: flex; /* 仅显示活动项 */
}

.carousel-item img {
    width: 100%; /* 确保图片宽度自适应 */
    height: auto; /* 高度自适应 */
}

.industry-title {
    font-size: 32px;
    font-weight: bold;
}

.industry-subtitle {
    font-size: 18px;
    color: #666;
}

.industry-buttons {
    margin-bottom: 30px;
}



/* 媒体查询 */
@media (max-width: 768px) {
    .industry-title {
        font-size: 24px; /* 调整标题大小 */
    }

    .industry-subtitle {
        font-size: 16px; /* 调整副标题大小 */
    }

    .industry-buttons {
        flex-direction: column; /* 按钮垂直排列 */
        align-items: center; /* 居中对齐 */
    }

    .industry-btn {
        width: 100%; /* 按钮宽度自适应 */
        margin-bottom: 10px; /* 按钮间距 */
    }

    .carousel-item {
        flex-direction: column; /* 垂直排列内容 */
        align-items: center; /* 居中对齐 */
    }

    .carousel-item .col-md-6 {
        width: 100%; /* 确保在移动端宽度自适应 */
    }

    .stats-row {
        justify-content: center; /* 居中对齐 */
    }

    .stat-box {
        flex: 0 0 100%; /* 每个统计框占据100%的宽度 */
        margin-bottom: 10px; /* 添加底部间距 */
    }

    .number {
        font-size: 1em; /* 在移动端进一步减少字体大小 */
    }

    .label {
        font-size: 0.8em; /* 在移动端进一步减少字体大小 */
    }
}

/* 导航栏右侧边距，为EN按钮留出空间 */
/* 为 EN 按钮留出空间 临时注释 */
#navbarNav {
    /* padding-right: 70px;  */
}

/* 语言切换按钮样式 */
.language-switcher {
    margin-left: 0;
    height: 100%;
    display: flex;
    position: absolute;
    right: 0;
    width: 70px;
    z-index: 100;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: white;
    text-decoration: none;
    width: 70px;
    height: 100%;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.lang-btn:hover {
    background-color: rgba(0, 75, 161, 0.8);
    color: white;
}

.navbar-active .lang-btn {
    background-color: #004BA1;
}

.navbar-active .lang-btn:hover {
    background-color: #003b80;
}
.carousel-item img.service-cases-img{
    width: 100%;
    height: 440px; 
    object-fit: cover;
}

.carousel-item img.solution-cases-img{
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* 响应式调整 */
@media (max-width: 991px) {
    #navbarNav {
        padding-right: 0; /* 移动端不需要右侧边距 */
    }
    
    .language-switcher {
        position: relative;
        margin: 15px 0;
        height: auto;
        width: 100%;
    }
    
    .lang-btn {
        width: 60px;
        height: 40px;
        background-color: #004BA1;
        margin-left: 15px;
        border-radius: 4px;
    }

    .carousel-item img.service-cases-img{
        width: 100%;
        height: 260px; 
        object-fit: cover;
    }
}


