/* 公共样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin: 40px 0;
    position: relative;
}

.section-title::after {
    display: none;
}

/* 头部样式 */
.header {
    background-color: rgba(0, 0, 0, 0.45);
    /* background: transparent; */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    /* background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.2) 30%,
        rgba(0, 0, 0, 0.1) 60%,
        rgba(0, 0, 0, 0) 100%
    ); */
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

.nav ul {
    display: flex;
    align-items: center;
}

.nav li {
    margin: 0 20px;
    position: relative;
}

.nav li::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff; /* 默认状态下的线条颜色为白色 */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* 鼠标悬停效果 */
.nav li:hover::after {
    width: 100%;
}

/* 默认状态下的链接样式 */
.nav a {
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
    position: relative;
}

.nav li:hover a {
    color: rgba(255, 255, 255, 0.8); /* 悬停时文字轻微变淡 */
}

.nav a:hover,
.nav a.active {
    color: #1e50ae;
}

/* 移动端菜单按钮样式 */
.mobile-menu-btn {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff; /* 默认为白色 */
    position: absolute;
    transition: 0.3s;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 9px;
}

.mobile-menu-btn span:nth-child(3) {
    bottom: 0;
}

/* 滚动后的菜单按钮样式 */
.header.scrolled .mobile-menu-btn span {
    background: #333; /* 滚动后变为深色 */
}

@media screen and (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* 轮播图样式 */
.banner {
    margin-top: 0;
    position: relative;
    height: calc(100vh - 1px); /* 减去1px避免出现滚动条 */
    max-height: 960px;
    overflow: hidden; /* 添加overflow:hidden防止内容溢出 */
}

.banner .swiper-container {
    height: 100%; /* 确保swiper容器高度100% */
}

.banner .swiper-wrapper {
    height: 100%; /* 确保wrapper高度100% */
}

.banner .swiper-slide {
    height: 100%; /* 确保slide高度100% */
}

.banner img {
    width: 100%;
    height: 100%; /* 改用100%而不是100vh */
    max-height: 960px;
    object-fit: cover;
    display: block;
}

/* 轮播图分页器样式优化 */
.banner .swiper-pagination {
    position: absolute;
    bottom: 30px;
    z-index: 2;
}

.banner .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.8);
    opacity: 0.5;
    margin: 0 5px;
}

.banner .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* 产品中心样式 */
.products {
    padding: 60px 0;
    background-color: #f5f5f5; /* 添加背景色 */
}

/* 标题组样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.title-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-title {
    font-size: 28px;
    color: #333;
    margin: 0;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #1e50ae;
}

.section-subtitle {
    color: #999;
    font-size: 14px;
    margin-top: 5px;
    padding-left: 20px;
}

.more-btn {
    padding: 8px 25px;
    background: #5bc0de;
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s;
}

.more-btn:hover {
    background: #46b8da;
}

/* 产品列表样式 */
.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-item {
    background: #fff;
    transition: transform 0.3s;
    text-align: center;
}

.product-item:hover {
    transform: translateY(-5px);
}

/* .product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
} */

.product-item h3 {
    padding: 15px;
    font-size: 16px;
    color: #333;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .more-btn {
        margin-top: 20px;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .product-list {
        grid-template-columns: 1fr;
    }
}

/* 页脚样式 */
.footer {
    background: linear-gradient(to right, #5bc0de, #5dbd9d);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

/* 公司信息样式 */
.footer-company {
    flex: 2;
}

.company-name {
    font-size: 20px;
    margin-bottom: 5px;
}

.company-en {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
}

/* 导航链接样式 */
.footer-nav {
    flex: 4;
    display: flex;
    justify-content: space-around;
}

.footer-nav-group h3 {
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
}

.footer-nav-group ul {
    list-style: none;
}

.footer-nav-group ul li {
    margin-bottom: 10px;
}

.footer-nav-group ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-nav-group ul li a:hover {
    color: #fff;
}

/* 二维码样式 */
.footer-qr {
    flex: 1;
    text-align: center;
}

.footer-qr img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
}

.footer-qr p {
    font-size: 14px;
}

/* 底部版权样式 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.admin-link {
    color: #fff;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.admin-link:hover {
    opacity: 1;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-nav {
        justify-content: flex-start;
        gap: 40px;
    }

    .footer-qr {
        align-self: center;
    }
}

@media screen and (max-width: 768px) {
    .footer-nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-nav-group {
        width: calc(50% - 10px);
    }
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .header .container {
        height: 60px;
    }

    .logo img {
        height: 40px;
    }

    .nav {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: transparent; /* 改为透明背景 */
        /* 添加渐变背景，类似PC端 */
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.6) 30%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0.3) 100%
        );
    }

    .nav.active {
        display: block;
    }

    .nav ul {
        flex-direction: column;
    }

    .nav li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 改为半透明白色分隔线 */
    }

    .nav a {
        display: block;
        padding: 15px;
        color: #fff; /* 确保文字为白色 */
    }

    .mobile-menu-btn {
        display: block;
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
    }

    .mobile-menu-btn span {
        display: block;
        width: 100%;
        height: 2px;
        /* background: #333; */
        position: absolute;
        transition: 0.3s;
    }

    .mobile-menu-btn span:nth-child(1) {
        top: 0;
    }

    .mobile-menu-btn span:nth-child(2) {
        top: 9px;
    }

    .mobile-menu-btn span:nth-child(3) {
        bottom: 0;
    }

    .banner {
        height: 60vh;
        max-height: 960px;
    }

    .banner img {
        height: 100%;
        max-height: 960px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-contact {
        margin-bottom: 30px;
    }

    .footer-nav {
        display: none;
    }

    /* 滚动后的移动端导航样式 */
    .header.scrolled .nav {
        background: #fff;
    }

    .header.scrolled .nav li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .header.scrolled .nav a {
        color: #333;
    }
}

/* 滚动后的头部样式 */
.header.scrolled {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 滚动后的导航链接颜色 */
.header.scrolled .nav a {
    color: #333;
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a.active {
    color: #1e50ae;
}

/* logo 切换 */
.logo .logo-white {
    display: block;
}

.logo .logo-dark {
    display: none;
}

.header.scrolled .logo .logo-white {
    display: none;
}

.header.scrolled .logo .logo-dark {
    display: block;
}

/* 导航菜单hover效果 */
.nav li {
    margin: 0 20px;
    position: relative;
}

.nav li::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #fff; /* 默认状态下的线条颜色为白色 */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* 鼠标悬停效果 */
.nav li:hover::after {
    width: 100%;
}

/* 默认状态下的链接样式 */
.nav a {
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
    display: block;
    position: relative;
}

.nav li:hover a {
    color: rgba(255, 255, 255, 0.8); /* 悬停时文字轻微变淡 */
}

/* 滚动后的样式 */
.header.scrolled .nav li::after {
    background: #1e50ae; /* 滚动后的线条颜色 */
}

.header.scrolled .nav li:hover a {
    color: #1e50ae; /* 滚动后悬停时的文字颜色 */
}

/* 当前激活项的样式 */
.nav li.active::after {
    width: 100%;
}

/* 产品链接样式 */
.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.product-item:hover .product-link {
    color: #1e50ae; /* 鼠标悬停时文字变色 */
}

/* 确保图片和标题样式不变 */
/* .product-link img {
    width: 100%;
    height: 200px;
    object-fit: cover;
} */

.product-link h3 {
    padding: 15px;
    font-size: 16px;
    color: inherit;
}

/* 选择智盛样式 */
.choose-us {
    padding: 40px 0 60px;
    background: #fff;
}

.choose-content {
    width: 600px; /* 改为600px宽度 */
    margin-left: calc((100% - 1200px) / 2 + 15px); /* 保持与container的左边距对齐 */
    padding-left: 15px;
}

.choose-left .title-group {
    margin-bottom: 30px;
}

.choose-left .section-subtitle {
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

.choose-left .section-title {
    font-size: 32px;
    color: #333;
}

.choose-text {
    margin: 30px 0;
    line-height: 1.8;
    color: #666;
}

.choose-left .more-btn {
    display: inline-block;
    padding: 10px 30px;
    background: #5bc0de;
    color: #fff;
    border-radius: 4px;
    transition: background 0.3s;
}

.choose-left .more-btn:hover {
    background: #46b8da;
}

/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .choose-content {
        margin-left: 15px;
    }
}

@media screen and (max-width: 640px) { /* 调整断点以适应新宽度 */
    .choose-content {
        width: 100%;
        margin-left: 0;
        padding: 0 15px;
    }
}

@media screen and (max-width: 768px) {
    .about {
        padding: 30px 0;
    }

    .about-image {
        position: relative;
        bottom: auto;
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
    }

    .about-right {
        min-height: auto;
    }

    .choose-us {
        margin-top: 0;
    }
}

/* 加入我们样式 */
.join-us {
    background: linear-gradient(to bottom right, #5bc0de, #5dbd9d);
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

/* 移除之前的遮罩层，因为不再需要 */
.join-us::before {
    display: none;
}

.join-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.join-title {
    font-size: 36px;
    margin-bottom: 30px;
}

.join-text {
    font-size: 16px;
    line-height: 1.8;
    margin: 0 auto 40px;
    padding: 0 15px;
    max-width: 1100px;
}

.join-btn {
    display: inline-block;
    padding: 12px 40px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.join-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .join-us {
        padding: 60px 0;
    }

    .join-title {
        font-size: 28px;
    }

    .join-text {
        font-size: 14px;
        padding: 0 20px;
    }
}

/* 新闻资讯样式 */
.news {
    padding: 60px 0;
    background: #fff;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.news-item {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.news-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.news-date {
    color: #999;
    font-size: 14px;
}

.news-link {
    color: #5bc0de;
    font-size: 14px;
    transition: color 0.3s;
}

.news-link:hover {
    color: #46b8da;
}

/* 响应式调整 */
@media screen and (max-width: 992px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .news-list {
        grid-template-columns: 1fr;
    }

    .news-item {
        padding: 20px;
    }
}

/* 新增图片容器样式 */
.news-img {
    width: 100%;
    height: 180px; /* 固定图片高度，保持布局一致 */
    overflow: hidden; /* 隐藏超出容器的部分 */
    margin-bottom: 20px; /* 与标题保持间距 */
    /*border-radius: 4px;*/ /* 轻微圆角美化 */
}

    /* 新增图片样式 */
    .news-img img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* 保持图片比例，裁剪填充容器 */
        transition: transform 0.3s ease; /* 图片缩放动画 */
    }

/* 鼠标悬停时图片轻微放大 */
.news-item:hover .news-img img {
    transform: scale(1.05);
}

/* 无图片时隐藏图片模块 */
.news-img img[src=""],
.news-img:has(img[src=""]) {
    display: none;
}

/* 新闻标题和描述链接样式 */
.news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.news-title a:hover {
    color: #5bc0de;
}

.news-desc a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.news-desc a:hover {
    color: #5bc0de;
}

/* 图标样式 */
.icon-service,
.icon-phone,
.icon-email {
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.icon-service {
    background-image: url('../images/service-icon.png');
}

.icon-phone {
    background-image: url('../images/phone-icon.png');
}

.icon-email {
    background-image: url('../images/email-icon.png');
}

/* 右侧悬浮联系栏基础样式 */
.float-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    height: 180px;
}

/* 每个项目的基础样式 */
.float-item {
    position: absolute;
    right: 0;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: width 0.3s ease;
}

/* 设置每个项目的位置 */
.float-item.service {
    top: 0;
}

.float-item.phone {
    top: 60px;
}

.float-item.email {
    top: 120px;
}

/* 悬浮效果 */
.float-item:hover {
    width: 240px;
}

.float-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 100%;
    display: flex;
    align-items: center;
    padding-right: 15px;
    color: #fff;
    white-space: nowrap;
}

/* 图标样式 */
.icon-service,
.icon-phone,
.icon-email {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: auto;
    position: relative;
    right: 3px;
}

.icon-service {
    background-image: url('../images/service-icon.png');
}

.icon-phone {
    background-image: url('../images/phone-icon.png');
}

.icon-email {
    background-image: url('../images/email-icon.png');
}

/* 信息样式 */
.float-info {
    position: absolute;
    left: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.float-item:hover .float-info {
    opacity: 1;
}

/* 分隔线 */
.float-item + .float-item {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 移动端响应式调整 */
@media screen and (max-width: 768px) {
    .float-contact {
        height: 150px;
    }

    .float-item {
        width: 50px;
        height: 50px;
    }

    .float-item.service {
        top: 0;
    }

    .float-item.phone {
        top: 50px;
    }

    .float-item.email {
        top: 100px;
    }

    .float-item:hover {
        width: 200px;
    }

    .float-content {
        width: 200px;
        height: 50px;
    }

    .icon-service,
    .icon-phone,
    .icon-email {
        width: 20px;
        height: 20px;
    }

    .float-info {
        font-size: 14px;
    }
}

/* 关于我们页面样式 */

/* Banner样式 */
.page-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    vertical-align: top;
}

.banner-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    line-height: normal;
}

.banner-title h1 {
    font-size: 36px;
    margin: 0;
    padding: 0;
}

.banner-title p {
    font-size: 24px;
    margin: 0;
    padding: 0;
}

/* 二级导航样式 */
.sub-nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: normal;
}

.sub-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.sub-nav ul {
    display: flex;
    gap: 30px;
}

.sub-nav li {
    position: relative;
}

.sub-nav li a {
    color: #333;
    font-size: 16px;
    padding: 0 5px;
    line-height: 50px;
    display: block;
}

.sub-nav li.active a {
    color: #1e50ae;
}

.sub-nav li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1e50ae;
}

.breadcrumb {
    color: #666;
    font-size: 16px;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #1e50ae;
}

.breadcrumb span {
    margin: 0 8px;
}

/* 公司简介部分 */
.about-section {
    padding: 60px 0;
    background: #fff;
}

.about-intro {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text {
    line-height: 1.8;
    padding: 0 15px;
}

.about-text p {
    margin-bottom: 20px;
    color: #666;
    text-indent: 2em;
}

.about-data {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 40px;
    padding: 0 15px;
}

.data-item {
    padding: 20px;
}

.data-item h3 {
    font-size: 36px;
    color: #1e50ae;
    margin-bottom: 10px;
}

.data-item h3 span {
    font-size: 20px;
    margin-left: 5px;
}

.data-item p {
    color: #666;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .page-banner {
        height: 250px;
    }
    
    .banner-title h1 {
        font-size: 28px;
    }
    
    .banner-title p {
        font-size: 18px;
    }

    .sub-nav .container {
        flex-direction: column;
        height: auto;
        padding: 10px 15px;
    }

    .sub-nav ul {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .sub-nav li a {
        font-size: 14px;
        padding: 0;
        line-height: 40px;
    }

    .breadcrumb {
        display: none;
    }

    .about-section {
        padding: 40px 0;
    }

    .about-data {
        gap: 20px;
    }

    .data-item {
        width: calc(50% - 20px);
        padding: 10px;
    }

    .data-item h3 {
        font-size: 28px;
    }

    .data-item h3 span {
        font-size: 16px;
    }
}

/* 产品列表页样式 */
.products-section {
    padding: 60px 0;
    background: #fff;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.product-item {
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    overflow: hidden;
}

.product-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-link {
    display: block;
    color: #333;
}

.product-link img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.product-link:hover img {
    transform: scale(1.05);
}

.product-link h3 {
    padding: 15px;
    font-size: 16px;
    text-align: center;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 移动端适配 */
@media screen and (max-width: 1200px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .products-section {
        padding: 40px 0;
    }

    .product-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 20px;
    }

    .product-link img {
        height: 180px;
    }

    .product-link h3 {
        padding: 12px;
        font-size: 15px;
    }
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 8px;
    flex-wrap: wrap; /* 允许元素换行 */
}

.pagination span,
.pagination a {
    min-width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid #e0e0e0;
    color: #666;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    padding: 0 10px;
    margin: 0 5px;
    white-space: nowrap; /* 防止文字换行 */
    overflow: hidden; /* 隐藏溢出内容 */
    text-overflow: ellipsis; /* 显示省略号 */
}

.pagination a:hover {
    color: #1e50ae;
    border-color: #1e50ae;
}

.pagination .current {
    background: #1e50ae;
    color: #fff;
    border-color: #1e50ae;
}

.pagination .disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}

/* 移动端适配 */
@media screen and (max-width: 576px) {
    .pagination {
        margin-top: 30px;
        gap: 5px;
    }

    .pagination span,
    .pagination a {
        min-width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 14px;
        padding: 0 8px; /* 减小内边距 */
        margin: 0 3px; /* 减小外边距 */
    }
}

/* 产品详情页样式 */
.product-detail {
    padding: 60px 0;
    background: #fff;
}

.detail-content {
    display: flex;
    gap: 50px;
    margin-bottom: 50px;
}

/* 产品图片区域 */
.product-gallery {
    width: 45%;
}

.gallery-main {
    border: 1px solid #eee;
    margin-bottom: 20px;
}

.gallery-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
}

.thumb-item {
    width: 100px;
    height: 100px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumb-item.active {
    border-color: #1e50ae;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品信息区域 */
.product-info {
    flex: 1;
}

.product-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

.product-meta {
    margin-bottom: 30px;
}

.product-meta p {
    line-height: 2;
    color: #666;
}

.product-meta span {
    color: #333;
    font-weight: 500;
    margin-right: 10px;
}

.product-desc {
    margin-bottom: 30px;
}

.product-desc h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
}

.product-desc p {
    color: #666;
    line-height: 1.8;
}

.contact-btn .btn {
    display: inline-block;
    padding: 12px 40px;
    background: #1e50ae;
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-btn .btn:hover {
    background: #1a4494;
}

/* 产品参数表格 */
.product-params {
    margin-bottom: 60px;
}

.params-title h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.params-table {
    width: 100%;
    border-collapse: collapse;
}

.params-table th,
.params-table td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: left;
}

.params-table th {
    background: #f5f5f5;
    font-weight: 500;
    color: #333;
    width: 200px;
}

.params-table td {
    color: #666;
}

/* 相关产品 */
.related-products {
    padding: 60px 0;
    background: #f5f5f5;
}

.related-products .product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* 移动端适配 */
@media screen and (max-width: 992px) {
    .detail-content {
        flex-direction: column;
        gap: 30px;
    }

    .product-gallery {
        width: 100%;
    }

    .gallery-main img {
        height: 300px;
    }

    .related-products .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .product-detail {
        padding: 40px 0;
    }

    .product-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .gallery-main img {
        height: 250px;
    }

    .thumb-item {
        width: 80px;
        height: 80px;
    }

    .params-table th {
        width: 120px;
    }

    .params-table th,
    .params-table td {
        padding: 10px;
        font-size: 14px;
    }

    .related-products {
        padding: 40px 0;
    }

    .related-products .product-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 技术支持页面样式 */
.technical-section {
    padding: 80px 0;
    background: #fff;
}

.technical-intro {
    max-width: 1200px;
    margin: 0 auto;
}

.technical-content {
    margin-top: 40px;
}

.technical-text {
    line-height: 1.8;
    padding: 0 15px;
    color: #666;
}

.technical-text p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.service-list {
    margin: 20px 0 20px 4em;
}

.service-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 15px;
    color: #666;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #1e50ae;
    border-radius: 50%;
}

/* 联系信息卡片样式 */
.contact-info-section {
    padding: 60px 0;
    background: #f5f5f5;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-card {
    background: #fff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact-card h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    line-height: 1.8;
}

/* 移动端适配 */
@media screen and (max-width: 992px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .technical-section {
        padding: 40px 0;
    }

    .technical-content {
        margin-top: 30px;
    }

    .service-list {
        margin: 15px 0 15px 2em;
    }

    .contact-info-section {
        padding: 40px 0;
    }

    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }

    .contact-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
}

/* 联系我们页面样式 */
.contact-section,
.payment-section {
    padding: 80px 0;
    background: #fff;
}

.contact-intro,
.payment-intro {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    margin-top: 40px;
    display: flex;
    gap: 50px;
}

/* 联系信息样式 */
/* 修改联系信息盒子样式 */
.contact-info-box {
    width: 40%;
    background: #f5f5f5;
    padding: 40px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* 调整信息项的间距 */
.info-item {
    margin-bottom: 20px;
}

/* 最后一个信息项不需要底部间距 */
.info-item:last-child {
    margin-bottom: 0;
}

.info-item h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
}

.info-item p {
    color: #666;
    line-height: 1.6;
}

/* 留言表单样式 */
/* 确保表单区域高度合适 */
.message-form {
    width: 60%;
    display: flex;
    flex-direction: column;
}
#contactForm {
    height: 100%;
    display: flex;
    flex-direction: column;
}


.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f5f5f5;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1e50ae;
    outline: none;
    background: #fff;
}

.form-group textarea {
    height: 180px;
    flex-grow: 1;
}

.submit-btn {
    background: #1e50ae;
    color: #fff;
    padding: 14px 40px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 100%;
}

.submit-btn:hover {
    background: #1a4494;
}

/* 付款方式样式 */
.payment-content {
    margin-top: 40px;
}

.payment-item {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.payment-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
}

.payment-item p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.qr-codes {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    justify-content: center;
}

.qr-item {
    text-align: center;
}

.qr-item img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    padding: 10px;
    background: #fff;
    border-radius: 8px;
}

.qr-item p {
    color: #333;
    margin-bottom: 0;
}

/* 移动端适配 */
@media screen and (max-width: 992px) {
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }

    .contact-info-box,
    .message-form {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .contact-section,
    .payment-section {
        padding: 40px 0;
    }

    .contact-content {
        margin-top: 30px;
    }

    .contact-info-box {
        padding: 25px;
    }

    .info-item {
        margin-bottom: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
    }

    .form-group textarea {
        height: 150px;
    }

    .submit-btn {
        padding: 12px;
    }

    .qr-codes {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .qr-item img {
        width: 120px;
        height: 120px;
    }

    .payment-item {
        padding: 20px;
    }
}

@media screen and (max-width: 576px) {
    .contact-info-box {
        padding: 20px;
    }

    .info-item h3 {
        font-size: 15px;
    }

    .info-item p {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
    }
}

/* 关于我们页面样式 */
.about-section {
    padding: 60px 0;
    background: #fff;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* 公司简介文本样式 */
.about-text {
    color: #666;
    line-height: 1.8;
    margin-top: 30px;
}

.about-text p {
    margin-bottom: 20px;
    text-indent: 2em;
}

/* 发展历程时间轴样式 */
.history-timeline {
    margin-top: 40px;
    position: relative;
    padding-left: 30px;
}

.history-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1e50ae;
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #1e50ae;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #1e50ae;
}

.timeline-item .year {
    font-size: 20px;
    font-weight: bold;
    color: #1e50ae;
    margin-bottom: 10px;
}

.timeline-item .event h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.timeline-item .event p {
    color: #666;
    line-height: 1.6;
}

/* 企业文化样式 */
.culture-content {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.culture-item {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.culture-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.culture-item h3 {
    color: #1e50ae;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.culture-item h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #1e50ae;
}

.culture-item p {
    color: #666;
    line-height: 1.6;
}

/* 资质认证样式 */
.qualification-list {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.qualification-item {
    text-align: center;
    transition: all 0.3s ease;
}

.qualification-item:hover {
    transform: translateY(-5px);
}

.qualification-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.qualification-item h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.qualification-item p {
    color: #666;
    font-size: 14px;
}

/* 经营许可样式 */
.license-list {
    margin-top: 40px;
}

.license-item {
    background: #f5f5f5;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.license-item:last-child {
    margin-bottom: 0;
}

.license-item h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.license-item p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 8px;
}

.license-item p:last-child {
    margin-bottom: 0;
}

/* 移动端适配 */
@media screen and (max-width: 992px) {
    .qualification-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .about-section {
        padding: 40px 0;
    }

    .culture-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .qualification-list {
        gap: 20px;
    }

    .timeline-item .year {
        font-size: 18px;
    }

    .timeline-item .event h3 {
        font-size: 16px;
    }

    .culture-item,
    .license-item {
        padding: 20px;
    }
}

@media screen and (max-width: 576px) {
    .qualification-list {
        grid-template-columns: 1fr;
    }

    .about-text p {
        text-indent: 1.5em;
    }
}

/* 修改新闻列表页面的间距 */
.news-section {
    padding: 60px 0;
}

.news-section .title-group {
    margin-bottom: 20px;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .news-section {
        padding: 20px 0;
    }
    
    .news-section .title-group {
        margin-bottom: 30px;
    }
}

 
/* 新闻详情页样式 */
.news-detail {
    padding: 60px 0;
    background: #fff;
}

.detail-content {
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.article-title {
    font-size: 28px;
    color: #333;
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta {
    color: #999;
    font-size: 14px;
}

.article-meta span {
    margin: 0 15px;
}

.article-content {
    color: #333;
    line-height: 1.8;
    font-size: 16px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 20px;
    color: #333;
    margin: 30px 0 20px;
    font-weight: bold;
}

.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.article-tags {
    margin-bottom: 30px;
}

.article-tags a {
    display: inline-block;
    padding: 5px 15px;
    background: #f5f5f5;
    color: #666;
    margin-right: 10px;
    border-radius: 3px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.article-tags a:hover {
    background: #007bff;
    color: #fff;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.prev-article,
.next-article {
    max-width: 45%;
}

.article-nav span {
    color: #999;
    margin-right: 10px;
}

.article-nav a {
    color: #666;
    transition: all 0.3s ease;
}

.article-nav a:hover {
    color: #007bff;
}

 