/* 基础样式 */
:root {
    --primary-color: #1a5276;
    --secondary-color: #2980b9;
    --accent-color: #e67e22;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --black: #000;
    --border-radius: 4px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

/* 顶部导航栏 */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    margin-right: 5px;
}

.social-icons a {
    color: var(--white);
    margin-left: 15px;
    font-size: 1rem;
}

.social-icons a:hover {
    color: var(--accent-color);
}

/* 主导航栏 */
.main-header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    margin-left: 10px;
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    position: relative;
    margin-left: 25px;
}

.main-nav ul li a {
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.main-nav ul li a:hover::after,
.main-nav ul li a.active::after {
    width: 100%;
}

.main-nav ul li a.active {
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column; /* 垂直排列关键属性 */
    background-color: var(--white);
    width: 200px;
    box-shadow: var(--box-shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
}

.dropdown-menu li a:hover {
    background-color: #f8f9fa;
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 轮播图 */
.hero-slider {
    position: relative;
    height: 100vh;
    max-height: 800px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 80%;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-controls button {
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

/* 欢迎页面 */
.welcome-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.welcome-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.welcome-text {
    flex: 1;
}

.welcome-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.welcome-text p {
    margin-bottom: 15px;
}

.welcome-features {
    margin: 25px 0;
}

.welcome-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.welcome-features i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.welcome-video {
    flex: 1;
    min-width: 300px;  /*设置最小宽度，防止内容过窄 */
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);

}

.welcome-video video  {
    width: 100%;
    height: auto;
    transition: var(--transition);
    /* 新增以下属性 */
    display: block; /* 移除inline元素的默认间隙 */
    border-radius: inherit; /* 继承父元素的圆角 */
    object-fit: cover; /* 确保视频填满容器 */
}




/* 关于我们 */
.about-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-features {
    margin: 25px 0;
}

.about-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.about-features i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.about-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* 服务项目 */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(26, 82, 118, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 项目案例 */
.projects-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.project-info p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* 统计数据 */
.stats-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.stat-item p {
    font-size: 1.2rem;
}

/* 新闻资讯 */
.list-section {
    padding: 80px 0;
}

.list-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;  /*Adjust the gap between cards as needed */
    max-width: 1200px; /* Set your desired maximum width */
    margin: 0 auto; /* Center the grid if it doesn't fill the max width */
}

.list-card {

    flex: 1 0 calc(33.333% - 20px); /* 3 cards per row accounting for gap */
    min-width: 300px; /* Set a minimum width for each card */
    max-width: calc(33.333% - 20px); /* Ensure cards don't grow beyond 3 per row */
    box-sizing: border-box;
    background-color: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);

    height: 500px; /* 固定高度，按需调整 */
    display: flex;
    flex-direction: column; /* 让内容垂直排列 */
}


/* Responsive adjustments if needed */
@media (max-width: 1024px) {
    .list-card {
        flex: 1 0 calc(50% - 20px); /* 2 cards per row on smaller screens */
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .list-card {
        flex: 1 0 100%; /* 1 card per row on mobile */
        max-width: 100%;
    }
    .list-image {
        height: 300px; /* 保持固定高度 */
        max-width: 400px;
        width: 100%; /* 确保图片宽度不超过容器 */
        display: block; /* 使 margin: auto 生效 */
        margin: 0 auto; /* 水平居中 */
    }
}

.list-card:hover {
    transform: translateY(-10px);
}

.list-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.list-card:hover .news-image img {
    transform: scale(1.1);
}

.list-date {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 10px;
    text-align: center;
    border-radius: var(--border-radius);
    line-height: 1;
}

.list-date span:first-child {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.list-content {
    padding: 20px;
}

.list-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.list-content h3 a:hover {
    color: var(--accent-color);
}

.list-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-content {
    margin-top: 40px;
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-10px);
}

.info-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* 底部 */
.main-footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-col p {
    margin-bottom: 20px;
    color: #aaa;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.newsletter-col .form-group {
    position: relative;
}

.newsletter-col input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: none;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-col button {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 40px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-col button:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #aaa;
    margin-bottom: 0;
}

.footer-menu {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.footer-menu li {
    margin: 0 10px;
}

.footer-menu li a {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-menu li a:hover {
    color: var(--accent-color);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    .welcome-content {
        flex-direction: column;
    }
    .contact-content {
        flex-direction: column;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        margin-bottom: 10px;
    }

    .social-icons {
        margin-top: 10px;
    }

    .mobile-menu-btn {
        display: block;
        position: relative; /* 作为定位参考 */
        z-index: 1001;
    }

    .main-nav {
        position: absolute; /* 改为绝对定位 */
        top: 100%; /* 定位到按钮底部 */
        right: 0;
        width: 100%; /* 全宽度 */
        max-height: calc(100vh - 60px); /* 减去按钮高度 */
        background: #fff;
        z-index: 1000;
        transition: transform 0.3s ease;
        transform: translateX(-100%); /* 初始隐藏 */
        overflow-y: auto;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        background: rgba(255, 255, 255, 0.9); /* 半透明背景 */
    }

    .main-nav.active {
        transform: translateX(0); /* 显示菜单 */
    }
    .main-nav ul {
        flex-direction: column;
        margin-left: 20px;
        margin-top: 0; /* 移除之前的margin */
    }

    .main-nav ul li {
        margin: 10px 0 10px 0;
    }

    .main-nav ul li a {
        padding: 0px 0;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        padding-left: 36px; /* 缩进子菜单 */
        display: none !important; /* 强制隐藏所有子菜单 */
    }

    .dropdown.active .dropdown-menu {
        overflow-y: auto;
        display: block !important; /* 只有active时才显示 */
        max-height: none; /* 取消高度限制 */
        height: auto;       /* 高度自适应内容 */

    }

    .mobile-menu-btn {
        display: block;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .info-item {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .slide-content h1 {
        font-size: 1.8rem;
    }

    .hero-slider {
        max-height: 500px;
    }

    .slider-controls button {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-col {
        grid-column: span 2;
    }
}

/* content css*/

/* 产品页面专用样式 */
.page-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
}
.page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}
.page-banner .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

.product-categories {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
.category-tabs {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;
    gap: 10px;
}
.category-tabs a {
    padding: 8px 20px;
    border-radius: 10px;
    background: #e9ecef;
    color: #495057;
    transition: all 0.3s;
}
.category-tabs a.active,
.category-tabs a:hover {
    background: var(--primary-color);
    color: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}
.product-card {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    transition: transform 0.5s;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}
.product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}
.product-info {
    padding: 20px;
}
.product-spec {
    color: var(--secondary-color);
    font-weight: bold;
    margin: 10px 0;
}
.product-desc {
    color: #666;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-actions {
    display: flex;
    gap: 10px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    padding: 30px;
    border-radius: 5px;
    overflow-y: auto;
    position: relative;
}
.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}
.spec-table {
    margin-top: 20px;
}
.spec-table th {
    text-align: left;
    padding: 8px 15px 8px 0;
    width: 30%;
    border-bottom: 1px solid #eee;
}
.spec-table td {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .product-actions {
        flex-direction: column;
    }
    .product-actions .btn {
        width: 100%;
    }
}

/* 分页容器 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
    font-family: 'Segoe UI', sans-serif;
}

/* 导航按钮（上一页/下一页） */
.page-nav {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 10px;
    background: #f8f9fa;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.page-nav:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 82, 118, 0.2);
    transform: translateY(-2px);
}

.page-nav .hover-text {
    display: none;
}

/* 页码数字 */
.page-numbers {
    display: flex;
    gap: 5px;
}

.page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.page-item:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-item.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 8px rgba(26, 82, 118, 0.3);
}

.page-separator {
    display: flex;
    align-items: flex-end;
    padding: 0 5px;
    color: #adb5bd;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .page-nav {
        padding: 8px 15px;
    }

    .page-nav .bi {
        display: none;
    }

    .page-nav .hover-text {
        display: inline;
        font-size: 0.9rem;
    }

    .page-item {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* 动画增强 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.page-item.active {
    animation: pulse 1.5s infinite;
}


/* 服务详情页专属样式 */
.service-hero {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: white;
    padding: 80px 0;
}
.process-steps {
    counter-reset: step-counter;
    margin: 40px 0;
}
.step-item {
    position: relative;
    padding-left: 100px;
    margin-bottom: 40px;
}
.step-item::before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
}
.case-studies {
    background: #f8f9fa;
    padding: 60px 0;
}
.case-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 产品详情页专属样式 */
.product-hero {
    background: linear-gradient(135deg, #1a5276 0%, #2980b9 100%);
    color: white;
    padding: 60px 0;
}
.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}
.gallery-main img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.spec-accordion {
    margin: 30px 0;
}
.accordion-item {
    border-bottom: 1px solid #eee;
}
.accordion-header {
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-content {
    padding: 0 20px 20px;
    display: none;
}
.tech-specs table {
    width: 100%;
    border-collapse: collapse;
}
.tech-specs th, .tech-specs td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    text-align: left;
}
.tech-specs th {
    width: 30%;
    color: var(--primary-color);
}

/* 加载动画 */
#content-container {
    position: relative;
    min-height: 300px;
}

.loading-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.ajax-loading .loading-indicator {
    display: block;
}

.ajax-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    animation: loading 1s infinite;
}

@keyframes loading {
    0% { width: 0; opacity: 1; }
    100% { width: 100%; opacity: 0; }
}

/* 面包屑导航样式 */
.page-banner .breadcrumb-nav {
    position: absolute;
    bottom: -60px;
    left: 15px;
    color: white;
    font-size: 16px;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0);
    padding: 5px 10px;
    border-radius: 4px;
}

.page-banner .breadcrumb-nav a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.page-banner .breadcrumb-nav a:hover {
    color: #f0f0f0;
    text-decoration: underline;
}

.page-banner .breadcrumb-nav span {
    margin: 0 5px;
}

.detail-overview {
    padding: 20px;
}

/* news single row css*/
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px;
}

.news-card {
    display: flex;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.news-image {
    flex: 0 0 300px;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.news-title {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.news-date {
    font-size: 14px;
    color: #999;
}

.news-desc {
    flex: 1;
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.6;
    font-size: 15px;
}

.news-footer {
    text-align: right;
}

.read-more {
    display: inline-block;
    color: #e67e22;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #d35400;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

/* 修改news-card为垂直布局 */
@media (max-width: 768px) {
    .news-card {
        flex-direction: column; /* 改为垂直布局 */
        margin-bottom: 20px;
    }

    .news-image {
        flex: 0 0 auto; /* 取消固定宽度 */
        width: 100%;
        height: 200px; /* 保持适当高度 */
    }

    .news-content {
        padding: 15px;
    }

    /* 调整新闻标题和日期布局 */
    .news-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-date {
        margin-top: 5px;
    }
}

/* 更小的屏幕调整图片高度 */
@media (max-width: 480px) {
    .news-image {
        height: 150px;
    }
}

/* weixin 无法自动播放 */

.welcome-video {
    position: relative;
    width: 100%;
}

.welcome-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}
.play-icon {
    margin: 0;
    padding: 15px;
    line-height: 1; /* 避免字体行高影响 */
}