/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    background: #fff;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
}
.swiper-container{
    padding-top: 100px;
}

/* 头部样式 */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.logo {
    display: flex;
    align-items: center;
    white-space: nowrap; /* 防止文字换行 */
}

.logoImg {
    height: 40px;
    margin: 22px 0px 20px 10px;
}
.logo >div {
    top: 20px;
    left: 0px;
    padding-top: 5px;
    white-space: nowrap; /* 确保文字不换行 */
}
.logo .logoText {
    padding: 0;
    margin: 0;
    font-size: 24px;
    color: #0e6ec5;
    text-align: left;
    white-space: nowrap; /* 确保文字不换行 */
    margin-left: 10px;
}

.logo span {
    text-align: left;
    font-size: 14px;
    color: #0e6ec5;
    white-space: nowrap; /* 确保文字不换行 */
}

/* 导航栏样式 */
nav {
    height: 60px; /* 设置导航栏高度 */
    display: flex;
    align-items: center;
}
.carouselImg{
    width: 100%;
    height: 100%;
    margin-top: 0;
    display: block;
}


nav ul {
    display: flex;
    list-style: none;
    gap: 30px; /* 减小间距 */
    justify-content: center;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #333;
    display: block;
    text-align: center;
}

.Carousel {
    display: flex;
    background: #f0f9ff;
    border-radius: 0;
    overflow: hidden;
    margin-top: 0;
}
.nav-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap; /* 确保文字不换行 */
}

.nav-ch {
    font-size: 16px; /* 稍微减小字体 */
    margin-bottom: 0;
    color: #333;
    font-weight: bold;
}

.nav-en {
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}

nav a.active .nav-ch,
nav a.active .nav-en {
    color: #007bff;
}

.phoneImg {
    height: 40px;
}

/* 页脚样式 */
footer {
    background: url("../images/foot-bg.png") no-repeat center center;
    background-size: cover;
    background-position: center center;
    color: #999;
    margin-top: 30px;
    position: relative;
    width: 100vw;
    height: auto;
    padding: 20px 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}



.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    height: auto;
    min-height: 280px;
}

.footer-content h3 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
    color:#f4f4f4;
}

.footer-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 4px;
    background: #45cffb;
}

.footer-content ul {
    list-style: none;
}

.footer-content ul li {
    font-size: 14px;
    color: #fff;
    line-height: 2.2;
}

.footer-content ul li:last-child {
    margin-bottom: 0;
    position: relative;
    top: 0; /* 移除之前的top偏移 */
}

.footer-content a {
    color: #fff;
    text-decoration: none;
    line-height: 1.8;
}

/* 联系信息样式优化 */
.contact-info p {
    display: none;
}

.online-message form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.online-message input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    width: 100%;
}

.online-message input::placeholder {
    color: #999;
}

.online-message button {
    padding: 8px 20px;
    background: #f60;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 80px; /* 设置固定宽度 */
}

.copyright {
    text-align: center;
    /* padding: 40px 40px 0 40px; */
    font-size: 14px;
    /* margin-top: 40px; */
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    color: #ccc;
    position: relative;
    z-index: 1;
}

/* 二维码区域样式 */
.qrcode-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qrcode-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.qrcode-container {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: #fff;
    padding: 8px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.qrcode-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qrcode-text {
    margin-top: 10px;
    font-size: 14px;
    color: #fff;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        min-height: 250px;
        padding: 0 30px;
    }

    footer {
    }

    .copyright {
        bottom: 15px;
        width: calc(100% - 60px);
        padding: 20px 30px 0 30px;
    }
}

@media (max-width: 768px) {
    .footer{
    }
    .footer-content{
        display: none !important;
    }
    .navbar-brand{
        display: none;
    }
}
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 25px;
        text-align: center;
        min-height: 200px;
    }

    footer {
    }

    .copyright {
        bottom: 15px;
        width: calc(100% - 50px);
        padding: 15px 25px 0 25px;
        margin-top: 20px;
    }

    .qrcode-container {
        width: 100px;
        height: 100px;
    }
}

/* 移除不需要的样式 */
.footer-content ul li span {
    display: none;
}