﻿﻿﻿﻿﻿/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 通用图片响应式样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

/* 图片容器通用样式 */
.img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* 富文本编辑器图片包装器样式 */
.image-wrapper {
    margin: 15px 0;
    display: block;
    clear: both;
}

.image-wrapper img {
    display: inline-block;
    margin: 0;
    position: relative;
}

/* 图片调整大小控制器样式 */
.image-resize-controls {
    position: absolute;
    pointer-events: none;
    z-index: 1000;
    border: 1px solid #ccc;
}

.resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #999;
    border: 1px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 0 2px rgba(0,0,0,0.2);
    transition: transform 0.1s ease;
}

.resize-handle:hover {
    transform: scale(1.2);
}

/* 确保控制器在编辑器中正确显示 */
.rich-editor {
    position: relative;
    overflow: visible;
}

/* 图片对齐样式 */
.image-align-left {
    text-align: left;
}

.image-align-center {
    text-align: center;
}

.image-align-right {
    text-align: right;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2c3e50;
    font-size: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* 轮播图样式 */
.carousel {
    position: relative;
    width: 100%;
    /* 统一轮播图高度为500px，可在后台管理系统中调整 */
    height: 500px;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-content {
    padding: 2rem 4rem;
    color: white;
    z-index: 2;
    position: relative;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 15px;
    max-width: 80%;
    margin: 0 auto;
}

.carousel-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    max-width: 600px;
}

.carousel-content p {
    font-size: 1.7rem; /* 字体比之前大1号 */
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    text-align: left;
    max-width: 1200px; /* 标题宽度的两倍，比标题宽1倍 */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-buttons {
    display: flex;
    gap: 1rem;
}

/* 轮播控制按钮 */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 3;
    transition: background-color 0.3s ease;
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.carousel-control.prev {
    left: 2rem;
}

.carousel-control.next {
    right: 2rem;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: white;
    transform: scale(1.2);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 按钮基础样式 */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #3498db;
}

/* 统一的产品和新闻按钮样式 */
.product-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
}

.product-btn:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 响应式轮播图 */
@media (max-width: 768px) {
    .carousel-content h1 {
        font-size: 2.5rem;
    }
    
    .carousel-content p {
        font-size: 1.4rem;
    }
    
    .carousel-control {
        padding: 0.75rem;
        font-size: 1.2rem;
    }
    
    .carousel-control.prev {
        left: 1rem;
    }
    
    .carousel-control.next {
        right: 1rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .carousel-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .carousel-content h1 {
        font-size: 1.8rem;
    }
    
    .carousel-content p {
        font-size: 1.3rem;
    }
    
    .carousel-buttons a {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

/* 通用标题样式 */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #3498db;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat h4 {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 10px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 服务项目 */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 产品展示 */
.products {
    padding: 80px 0;
    background: #f8f9fa;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 480px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 新闻动态 */
.news {
    padding: 80px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-date {
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.news-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.news-card p {
    color: #666;
    margin-bottom: 20px;
}



/* 联系我们 */
.contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3,
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.contact-item i {
    width: 30px;
    color: #3498db;
    font-size: 1.2rem;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
    text-align: left;
}

.footer-section {
    text-align: left;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    text-align: left;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-section.quick-links {
    text-align: left !important;
 padding-left: 80px;

}

.footer-section.quick-links ul {
    text-align: left !important;
    padding-left: 0;
    margin-left: 0;
}

.footer-section.quick-links li {
    text-align: left !important;
    margin-left: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        width: 180px;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 15px 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-radius: 0 0 8px 8px;
        border: 1px solid #e0e0e0;
        border-top: none;
    }
    
    .nav-menu.active {
        display: flex;
        gap: 0;
    }
    
    .nav-menu.active li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        padding: 10px 0;
    }
    
    .nav-menu.active li:last-child {
        border-bottom: none;
    }
    
    .nav-menu.active a {
        display: block;
        width: 100%;
        padding: 8px;
        text-decoration: none;
        color: #333;
        font-weight: 500;
        transition: color 0.3s;
    }
    
    .nav-menu.active a:hover {
        color: #3498db;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* 修复小屏幕下logo重影问题 */
    .nav-logo {
        background: url('images/logo.png') no-repeat center;
        background-size: contain;
        height: 60px;
        width: auto;
        min-width: 120px;
        display: block;
    }
    
    .nav-logo img {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .products-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 分页式网站新增样式 */

/* 页面标题横幅 */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 特色服务预览 */
.featured-services {
    padding: 80px 0;
}

.services-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

.service-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-image img:hover {
    transform: scale(1.05);
}

/* 当没有图片时，内容区域直接从顶部开始 */
.service-item:not(:has(.service-image)) .service-content {
    border-radius: 10px 10px 0 0;
}

.service-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.service-features span {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.4;
}

.service-features span::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #3498db;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.service-price {
    margin-top: auto;
    font-size: 1.1rem;
    color: #3498db;
    font-weight: 400;
}

.text-center {
    text-align: center;
}

/* 查看更多服务按钮样式 */
.more-services-btn {
    display: inline-block;
    padding: 12px 30px;
    background: #3498db;
    color: white;
    text-decoration: none;
    font-weight: 400;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.more-services-btn:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 最新新闻预览 */
.latest-news {
    padding: 80px 0;
    background: #f8f9fa;
}

.news-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-item .news-date {
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.news-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.news-item p {
    color: #666;
    margin-bottom: 20px;
}

/* 关于我们页面样式 */
.company-intro {
    padding: 80px 0;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #666;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* 发展历程 */
.timeline {
    padding: 80px 0;
    background: #f8f9fa;
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #3498db;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -10px;
    z-index: 2;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 45%;
    margin: 0 10px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.timeline-image {
    margin-top: 15px;
}

.timeline-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* 团队介绍 */
.team {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid #f8f9fa;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 5px solid #f8f9fa;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.member-photo:hover img {
    transform: scale(1.1);
}

.member-photo:hover img {
    transform: scale(1.1);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.member-position {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 15px;
}

.member-desc {
    color: #666;
}

/* 企业荣誉 */
.honors {
    padding: 80px 0;
    background: #f8f9fa;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.honor-item {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.honor-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.honor-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 服务项目页面样式 */
.services-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

.overview-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.detailed-services {
    padding: 80px 0;
}

.service-detail {
    margin-bottom: 80px;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-info i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.service-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.service-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 25px;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.service-tech h4 {
    margin-bottom: 15px;
    color: #2c3e50;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tags span {
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #666;
}

.service-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.other-services {
    text-align: center;
    margin-top: 80px;
}

.other-services h3 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.other-service {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.other-service i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 20px;
}

.service-process {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 产品展示页面样式 */
.product-categories {
    padding: 40px 0;
    background: #f8f9fa;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-tab {
    background: white;
    border: 2px solid #3498db;
    color: #3498db;
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.category-tab.active,
.category-tab:hover {
    background: #3498db;
    color: white;
}

.products-showcase {
    padding: 80px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.product-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
    border: none;
    outline: none;
    display: block;
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 250px;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 152, 219, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    gap: 15px;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-demo,
.product-download {
    background: white;
    color: #3498db;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    outline: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

/* 确保按钮在点击或焦点状态下没有红圈 */
.product-demo:focus,
.product-download:focus,
.product-demo:active,
.product-download:active {
    border: none;
    outline: none;
    box-shadow: none;
}

.product-demo:hover,
.product-download:hover {
    background: #2c3e50;
    color: white;
}

.product-info {
    padding: 25px 25px 15px 25px;
    flex: 1;
    background: white;
    display: flex;
    flex-direction: column;
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    padding: 15px 25px 25px 25px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background: white;
}

/* 产品详情按钮统一样式 */
.product-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #3498db;
    color: white;
    text-decoration: none;
    font-weight: normal;
    font-weight: 400;
    border-radius: 5px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    min-width: 100px;
    white-space: nowrap;
    margin: 0;
    vertical-align: middle;
}

.product-btn:hover {
    background: #2980b9;
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    min-height: 2.2rem;
    line-height: 1.4;
}

.product-name-link {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name-link:hover {
    color: #3498db;
    text-decoration: none;
}

.product-image-link {
    display: block;
    text-decoration: none;
}

.product-desc {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.product-features span {
    font-size: 0.9rem;
    color: #666;
}

.product-features i {
    color: #27ae60;
    margin-right: 5px;
}



.product-price {
    font-weight: 600;
    color: #e74c3c;
    border: none;
    outline: none;
    display: inline-block;
    position: relative;
}

/* 确保产品标题区域没有红圈 */
.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
    border: none;
    outline: none;
}

/* 确保产品名称链接没有红圈 */
.product-name-link {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
    border: none;
    outline: none;
    display: inline-block;
}

/* 确保产品元信息区域没有红圈 */
.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    outline: none;
}

/* 确保产品版本号没有红圈 */
.product-version {
    font-size: 0.9rem;
    color: #999;
    border: none;
    outline: none;
    display: inline-block;
}

.product-version {
    font-size: 0.9rem;
    color: #999;
}

.product-advantages {
    padding: 80px 0;
    background: #f8f9fa;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-item i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 新闻动态页面样式 */
.news-list {
    padding: 80px 0;
}

.news-articles {
    max-width: 900px;
    margin: 0 auto;
}

.news-article {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 50px;
    overflow: hidden;
}

.article-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #eee;
}

.article-date {
    background: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.news-article h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
}

.article-meta i {
    margin-right: 5px;
}

.article-content {
    padding: 0;
}

.article-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.article-text {
    padding: 40px;
}

.article-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.article-summary {
    margin: 20px 0;
}

.article-summary p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

.article-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-link {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    color: #666;
    transition: all 0.3s;
}

.page-link.active,
.page-link:hover {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.page-link.next {
    background: #f8f9fa;
}

/* 联系我们页面样式 */
.contact-info-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-info-item {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.contact-main {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-form-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.contact-form-section > p {
    color: #666;
    margin-bottom: 30px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.contact-map-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.map-container {
    height: 300px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ddd;
}

.map-placeholder {
    text-align: center;
    color: #999;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.location-details h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.location-details ul {
    list-style: none;
}

.location-details li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.location-details li:last-child {
    border-bottom: none;
}

.faq-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin: 0;
}

.faq-question i {
    color: #3498db;
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.active .faq-answer {
    padding: 0 30px 25px;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* 导航栏激活状态 */
.nav-menu a.active {
    color: #3498db;
    font-weight: 600;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .intro-content,
    .service-detail-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .service-detail-content.reverse {
        direction: ltr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .timeline-container::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-year {
        left: 30px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 80px;
    }
    
    .product-features {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        height: auto;
        max-height: 250px;
    }
    
    .article-header,
    .article-text {
        padding: 25px;
    }
    
    /* 响应式图片适配 */
    .product-image img,
    .product-card img {
        max-height: 200px;
    }
    
    .timeline-image img {
        max-width: 100%;
    }
    
    .team-member .member-photo {
        width: 100px;
        height: 100px;
    }
    
    /* 后台管理响应式图片 */
    .data-table img {
        max-width: 60px;
        max-height: 45px;
    }
    
    .preview-image {
        max-height: 120px;
    }
}

/* 小屏幕设备适配 */
@media (max-width: 480px) {
    /* 修复更小屏幕下logo重影问题 */
    .nav-logo {
        background: url('images/logo.png') no-repeat center;
        background-size: contain;
        height: 50px;
        width: auto;
        min-width: 100px;
        display: block;
    }
    
    .nav-logo img {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    .hero-image img {
        border-radius: 5px;
    }
    
    .product-image img,
    .product-card img {
        max-height: 150px;
    }
    
    .article-image img {
        max-height: 200px;
    }
    
    .team-member .member-photo {
        width: 80px;
        height: 80px;
    }
    
    /* 后台管理小屏幕适配 */
    .data-table img {
        max-width: 50px;
        max-height: 35px;
    }
    
    .preview-image {
        max-height: 100px;
    }
}

/* 后台表格中的图片样式 */
.data-table img {
    max-width: 80px;
    max-height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

/* 图片预览样式 */
.preview-image {
    max-width: 100%;
    height: auto;
    max-height: 150px;
    border-radius: 4px;
    margin: 10px 0;
    object-fit: contain;
}

/* 确保所有表单中的图片输入预览响应式 */
.form-group img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination .page-link {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #ddd;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pagination .page-link:hover {
    background: #f8f9fa;
    border-color: #3498db;
    color: #3498db;
}

.pagination .page-link.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.pagination .page-link.prev, .pagination .page-link.next {
    padding: 10px 20px;
    background: #f8f9fa;
}

.pagination .page-link.prev:hover, .pagination .page-link.next:hover {
    background: #3498db;
    color: white;
}

/* 后台管理系统消息样式 */
.message {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    animation: slideIn 0.3s ease-out;
    max-width: 300px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.message.fade-out {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}