body {
    padding: 0;
    margin: 0;
}
h1,h2,h3{
    margin-top: 25px;
    margin-bottom: 25px;
}

.top-content {
    position: relative;
    width: 100%;
    height: auto;
    min-height:300px;
    background-color: #fff;
    text-align: center;
    background-image: url('../imgs/header-image.png'); /* 替换为实际图片路径 */
    background-size: cover; /* 背景图片覆盖整个容器，保持宽高比 */
    background-position: center; /* 背景图片居中显示 */
    background-repeat: no-repeat; /* 防止背景图片重复 */
}

.top-content .header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.top-content .header-text h1 {
    margin: 0;
    font-size: 2.5em;
}
.top-content .header-text p {
    margin: 10px 0 0;
    font-size: 1.7em;
}
.top-content .header-text .separator {
    height: 4px; /* 横线的厚度 */
    background-color: white; /* 横线的颜色 */
    margin: 10px auto; /* 上下外边距和自动左右外边距 */
    width: 180px; /* 横线的宽度 */
}

.breadcrumb {
    background-color: #C4C3C3;
    padding: 22px 100px;
    font-size: 2.5em;
}
.breadcrumb a {
    color: #333;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

.main-content {
    padding: 0 10%;
    background-color: #fff;
    font-size: 2.5em;
    letter-spacing: 2px;
}
.main-content h2 {
    margin: 85px 0 45px 0;
    color: #010101;
    text-align: center;
}

/* 方案概述样式 */
.solution-overview {
    margin-bottom: 20px;
}

.solution-overview p {
    text-indent: 2em;
}

/* 制造执行管理模型样式 */
.manufacturing-model {
    margin: 85px 0 45px;
    text-align: center;
}

.manufacturing-model img {
    max-width: 1200px;
    height: auto;
}

/* 产品价值样式 */
.carousel {
    margin: 85px 0 45px;
    display: flex;
    overflow: hidden;
    justify-content: space-around;
    align-items: center;
}
.carousel-item {
    flex: 0 0 auto;
    width: 25%; /* 设置固定宽度 */
    height: 843px;
    text-align: center;
    background-color: #fff; /* 设置背景颜色 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-size: cover; /* 确保背景图片覆盖整个容器 */
    background-position: center; /* 背景图片居中显示 */
    background-repeat: no-repeat; /* 防止背景图片重复 */
    display: flex; /* 使用flex布局 */
    flex-direction: column; /* 垂直排列内容 */
    justify-content: center; /* 垂直居中内容 */
    align-items: center; /* 水平居中内容 */
    color: #FFF;
}

.carousel-item .circle-container {
    width: 44px; /* 外圆的直径 */
    height: 44px;
    border-radius: 50%; /* 使div变成圆形 */
    background-color: transparent; /* 外圆的背景颜色 */
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 1px solid #FFF;
}

.carousel-item .circle-container .inner-circle {
    width: 22px; /* 内圆的直径 */
    height: 22px;
    border-radius: 50%; /* 使div变成圆形 */
    background-color: #FFF; /* 内圆的背景颜色 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 使内圆居中于外圆 */
    animation: pulse 2s infinite; /* 动画效果 */
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
    }
}

.carousel-item .circle-container:hover {
    transform: scale(1.2);
}
.carousel-item .active {
    transform: scale(1.2);
}

.carousel-item p{
    padding: 15px 45px;
    font-size: 20px;
}

/* 前后对比样式 */
.before-after {
    margin: 85px 0 45px;
    display: flex;
    background-color: #fff;
    overflow: hidden;
}

.before, .after {
    padding: 70px 70px 200px 70px;
    width: 50%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.before {
    font-size: 24px;
    color: #FFF;
    background-color: #B9C2E2;
    position: relative;
}

.before::before {
    content: '';
    position: absolute;
    bottom: 50px;
    right: 20px;
    width: 45%; /* 容器宽度的20% */
    height: auto; /* 容器高度的20% */
    aspect-ratio: 1; /* 确保背景图片不变形 */
    background-image: url("../imgs/mes-before.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5; /* 设置背景图片透明度 */
    z-index: 0;
}

.after {
    font-size: 24px;
    color: #000;
    background-color: #F8F7F7;
    height: 80%;
    align-self: center;
}
ul {
    position: relative;
    z-index: 1;
    list-style-type: none;
    padding: 0;
}
li {
    z-index: 1;
    line-height: 50px;
    margin-bottom: 10px;
}
.before li span {
    color: #464646; /* Green checkmark */
    padding-right: 10px;
    font-size: 24px;
}
.after li span {
    color: #BF0B2C; /* Red X */
    padding-right: 10px;
    font-size: 24px;
}

/* 核心优势样式 */
.core-advantages {
    margin: 85px 0 45px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.core-advantages div {
    background-image: url('../imgs/mes-core-bg.png');
    width: calc(50% - 30px);
    padding: 10px 30px 25px;
    background-color: #e9e9e9;
    margin-bottom: 40px;
}

.core-advantages h3 {
    margin-bottom: 10px;
    font-size: 28px;
}
.core-advantages p {
    font-size: 22px;
}

/*更多产品*/
.product {
    background-color: #C4C3C3;
    padding: 40px 10% 40px;
    font-size: 2.5em;
    letter-spacing: 2px;
}
.product h2 {
    margin-bottom: 15px;
    color: #010101;
    text-align: center;
}

.product p {
    color: #666;
    margin: 10px 0;
    margin-bottom: 45px;
    font-size: 0.74em;
}
.product .product-container {
    margin: 25px 0 0;
    display: flex;
    gap: 3%;
    flex-wrap: wrap;
}
.product .product-item {
    background-color: #828080;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 14.1%;
    margin-bottom: 40px;
}

@media (max-width: 1400px) {
    .product .product-item {
        flex: 0 0 20.25%;
    }
}

@media (max-width: 992px) {
    .product .product-item {
        flex: 0 0 31.3%;
    }
}

/* 当屏幕宽度小于768px时，每行显示2个子项 */
@media (max-width: 768px) {
    .product .product-item {
        flex: 0 0 48.5%;
    }
}

.product .product-item img {
    width: 100%;
    height: auto;
}
.product .product-item h3 {
    text-align: center;
    font-size: 0.74em;
    margin: 10px;
    color: #333;
}