/* 英雄区域样式 */
.hero {
    text-align: center;
    padding: 10rem 1rem 6rem 1rem; /* 上下间距较大，左右间距较小 */
    color: white;
    position: relative;
    z-index: 5; /* 确保内容在背景之上 */
}

.hero h2 {
    font-size: 5rem;
    margin-bottom: 5rem;
}

.hero p {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.hero .btn {
    display: inline-block;
    margin: 50px auto;
    padding: 15px 100px;
    background-color: white;
    color: #81b0e3;
    text-decoration: none;
    border-radius: 5px;
    font-size: 25px;
}

.hero .btn:hover {
    background-color: #364bdf;
    color: white;
}

/*关于我们*/
.introduce {
    width: 89%;
    margin: 40px auto;
    padding: 100px;
    background-color: rgb(255, 255, 255);
    color: #1a5fb4;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
    line-height: 1.7;
    font-family: 'Microsoft YaHei', sans-serif;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: flex;
    justify-content: center; /* 新增：水平居中内容 */
}

/* 新增：内部包装容器 */
.introduce-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    width: 80%; /* 内容宽度收紧到80% */
    max-width: 1400px; /* 可选：设置最大宽度 */
}

/* 文字内容区域 */
.introduce-content {
    flex: 1;
    min-width: 0;
    font-size: 20px;
}

/* 媒体内容区域（图片/视频） */
.introduce-media {
    flex: 0 0 42%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    align-self: center;
    transition: transform 0.3s ease;
}

.introduce-media img,
.introduce-media video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.introduce-media:hover {
    transform: translateY(-5px);
}

.introduce h1 {
    color: #1a5fb4;
    border-bottom: 1px dashed rgba(26, 95, 180, 0.3);
    padding-bottom: 12px;
    font-size: 1.8em;
    margin-top: 0;
}

.introduce p {
    margin-bottom: 12px;
    position: relative;
    padding-left: 10px;
    font-size: 1.2em;
}

.introduce i.fa-solid {
    color: #FF3333;
    margin-right: 8px;
}

/* 响应式设计调整 */
@media (max-width: 992px) {
    .introduce-inner {
        flex-direction: column;
        width: 90%; /* 在小屏幕上可以适当增加宽度 */
    }

    .introduce-media {
        flex: none;
        width: 80%;
        margin: 25px auto 0;
        order: 1;
    }
}

@media (max-width: 768px) {
    .introduce {
        width: 95%;
        padding: 20px;
    }

    .introduce-inner {
        width: 100%; /* 在最小屏幕上使用全宽 */
    }

    .introduce-media {
        width: 100%;
    }
}

/* 新增的产品线模块样式 */
.product-lines-section {
    margin: 100px auto;
}

:root {
    --post-spacing: 1.2vw;
    --post-size: 12vw;
    --mask-size: 100% calc(var(--post-size) * 1.4);
}

.title {
    position: relative;
    left: 50%;
    top: 5%;
    text-align: center;
    transform: translate(-50%, -5%);
    max-width: 90vw;
    overflow: hidden;
}

.title p {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    white-space: nowrap;
    display: inline-block;
}

#banner {
    overflow: hidden;
    position: relative;
    width: 99vw;
    height: calc(var(--post-size) / 0.75);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='480 0 500 105'%3E%3Cpath fill='black' d='M0 0h1440v120c-300 0-420-40-720-40S300 120 0 120V0z'/%3E%3C/svg%3E");
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='480 0 500 105'%3E%3Cpath fill='black' d='M0 0h1440v120c-300 0-420-40-720-40S300 120 0 120V0z'/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%; /* 关键修改 */
    mask-size: 100% 100%;
}

#banner .img-wrapper {
    display: flex;
    position: absolute;
    width: 100%;
    height: 100%;
    transform: translate(13.39vw, 0);
    animation: admission 1.5s ease;
}

#banner .img-wrapper .img-box {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--post-spacing);
    cursor: pointer;
    background-color: #fff;
}

#banner .img-wrapper .img-box img {
    width: var(--post-size);
    height: 100%;
    object-position: center;
    object-fit: contain;
}

#banner .img-wrapper .img-box:last-child {
    transform: translate(-528vw, 0);
}

.btn-group {
    text-align: center;
    margin-top: 30px;
    opacity: 1;
    position: relative;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.btn-group .btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid #171717;
    background-color: #fff;
    margin: 10px;
    cursor: pointer;
    transition: 0.4s;
}

.btn-group .btn:hover {
    transform: scale(1.2);
    background-color: #000;
}

.btn-group .btn:hover .icon {
    fill: #fff;
}

.btn-group .btn .icon {
    width: 30px;
    height: 30px;
}

.btn-group .btn .right {
    transform: rotate(180deg);
}

@keyframes admission {
    0% {
        transform: translate(140vw, 0);
    }
    100% {
        transform: translate(13.39vw, 0);
    }
}

/* 选择我们 */
.choose {
    max-width: 80%; /* 整个区块宽度为 92% */
    margin: 40px auto; /* 居中对齐 */
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 添加阴影，增强立体感 */
}

/* 标题 */
.section-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ECEDEF;
    text-align: center;
    margin-bottom: 20px;
}

/* 分割线 */
.divider-line {
    width: 100%;
    height: 2px;
    background-color: #A4B4CB;
    margin-bottom: 40px;
}

/* 时间轴容器 */
.timeline-container {
    max-width: 92%;
    margin: 0 auto;
    position: relative;
}

/* 竖线 */
.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #ffffff;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

/* 图标区域 */
.timeline-icon {
    width: 60px;
    height: 60px;
    background-color: #a734ae;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease; /* 鼠标悬浮时的动画 */
}

.timeline-icon:hover {
    transform: scale(1.1); /* 鼠标悬浮时图标放大 */
}

/* 内容区域 */
.timeline-content {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-left: 20px;
    margin-right: 20px;
    transition: background-color 0.3s ease; /* 鼠标悬浮时的背景变化 */
}

.timeline-content:hover {
    background-color: #e68857; /* 鼠标悬浮时背景渐变 */
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    font-size: 20px;
    color: #666;
    line-height: 1.5;
}

/* 左侧项目 */
.left-item {
    justify-content: flex-start;
}

.left-item .timeline-icon {
    margin-right: 20px;
}

/* 右侧项目 */
.right-item {
    justify-content: flex-start;
}

.right-item .timeline-icon {
    margin-right: 20px;
}