/* ================= 1. 全局重置与盒模型优化 ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #eefaff;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ================= 布局容器 ================= */
.container {
    width: 1200px; /* 固定宽度，匹配截图比例 */
    margin: 20px auto;
    display: flex; /* 使用Flexbox实现左右并排 */
    gap: 15px; /* 左右栏之间的间距 */
}

/* ================= 3. 顶部信息栏 ================= */
.box-header {
    width: 100%;
    height: 35px;
    background-color: #f3f3f3;
    display: flex;
    justify-content: center;
}

.box-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.box-header-text-left {
    font-size: 12px;
    color: #666;
}

.box-header-text-right {
    text-decoration: none;
    font-size: 12px;
    color: #666;
    transition: color 0.3s;
}

.box-header-text-right:hover {
    color: #1E3A8A;
    text-decoration: underline;
}

/* ================= 4. Logo与电话区 ================= */
.box-login {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    color: #1E3A8A;
}

.box-login .login {
    font-size: 30px;
    font-weight: 550;
    margin-bottom: 0;
}

.box-login .bz {
    font-size: 18px;
    font-weight: 300;
    margin-top: 0;
}

.box-login-right {
    align-items: flex-end;
}

.login-right-top {
    display: flex;
    align-items: center;
    height: 30px;
}

.login-right-top img {
    width: 30px;
    height: 30px;
}

.login-right-top-text {
    margin-left: 5px;
    font-size: 16px;
    line-height: 30px;
}

.phone-number {
    font-size: 22px;
    font-weight: 650;
    color: red;
}

/* ================= 5. 导航栏区域 ================= */
.box-banner-top {
    background-color: #007bb5;
    height: 60px;
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.nav-list a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    padding: 8px 25px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-list a:hover,
.nav-list a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ================= 6. 轮播图区域 ================= */
.box-banner-banner {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    background-color: #eee;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slider-list {
    list-style: none;
    width: 100%;
    height: 100%;
}

.slider-list li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slider-list li.active {
    opacity: 1;
    z-index: 2;
}

.slider-list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    user-select: none;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 1;
}

.prev { left: 0; }
.next { right: 0; }

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    list-style: none;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots li.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* ================= 7. 关于我们模块 (响应式重构) ================= */
.box-content-top {
    padding: 60px 0;
}

.content-top-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.content-top-img {
    flex: 0 0 380px;
}

.content-top-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.content-top-text {
    flex: 1;
}

.content-top-text h2 {
    font-size: 28px;
    font-weight: 580;
    color: #1E3A8A;
    margin-bottom: 20px;
}

.content-top-text .Content-top {
    color: rgb(255, 226, 188);
    margin-left: 10px;
    font-weight: 520;
    font-size: 20px;
}

.content-top-text p {
    width: 100%;
    max-width: 700px;
    margin-bottom: 30px;
    text-indent: 3em;
    line-height: 1.9;
    color: #000;
    font-size: 16px;
    font-weight: 450;
}

.content-top-btns {
    display: flex;
    gap: 20px;
}

.content-top-btns a {
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    border-radius: 4px;
    background: linear-gradient(to bottom, #5ba8f0 0%, #3b88d9 100%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.content-top-btns a:hover {
    background: linear-gradient(to bottom, #6ab9ff 0%, #4a98e9 100%);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
}

/* ================= 8. 产品展示模块 ================= */
.box-content-content {
    height: 500px;
}

.box-content-content-top img {
    width: 260px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.box-content-content-top hr {
    border: none;
    border-bottom: 1px solid #1E3A8A;
    margin-left: 200px;
    margin-right: 200px;
    padding-top: 20px;
}

/* ================= 9. 产品展示轮播图 ================= */
.carousel-container {
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 60px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 25%;
    box-sizing: border-box;
    padding: 10px;
}

.slide img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.slide img:hover {
    cursor: pointer;
}

.caption {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #333;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
}

.left-arrow { left: 10px; }
.right-arrow { right: 10px; }

.arrow:hover {
    background: rgba(255, 255, 255, 1);
}

/* ================= 10. 底部三大模块区域 ================= */

.bottom-section {
    padding: 40px 0;
    margin-top: 20px;
}

.bottom-modules-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.module-box {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.module-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    position: relative;
    padding-left: 12px;
}

.module-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    background-color: #007bff;
    border-radius: 2px;
}

.more-link {
    font-size: 14px;
    color: #999;
}

.more-link:hover {
    color: #007bff;
}

.module-banner {
    width: 100%;
    height: 160px;
    margin-bottom: 20px;
    border-radius: 4px;
    overflow: hidden;
}

.module-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.module-banner:hover img {
    transform: scale(1.05);
}

/* 列表通用样式 */
.module-list {
    flex: 1;
}

.module-list-item {
    margin-bottom: 12px;
    border-bottom: 1px dashed #f0f0f0;
    padding-bottom: 8px;
}

.module-list-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.item-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.item-link:hover {
    color: #007bff;
}

.item-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 15px;
}

.item-date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

/* ================= 11. 响应式适配 ================= */
@media (max-width: 768px) {
    .bottom-modules-wrapper {
        flex-direction: column;
    }
    
    .box-content-top {
        flex-direction: column;
        height: auto;
        padding: 20px 0;
    }
    
    .content-top {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .slide {
        flex: 0 0 50%; /* 小屏幕显示2个 */
    }
}