﻿/* 基础样式重置 - 兼容IE浏览器 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    font-family: "Microsoft YaHei", "SimSun", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

body {
    padding-top: 0;
}

/* 容器 */
.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* 清除浮动 - 兼容IE */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.clearfix {
    zoom: 1; /* IE6/7 */
}

/* 顶部信息栏 */
.top-bar {
    background-color: #34495e;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #2c3e50;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    box-sizing: border-box;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.top-bar-left {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
}

.top-bar-right {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: auto;
    padding-right: 0;
}

.top-bar-right a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.top-bar-right a:before {
    content: "☎";
    font-size: 16px;
}

.top-bar-right a:hover {
    opacity: 0.8;
}

/* 头部导航 */
.header {
    background-color: #2c3e50;
    color: #fff;
    padding: 15px 0;
    position: fixed;
    top: 37px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    margin: 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
    height: 100%;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    margin: 0;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
    margin: 0;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.logo a:hover img {
    opacity: 0.8;
}

.logo a:hover h1 {
    opacity: 0.8;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    vertical-align: middle;
    flex-wrap: nowrap;
    overflow: hidden;
    padding-right: 0;
    margin-right: 0;
}

.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
    margin-right: 0;
    padding-right: 0;
}

.nav ul li {
    display: inline-block;
    margin: 0;
    margin-right: 8px;
    white-space: nowrap;
}

.nav ul li:last-child {
    margin-right: 0;
}

.nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.nav ul li a:hover,
.nav ul li a.active {
    background-color: #34495e;
    border-radius: 3px;
}

.nav .phone-number {
    display: inline-block;
    margin-left: 20px;
    padding: 8px 0;
}

.nav .phone-number a {
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.nav .phone-number a:hover {
    opacity: 0.8;
}

.nav .phone-number a:before {
    content: "☎";
    font-size: 18px;
    color: #fff;
    filter: brightness(0) invert(1);
}

/* 轮播图 */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background-color: #34495e;
    margin-top: 92px;
}

/* 首页第一个内容区域 */
.advantages-preview {
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: table;
    width: 100%;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.slide:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.slide:nth-child(4) {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.slide-content {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.slide-content p {
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 10;
}

.prev-btn, .next-btn {
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(0,0,0,0.7);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #fff;
}

/* 页面标题 */
.page-header {
    background-color: #34495e;
    color: #fff;
    padding: 40px 0;
    text-align: center;
    margin-top: 92px;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
    margin-top:30px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

.news-meta {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

/* 章节标题 */
.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #3498db;
}

/* 优势展示 */
.advantages {
    padding: 40px 0;
    background-color: #f0f5ff;
}

.advantages-grid {
    display: table;
    width: calc(100% + 30px);
    table-layout: fixed;
    margin-left: -10px;
    margin-right: -10px;
    border-spacing: 10px 0;
    border-collapse: separate;
    box-sizing: border-box;
}

.advantage-item {
    display: table-cell;
    padding: 30px 20px;
    text-align: center;
    vertical-align: top;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
}

.advantage-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    background-color: #f0f4ff;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: transparent;
    color: #fff;
    border-radius: 0;
    line-height: 60px;
    font-size: 30px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.advantage-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.advantage-item:hover .advantage-icon img {
    transform: scale(1.15) rotate(5deg);
}

.advantage-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.advantage-item p {
    color: #666;
    line-height: 1.8;
}

/* 服务预览 */
.services-preview {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.services-grid {
    display: table;
    width: calc(100% + 20px);
    table-layout: fixed;
    margin-top: 30px;
    margin-left: -10px;
    margin-right: -10px;
    border-spacing: 10px 0;
    border-collapse: separate;
    box-sizing: border-box;
}

.service-card {
    display: table-cell;
    background-color: #fff;
    padding: 40px 30px;
    text-align: center;
    vertical-align: top;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 33.33%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-image {
    font-size: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* 公司历史数据 */
.company-stats {
    padding: 0;
    background-color: transparent;
    color: #fff;
}

.company-stats .container {
    padding: 20px 15px;
    box-sizing: border-box;
}

.company-stats .stats-wrapper {
    background: linear-gradient(to right, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    padding: 50px 20px;
    width: 100%;
    box-sizing: border-box;
}

.stats-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-spacing: 20px 0;
    border-collapse: separate;
}

.stat-item {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.2;
}

.stat-label {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    background-color: #2980b9;
}

.text-center {
    text-align: center;
    margin-top: 30px;
}

/* 搬家案例和新闻资讯 */
.cases-news-section {
    padding: 40px 0;
    background-color: #fff;
}

.cases-news-grid {
    display: flex;
    align-items: flex-start;
}

.cases-news-col {
    flex: 1;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    overflow: visible;
}

.cases-news-col:first-child {
    margin-right: 15px;
}

.cases-news-col:last-child {
    margin-left: 15px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.section-header-row .section-title {
    margin: 0;
    font-size: 24px;
    color: #2c3e50;
    font-weight: bold;
}

.more-link {
    color: #3498db;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    white-space: nowrap;
}

.more-link:hover {
    color: #2980b9;
    text-decoration: underline;
}

.cases-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: visible;
}

.cases-news-list .list-item {
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
    overflow: visible;
    position: relative;
}

.cases-news-list .list-item:last-child {
    border-bottom: none;
}

.list-item-link {
    display: flex;
    align-items: flex-start;
    padding: 12px 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 -10px;
    overflow: visible;
    position: relative;
}

.list-item-link .item-image {
    margin-right: 16px;
}

.list-item-link:hover {
    background-color: #f8f9fa;
}

.item-image {
    flex-shrink: 0;
    width: 160px;
    height: 120px;
    overflow: visible;
    border-radius: 4px;
    background-color: #e0e0e0;
    position: relative;
    z-index: 1;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    transform-origin: center center;
    position: relative;
}

.item-image:hover {
    z-index: 10;
}

.item-image:hover img {
    transform: scale(2);
}

/* 移动端：取消悬停放大功能 */
@media screen and (max-width: 768px) {
    .item-image:hover img {
        transform: none;
    }
}

.item-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0e0e0;
    color: #999;
    font-size: 14px;
}

.item-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    align-items: flex-start;
}

.item-content-wrapper .item-title-row {
    margin-bottom: 8px;
}

.item-title-row {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5em;
    flex-wrap: nowrap;
}

.item-link {
    color: #333;
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 0 1 auto;
    min-width: 0;
    margin-right: 0;
}

.list-item-link:hover .item-link {
    color: #3498db;
}

.item-label {
    flex-shrink: 0;
    padding: 4px 12px;
    font-size: 14px;
    border-radius: 3px;
    font-weight: bold;
    white-space: nowrap;
    margin-left: 0;
    margin-right: auto;
}

.label-top {
    background-color: #e74c3c;
    color: #fff;
}

.label-latest {
    background-color: #3498db;
    color: #fff;
}

.item-date {
    font-size: 14px;
    color: #999;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 桌面端：隐藏标题行中的日期，在分类下方显示 */
.item-title-row .item-date-desktop {
    display: none;
}

.item-date-desktop {
    display: block;
}

/* 桌面端：在分类下方显示移动端日期元素，与分类左对齐 */
.item-meta-row .item-date-mobile {
    display: block;
    font-size: 14px;
    color: #999;
    white-space: nowrap;
    margin-top: 4px;
    margin-left: 0;
    align-self: flex-start;
}

.item-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    width: 100%;
    flex-direction: column;
}

.item-category {
    font-size: 14px;
    color: #3498db;
    padding: 2px 8px;
    background-color: #e3f2fd;
    border-radius: 3px;
    white-space: nowrap;
}

.label-top {
    background-color: #e74c3c;
    color: #fff;
}

.label-latest {
    background-color: #3498db;
    color: #fff;
}


/* 客户评价预览 */
.testimonials-preview {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* IE浏览器兼容：首页客户评价网格间距 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .testimonials-grid {
        display: block !important;
        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: hidden !important;
        zoom: 1 !important; /* IE6/7 hasLayout */
    }
    
    .testimonials-grid .testimonial-item {
        display: block !important;
        float: left !important;
        width: 30% !important;
        margin-right: 5% !important;
        margin-bottom: 30px !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
        min-height: 200px !important;
        height: auto !important;
    }
    
    /* IE浏览器：统一同一行卡片的高度 */
    .testimonials-grid .testimonial-item:nth-child(1),
    .testimonials-grid .testimonial-item:nth-child(2),
    .testimonials-grid .testimonial-item:nth-child(3) {
        min-height: 200px !important;
    }
    
    .testimonials-grid .testimonial-item:nth-child(4),
    .testimonials-grid .testimonial-item:nth-child(5),
    .testimonials-grid .testimonial-item:nth-child(6) {
        min-height: 200px !important;
    }
    
    /* IE浏览器：统一第二列（第2和第5个元素）的高度 */
    .testimonials-grid .testimonial-item:nth-child(2),
    .testimonials-grid .testimonial-item:nth-child(5) {
        min-height: 250px !important;
        height: auto !important;
    }
    
    /* IE浏览器：统一第三列（第3和第6个元素）的高度 */
    .testimonials-grid .testimonial-item:nth-child(3),
    .testimonials-grid .testimonial-item:nth-child(6) {
        min-height: 250px !important;
        height: auto !important;
    }
    
    /* 每3个元素后清除浮动，实现换行 */
    .testimonials-grid .testimonial-item:nth-child(3n) {
        margin-right: 0 !important;
    }
    
    .testimonials-grid .testimonial-item:nth-child(3n+1) {
        clear: left !important;
    }
    
    /* 最后一行不需要底部间距 */
    .testimonials-grid .testimonial-item:nth-last-child(-n+3) {
        margin-bottom: 0 !important;
    }
}

.ie8 .testimonials-grid,
.ie7 .testimonials-grid {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    zoom: 1; /* IE6/7 hasLayout */
}

.ie8 .testimonials-grid .testimonial-item,
.ie7 .testimonials-grid .testimonial-item {
    display: block;
    float: left;
    width: 30%;
    margin-right: 5%;
    margin-bottom: 30px;
    margin-left: 0;
    box-sizing: border-box;
    min-height: 200px;
    height: auto;
}

/* IE8/7：统一同一行卡片的高度 */
.ie8 .testimonials-grid .testimonial-item:nth-child(1),
.ie8 .testimonials-grid .testimonial-item:nth-child(2),
.ie8 .testimonials-grid .testimonial-item:nth-child(3),
.ie7 .testimonials-grid .testimonial-item:nth-child(1),
.ie7 .testimonials-grid .testimonial-item:nth-child(2),
.ie7 .testimonials-grid .testimonial-item:nth-child(3) {
    min-height: 200px;
}

.ie8 .testimonials-grid .testimonial-item:nth-child(4),
.ie8 .testimonials-grid .testimonial-item:nth-child(5),
.ie8 .testimonials-grid .testimonial-item:nth-child(6),
.ie7 .testimonials-grid .testimonial-item:nth-child(4),
.ie7 .testimonials-grid .testimonial-item:nth-child(5),
.ie7 .testimonials-grid .testimonial-item:nth-child(6) {
    min-height: 200px;
}

/* IE8/7：统一第二列（第2和第5个元素）的高度 */
.ie8 .testimonials-grid .testimonial-item:nth-child(2),
.ie8 .testimonials-grid .testimonial-item:nth-child(5),
.ie7 .testimonials-grid .testimonial-item:nth-child(2),
.ie7 .testimonials-grid .testimonial-item:nth-child(5) {
    min-height: 250px;
    height: auto;
}

/* IE8/7：统一第三列（第3和第6个元素）的高度 */
.ie8 .testimonials-grid .testimonial-item:nth-child(3),
.ie8 .testimonials-grid .testimonial-item:nth-child(6),
.ie7 .testimonials-grid .testimonial-item:nth-child(3),
.ie7 .testimonials-grid .testimonial-item:nth-child(6) {
    min-height: 250px;
    height: auto;
}

/* 每3个元素后清除浮动，实现换行 */
.ie8 .testimonials-grid .testimonial-item:nth-child(3n),
.ie7 .testimonials-grid .testimonial-item:nth-child(3n) {
    margin-right: 0;
}

.ie8 .testimonials-grid .testimonial-item:nth-child(3n+1),
.ie7 .testimonials-grid .testimonial-item:nth-child(3n+1) {
    clear: left;
}

/* 最后一行不需要底部间距 */
.ie8 .testimonials-grid .testimonial-item:nth-last-child(-n+3),
.ie7 .testimonials-grid .testimonial-item:nth-last-child(-n+3) {
    margin-bottom: 0;
}

.testimonial-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(52, 152, 219, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}

.testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    margin-right: 15px;
    overflow: hidden;
}

.testimonial-info {
    flex: 1;
    min-width: 0;
}

.testimonial-name-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    width: 100%;
}

.testimonial-name {
    font-size: 18px;
    color: #2c3e50;
    margin: 0;
    font-weight: 600;
    flex: 0 0 auto;
}

.testimonial-date {
    color: #999;
    font-size: 13px;
    margin: 0;
    line-height: 1.4;
    flex: 0 0 auto;
    text-align: right;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}
.testimonial-rating .star-icon {
    width: 90px;
    height: 18px;
    display: block;
    object-fit: contain;
}

.testimonial-rating .star {
    font-size: 18px;
    color: #ddd;
    line-height: 1;
}

.testimonial-rating .star.filled {
    color: #f39c12;
}

.testimonial-text {
    font-style: normal;
    color: #555;
    line-height: 1.8;
    padding: 0;
    background-color: transparent;
    border-left: none;
    font-size: 15px;
    position: relative;
    z-index: 1;
    margin: 0;
    flex: 1;
}

/* 服务详情 */
.service-detail {
    padding: 40px 0;
    background-color: #fff;
}

.service-item {
    margin-bottom: 20px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.service-content h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.service-content h3 {
    font-size: 20px;
    color: #34495e;
    margin: 20px 0 12px;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.service-content ul li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.service-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    display: table;
    margin: 20px 0;
    border-radius: 5px;
    overflow: hidden;
}

.service-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    /* 现代浏览器使用object-fit: contain，确保图片完整显示在容器中 */
}

.service-image-placeholder p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #999;
    font-size: 16px;
}

/* 案例展示 */
.cases-section {
    padding: 40px 0;
    background-color: #fff;
    margin-top: 30px;
}

.cases-grid {
    display: block;
    margin-top: 30px;
}

.case-item {
    display: table;
    width: 100%;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.case-image-placeholder {
    display: table-cell;
    width: 300px;
    height: 200px;
    background-color: #e0e0e0;
    vertical-align: middle;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.case-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.case-image-placeholder p {
    color: #999;
    font-size: 16px;
}

.case-content {
    display: table-cell;
    padding: 25px;
    vertical-align: top;
}

.case-content h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.case-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

.case-date {
    color: #999;
    font-size: 14px;
    margin-top: 15px;
}

.case-read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.case-read-more:hover {
    background-color: #2980b9;
    color: #fff;
}

.case-item:hover {
    box-shadow: 0 4px 20px rgba(52, 152, 219, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* 客户评价详情 */
.testimonials-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin-top: 0;
}

.testimonials-list {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

/* IE浏览器兼容：客户评价列表间距 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .testimonials-list {
        display: block !important;
        gap: 0 !important;
    }
    
    .testimonials-list .testimonial-card {
        margin-bottom: 25px !important;
    }
    
    .testimonials-list .testimonial-card:last-child {
        margin-bottom: 0 !important;
    }
}

.ie8 .testimonials-list,
.ie7 .testimonials-list {
    display: block;
    gap: 0;
}

.ie8 .testimonials-list .testimonial-card,
.ie7 .testimonials-list .testimonial-card {
    margin-bottom: 25px;
}

.ie8 .testimonials-list .testimonial-card:last-child,
.ie7 .testimonials-list .testimonial-card:last-child {
    margin-bottom: 0;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    margin-bottom: 0;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db 0%, #2980b9 100%);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #fff;
    border-radius: 8px;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.testimonial-info {
    padding-left: 0;
    flex: 1;
    min-width: 0;
}

.testimonial-info h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 8px;
    margin-top: 0;
    font-weight: 600;
}

.testimonial-date {
    color: #999;
    font-size: 14px;
    margin-bottom: 8px;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.testimonial-rating .star {
    font-size: 18px;
    color: #ddd;
    line-height: 1;
}

.testimonial-rating .star.filled {
    color: #f39c12;
}

.testimonial-text {
    color: #555;
    line-height: 1.8;
    font-size: 15px;
    position: relative;
    z-index: 1;
    font-style: normal;
    margin: 0;
}

/* 关于我们 */
.about-section {
    padding: 40px 0;
    background-color: #fff;
    margin-top: 30px;
}

.about-content {
    margin-bottom: 50px;
}

.about-content h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 25px;
}

.about-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    display: table;
    margin: 30px 0;
    border-radius: 5px;
    overflow: hidden;
}

.about-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-image-placeholder p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #999;
    font-size: 16px;
}

.timeline {
    margin-top: 40px;
}

.timeline-item {
    display: table;
    width: 100%;
    margin-bottom: 30px;
}

.timeline-year {
    display: table-cell;
    width: 120px;
    font-size: 20px;
    font-weight: bold;
    color: #3498db;
    vertical-align: top;
    padding-top: 5px;
}

.timeline-content {
    display: table-cell;
    padding-left: 30px;
    border-left: 3px solid #3498db;
    padding-left: 30px;
    vertical-align: top;
}

.timeline-content h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #666;
    line-height: 1.8;
}

.culture-grid {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin-top: 30px;
}

.culture-item {
    display: table-cell;
    padding: 30px 20px;
    text-align: center;
    vertical-align: top;
    background-color: #f8f9fa;
    margin: 0 10px;
    border-radius: 8px;
}

.culture-item h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.culture-item p {
    color: #666;
    line-height: 1.8;
}

.service-principles {
    margin-left: 30px;
    margin-top: 20px;
}

.service-principles li {
    color: #666;
    line-height: 2;
    font-size: 16px;
}

.team-image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e0e0e0;
    display: table;
    margin: 30px 0;
    border-radius: 5px;
    overflow: hidden;
}

.team-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-image-placeholder p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #999;
    font-size: 16px;
}

/* 新闻列表 */
.news-section {
    padding: 40px 0;
    background-color: #fff;
    margin-top: 30px;
}

.news-list {
    margin-top: 30px;
}

.news-item {
    display: table;
    width: 100%;
    margin-bottom: 20px;
    padding: 25px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}

.news-item:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.news-item-image {
    display: table-cell;
    width: 200px;
    height: 150px;
    background-color: #e0e0e0;
    vertical-align: middle;
    text-align: center;
    border-radius: 5px;
}

.news-item-image p {
    color: #999;
    font-size: 14px;
}

.news-item-content {
    display: table-cell;
    padding-left: 25px;
    vertical-align: top;
}

.news-item-content h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.news-item-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s;
}

.news-item-content h3 a:hover {
    color: #3498db;
}

.news-item-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-item-excerpt {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.news-item-more {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.news-item-more:hover {
    text-decoration: underline;
}

/* 分页 */
.pagination {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    box-sizing: border-box;
    vertical-align: middle;
}

.pagination a:hover {
    background-color: #3498db;
    color: #fff;
}

.pagination .active {
    background-color: #3498db;
    color: #fff;
}

.pagination .disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .ellipsis {
    padding: 10px 5px;
    margin: 0 2px;
    background-color: transparent;
    color: #999;
}

/* 新闻详情 */
.news-detail-section {
    padding: 40px 0;
    background-color: #fff;
}

.news-article {
    max-width: 900px;
    margin: 0 auto;
}

.news-image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #e0e0e0;
    display: table;
    margin: 30px 0;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}

.news-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.news-image-placeholder p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: #999;
    font-size: 16px;
}

.news-content {
    line-height: 1.8;
    color: #666;
}

.news-content h2 {
    font-size: 24px;
    color: #2c3e50;
    margin: 30px 0 15px;
}

.news-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.news-nav {
    margin-top: 50px;
    text-align: center;
}

/* 联系我们 */
.contact-section {
    padding: 40px 0;
    background-color: #fff;
    margin-top: 30px;
}

.contact-content {
    display: table;
    width: 100%;
    margin-bottom: 50px;
}

.contact-info {
    display: table-cell;
    width: 50%;
    padding-right: 30px;
    vertical-align: top;
}

.contact-info h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.contact-item h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.contact-item p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 5px;
}

.contact-form-wrapper {
    display: table-cell;
    width: 50%;
    padding-left: 30px;
    vertical-align: top;
}

.contact-form-wrapper h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
}

.contact-form {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.map-section {
    margin-top: 30px;
}

.map-section h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.map-container {
    width: 100%;
    height: 500px;
    background-color: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: table;
    text-align: center;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-placeholder p {
    display: table-cell;
    vertical-align: middle;
    color: #999;
    font-size: 16px;
    line-height: 2;
}

/* 地图导航按钮 */
.map-navigation {
    text-align: center;
    margin-top: 20px;
}

.nav-btn {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
    background-color: #2980b9;
}

.nav-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* 导航弹窗 */
.nav-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.nav-popup-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 0;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.nav-popup-header h3 {
    margin: 0;
    font-size: 20px;
    color: #2c3e50;
}

.nav-popup-close {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-popup-close:hover {
    color: #333;
}

.nav-options {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 1px solid #e0e0e0;
}

.nav-option:hover {
    background-color: #f5f5f5;
    border-color: #3498db;
}

.nav-option:active {
    background-color: #e8e8e8;
}

.nav-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 30px;
    text-align: center;
}

.nav-option span:last-child {
    font-size: 16px;
    font-weight: 500;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .nav-popup-content {
        width: 85%;
        max-width: none;
    }
    
    .nav-popup-header {
        padding: 15px;
    }
    
    .nav-popup-header h3 {
        font-size: 18px;
    }
    
    .nav-option {
        padding: 12px 15px;
    }
    
    .nav-icon {
        font-size: 20px;
        margin-right: 12px;
    }
    
    .nav-option span:last-child {
        font-size: 15px;
    }
}

/* 地图导航按钮 */
.map-navigation {
    text-align: center;
    margin-top: 20px;
}

.nav-btn {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.nav-btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* 导航弹窗 */
.nav-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.nav-popup-content {
    background-color: #fff;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.nav-popup-header h3 {
    margin: 0;
    font-size: 20px;
    color: #2c3e50;
}

.nav-popup-close {
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.nav-popup-close:hover {
    color: #e74c3c;
}

.nav-options {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.nav-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-option:hover {
    border-color: #3498db;
    background-color: #f0f8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.nav-option span:not(.nav-icon) {
    font-size: 16px;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-options {
        grid-template-columns: 1fr;
    }
    
    .nav-popup-content {
        width: 85%;
    }
}

/* 页脚 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 50px 0 20px;
    margin-top: 30px;
}

.footer-content {
    display: table;
    width: 100%;
    margin-bottom: 30px;
}

.footer-section {
    display: table-cell;
    width: 33.33%;
    padding: 0 20px;
    vertical-align: top;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* 友情链接栏 */
.footer-links {
    margin: 30px 0;
    padding: 20px 20px;
    border-top: 1px solid #34495e;
}

.footer-links h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
    text-align: left;
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px 25px;
}

.links-container a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.links-container a:hover {
    color: #3498db;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    color: #95a5a6;
    font-size: 14px;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    padding: 8px 12px;
    z-index: 1001;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: #17a2b8;
}

/* 返回顶部按钮 */
/* 右侧固定栏 */
.right-sidebar {
    position: fixed;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    z-index: 1000;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    border: 2px solid #17a2b8;
    border-top: 2px solid #17a2b8;
    border-left: 2px solid #17a2b8;
    border-right: 2px solid #17a2b8;
    border-bottom: 2px solid #17a2b8;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-radius: 0;
    overflow: visible;
    /* 外围容器的左上角和右上角有边框，无圆角，所有边框颜色一致为 #17a2b8 */
}

/* 折叠状态标题栏 */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    cursor: pointer;
    background-color: #fff;
    border: none;
    border-radius: 0;
    transition: background-color 0.3s;
    min-height: 50px;
    border-bottom: 1px solid rgba(224, 224, 224, 0.5);
    position: relative;
    /* 使用半透明的浅灰色分割线，不太明显 */
    /* 不添加边框，边框在外层容器 */
}

.sidebar-header:hover {
    background-color: #f8f9fa;
}

/* 折叠状态标题栏关闭按钮 */
.sidebar-header-close-btn {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    line-height: 16px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    cursor: pointer;
    background-color: #dc3545;
    border: none;
    border-radius: 50%;
    z-index: 1002;
    transition: all 0.3s;
    font-weight: bold;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-header-close-btn:hover {
    background-color: #c82333;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.sidebar-header-close-btn:active {
    transform: scale(0.95);
}

.sidebar-title {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #17a2b8;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl; /* IE9-11 */
    text-orientation: upright;
    letter-spacing: 0.1em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 折叠状态返回顶部按钮 - 默认隐藏 */
.sidebar-collapsed-backtotop {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    border-top: none;
    /* 移除上边框，分割线已经在sidebar-header的底部 */
}

/* 滚动后显示返回顶部按钮 */
.sidebar-collapsed-backtotop.show {
    display: flex;
}

.sidebar-collapsed-backtotop .back-to-top-hanging {
    margin-top: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

.sidebar-collapsed-backtotop .hanging-line-connector {
    display: none;
}

/* 展开内容区域 - 默认隐藏 */
.sidebar-content {
    display: none;
    position: relative;
}

/* 展开状态 */
.right-sidebar.expanded .sidebar-header {
    display: none;
}

.right-sidebar.expanded .sidebar-collapsed-backtotop {
    display: none;
}

.right-sidebar.expanded .sidebar-content {
    display: flex;
    flex-direction: column;
}

/* 展开状态下调整宽度 */
.right-sidebar.expanded {
    width: 130px;
}

/* 展开内容区域的关闭按钮 */
.sidebar-close-btn {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    font-size: 11px;
    color: #fff;
    cursor: pointer;
    background-color: #dc3545;
    border-radius: 50%;
    z-index: 1001;
    transition: all 0.3s;
    border: 1px solid #dc3545;
    font-weight: bold;
}

.sidebar-close-btn:hover {
    background-color: #c82333;
    color: #fff;
    border-color: #c82333;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* 顶部区域 */
.sidebar-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background-color: #fff;
    border-top: 2px solid #17a2b8;
    border-left: 2px solid #17a2b8;
    border-right: 2px solid #17a2b8;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    margin: -2px -2px 0 -2px;
    position: relative;
}

.consult-avatar-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.consult-avatar {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #17a2b8 0%, #138496 50%, #17a2b8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(23, 162, 184, 0.4);
}

.consult-avatar img {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.consult-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 20px;
    height: 20px;
    background-color: #e74c3c;
    border-radius: 50%;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    line-height: 20px;
    text-align: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.consult-btn-primary {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
    width: 100%;
    padding: 10px 8px;
    background-color: #ffd700;
    color: #000;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.consult-btn-primary:hover {
    background-color: #ffed4e;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.sidebar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.3s;
    text-align: center;
    position: relative;
    background-color: #fff;
    overflow: visible !important;
    z-index: 1;
}

.sidebar-item:hover {
    background-color: #f8f9fa;
}

.sidebar-item:last-of-type {
    border-bottom: none;
}

.sidebar-icon {
    font-size: 28px;
    margin-bottom: 8px;
    color: #17a2b8;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-icon img {
    width: 26px;
    height: 26px;
    object-fit: contain;
    display: block;
}

.wechat-icon {
    font-size: 26px;
}

.wechat-icon img {
    width: 26px;
    height: 26px;
}

.phone-icon {
    font-size: 26px;
}

.phone-icon img {
    width: 26px;
    height: 26px;
}

.after-sales-icon {
    font-size: 24px;
}

.after-sales-icon img {
    width: 24px;
    height: 24px;
}

.sidebar-text {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 展开状态下的文字横排显示 */
.sidebar-content .sidebar-text {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: normal;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.sidebar-desc {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "WenQuanYi Micro Hei", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    color: #666;
    line-height: 1.3;
    white-space: nowrap;
    flex-shrink: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* 展开状态下的描述文字横排显示 */
.sidebar-content .sidebar-desc {
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: normal;
    color: #555;
    font-weight: 400;
    font-size: 13px;
}


/* 返回顶部按钮 - 默认隐藏 */
.back-to-top-item {
    display: none;
}

.back-to-top-item.show {
    display: flex;
}

/* 返回顶部悬挂样式 */
.back-to-top-hanging {
    position: relative;
    margin-top: 15px;
    padding-top: 15px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: -5px;
}

.hanging-line-connector {
    width: 1px;
    height: 15px;
    background-color: #fff;
    margin-bottom: 3px;
}

.back-to-top-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-color: #17a2b8;
    border-radius: 50%;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    margin: -5px auto 0;
    padding: 0;
    gap: 0;
}

.back-to-top-btn:hover {
    background-color: #138496;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.back-to-top-icon {
    font-size: 16px;
    color: #fff;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    margin-bottom: 1px;
}

.back-to-top-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: block;
}

.back-to-top-text {
    font-size: 11px;
    color: #fff;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    height: auto;
    margin-top: 0;
}


/* 微信二维码 */
.wechat-qrcode {
    position: absolute;
    left: -220px;
    top: 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    padding: 20px;
    display: none !important;
    z-index: 10001;
    width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: none;
    white-space: nowrap;
}

.wechat-qrcode.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.qrcode-content {
    position: relative;
    text-align: center;
}

.qrcode-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 24px;
    height: 24px;
    background-color: #e74c3c;
    color: #fff;
    border-radius: 50%;
    line-height: 24px;
    text-align: center;
    cursor: pointer;
    font-size: 16px;
    z-index: 10002;
    transition: background-color 0.3s;
}

.qrcode-close:hover {
    background-color: #c0392b;
}

.qrcode-content h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
}

.qrcode-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 10px;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qrcode-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    /* 现代浏览器使用object-fit */
    /* IE浏览器会通过媒体查询覆盖这些样式 */
}

.qrcode-content p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.qrcode-placeholder {
    display: none;
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    width: 100%;
    height: 100%;
    /* 现代浏览器使用flex */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-sizing: border-box;
}

.qrcode-placeholder strong {
    font-size: 16px;
    color: #17a2b8;
    display: block;
    margin-top: 10px;
}

/* IE浏览器占位符兼容性修复 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .qrcode-placeholder {
        display: table-cell !important;
        vertical-align: middle !important;
        text-align: center !important;
    }
}

.ie8 .qrcode-placeholder,
.ie7 .qrcode-placeholder {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.service-chat {
    position: fixed;
    top: 50%;
    right: 90px;
    transform: translateY(-50%);
    width: 350px;
    max-width: calc(100vw - 200px);
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: none;
    z-index: 1001;
}

.service-chat.show {
    display: block;
}

.chat-header {
    background-color: #3498db;
    color: #fff;
    padding: 15px;
    border-radius: 10px 10px 0 0;
    display: table;
    width: 100%;
}

.chat-header h3 {
    display: table-cell;
    vertical-align: middle;
    font-size: 16px;
    margin: 0;
}

.chat-close {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    cursor: pointer;
    font-size: 20px;
    width: 30px;
}

.chat-body {
    padding: 15px;
    max-height: 400px;
    overflow-y: auto;
    min-height: 200px;
}

.chat-message {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.chat-message.service {
    background-color: #e3f2fd;
}

.chat-message .time {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
}

.chat-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 10px;
    resize: none;
}

.chat-send-btn {
    width: 100%;
    padding: 10px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.chat-send-btn:hover {
    background-color: #2980b9;
}

/* 响应式设计 - 兼容IE */
@media screen and (max-width: 1024px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
    
    .slide-content p {
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    
    .top-bar {
        display: block;
        padding: 6px 0;
        font-size: 12px;
    }
    
    .top-bar .container {
        width: 100%;
        padding: 0 10px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 5px;
    }
    
    .top-bar-left {
        flex: 0 0 auto;
        width: auto;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .top-bar-right {
        flex-shrink: 0;
        margin-left: auto;
        white-space: nowrap;
    }
    
    .top-bar-right a {
        font-size: 12px;
        padding: 2px 0;
        white-space: nowrap;
    }
    
    .top-bar-right a:before {
        font-size: 14px;
        margin-right: 3px;
    }
    
    .header {
        position: fixed;
        top: 37px;
    }
    
    .header .container {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        min-height: 50px;
    }
    
    .menu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: 15px;
        transform: translateY(-50%);
        background-color: rgba(0,0,0,0.2);
        border-radius: 4px;
        padding: 8px 12px;
        z-index: 1002;
    }
    
    .menu-toggle:active {
        background-color: rgba(0,0,0,0.4);
    }
    
    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-bottom: 0;
        width: 100%;
        height: 100%;
        flex: 1;
    }
    
    .logo a {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        text-align: center;
        height: 100%;
    }
    
    .logo img {
        display: block;
        margin: 0 auto;
        max-height: 50px;
        width: auto;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: calc(100% + 5px);
        right: 15px;
        width: auto;
        min-width: 200px;
        max-width: calc(100% - 30px);
        text-align: center;
        margin-top: 0;
        background-color: #2c3e50;
        border-radius: 5px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        z-index: 1003;
    }
    
    .nav.active {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav ul {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .nav ul li {
        display: block;
        margin: 0;
        border-bottom: 1px solid #34495e;
    }
    
    .nav ul li:last-child {
        border-bottom: none;
    }
    
    .nav ul li a {
        padding: 15px 20px;
        display: block;
        color: #fff;
        text-decoration: none;
        background-color: transparent;
        transition: background-color 0.3s ease;
        position: relative;
    }
    
    .nav ul li a:hover {
        background-color: #34495e;
    }
    
    .nav ul li a.active {
        background-color: #34495e;
    }
    
    .nav ul li a:active {
        background-color: #2c3e50;
    }
    
    /* 确保悬停效果在移动端也能正常工作 */
    .nav ul li a:focus {
        background-color: #34495e;
        outline: none;
    }
    
    .banner {
        height: 300px;
        margin-top: 92px;
    }
    
    .slide-content h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .prev-btn, .next-btn {
        padding: 10px 15px;
        font-size: 18px;
    }
    
    .page-header {
        padding: 30px 0;
        margin-top: 92px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    /* 缩小各板块之间的间距 */
    .advantages,
    .services-preview,
    .cases-news-section,
    .testimonials-preview,
    .cases-section,
    .testimonials-section,
    .about-section,
    .news-section,
    .news-detail-section,
    .contact-section {
        padding: 30px 0;
    }
    
    .company-stats {
        padding: 0;
    }
    
    .company-stats .container {
        padding: 20px 15px;
    }
    
    .company-stats .stats-wrapper {
        padding: 40px 15px;
        max-width: 100%;
    }
    
    /* 移动端客户评价样式 */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-item {
        padding: 25px 20px;
    }
    
    .testimonial-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-right: 12px;
    }
    
    .testimonial-name-row {
        margin-bottom: 6px;
    }
    
    .testimonial-name {
        font-size: 16px;
        margin: 0;
    }
    
    .testimonial-date {
        font-size: 12px;
        margin: 0;
    }
    
    .testimonial-rating .star {
        font-size: 16px;
    }
    
    .testimonial-rating .star-icon {
        width: 80px;
        height: 16px;
        object-fit: contain;
    }
    
    .testimonial-text {
        font-size: 14px;
    }
    
    .services-grid {
        margin-top: 20px;
    }
    
    .text-center {
        margin-top: 25px;
    }
    
    .cases-grid,
    .news-list {
        margin-top: 25px;
    }
    
    .case-item {
        margin-bottom: 15px;
    }
    
    .news-item {
        margin-bottom: 15px;
    }
    
    .service-item {
        margin-bottom: 15px;
        padding: 20px;
    }
    
    .contact-item {
        margin-bottom: 15px;
        padding: 20px;
    }
    
    .map-section {
        margin-top: 25px;
    }
    
    .about-content {
        margin-bottom: 25px;
    }
    
    .timeline {
        margin-top: 20px;
    }
    
    .timeline-item {
        margin-bottom: 15px;
    }
    
    .testimonial-card {
        margin-bottom: 15px;
        padding: 20px;
    }
    
    .testimonial-card {
        margin-bottom: 20px;
        padding: 20px;
    }
    
    .cases-news-grid {
        flex-direction: column;
    }
    
    .cases-news-col {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .cases-news-col:last-child {
        margin-bottom: 0;
    }
    
    .section-header-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .item-title-right {
        gap: 8px;
    }
    
    .item-label {
        font-size: 11px;
        padding: 3px 10px;
    }
    
    .item-date {
        font-size: 11px;
    }
    
    .cases-news-list .list-item {
        gap: 10px;
    }
    
    .list-item-link .item-image {
        margin-right: 10px;
    }
    
    .item-image {
        width: 120px;
        height: 90px;
    }
    
    .item-content-wrapper .item-title-row {
        margin-bottom: 6px;
        flex-wrap: wrap;
    }
    
    .item-title-row {
        gap: 0.5em;
    }
    
    .item-link {
        font-size: 13px;
        flex: 1 1 auto;
        min-width: 0;
        margin-right: 0;
    }
    
    /* 移动端：隐藏桌面端日期，显示移动端日期 */
    .item-title-row .item-date-desktop {
        display: none !important;
    }
    
    .item-meta-row {
        gap: 10px;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-category {
        font-size: 12px;
        padding: 2px 6px;
    }
    
    /* 移动端：在分类下方显示日期，左对齐 */
    .item-meta-row .item-date-mobile {
        display: block !important;
        font-size: 12px;
        color: #999;
        white-space: nowrap;
        margin-top: 4px;
        margin-left: 0;
        align-self: flex-start;
    }
    
    .item-meta-row .item-date-desktop {
        display: none !important;
    }
    
    .item-date {
        font-size: 12px;
    }
    
    .item-label {
        font-size: 10px;
        padding: 2px 6px;
        flex-shrink: 0;
        margin-left: 0.5em;
        margin-right: auto;
    }
    
    .advantages-grid,
    .services-grid,
    .stats-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .advantages-grid {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-spacing: 0;
    }
    
    .stats-grid {
        display: table;
        width: 100%;
        table-layout: fixed;
        border-spacing: 5px 0;
        border-collapse: separate;
    }
    
    .stat-item {
        display: table-cell;
        width: 25%;
        margin-bottom: 0;
        padding: 10px 5px;
        vertical-align: middle;
    }
    
    .stat-item:last-child {
        margin-bottom: 0;
    }
    
    .stat-number {
        font-size: 24px;
        line-height: 1.2;
    }
    
    .stat-label {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .culture-grid {
        display: block;
    }
    
    .advantage-item,
    .service-card,
    .testimonial-item,
    .culture-item {
        display: block;
        margin-bottom: 15px;
        width: 100%;
        padding: 20px 15px;
    }
    
    .testimonial-item {
        margin-bottom: 0;
    }
    
    .services-grid {
        border-spacing: 0;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .service-card {
        margin: 0 0 15px 0;
        width: 100%;
        padding: 25px 20px;
    }
    
    .case-item {
        display: block;
        margin-bottom: 15px;
    }
    
    .case-image-placeholder {
        display: block;
        width: 100%;
        height: auto;
        min-height: 200px;
        margin-bottom: 0;
    }
    
    .case-image-placeholder img {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 400px;
    }
    
    .case-content {
        display: block;
        padding: 15px;
    }
    
    .contact-content {
        display: block;
    }
    
    .contact-info,
    .contact-form-wrapper {
        display: block;
        width: 100%;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .footer-content {
        display: block;
    }
    
    .footer-section {
        display: block;
        width: 100%;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    /* 移动端友情链接栏样式 */
    .footer-links {
        margin: 20px 0;
        padding: 15px 10px;
    }
    
    .footer-links h3 {
        font-size: 16px;
        margin-bottom: 12px;
        text-align: left;
    }
    
    .links-container {
        gap: 10px 15px;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
    }
    
    .links-container a {
        font-size: 13px;
        padding: 5px 0;
    }
    
    /* 移动端右侧栏 */
    .right-sidebar {
        width: 75px;
        right: 5px;
    }
    
    .sidebar-item {
        padding: 12px 8px;
    }
    
    .sidebar-icon {
        font-size: 22px;
    }
    
    .sidebar-text {
        font-size: 12px;
        white-space: nowrap;
    }
    
    .sidebar-desc {
        font-size: 11px;
        white-space: nowrap;
    }
    
    .consult-avatar {
        width: 35px;
        height: 35px;
    }
    
    .consult-badge {
        width: 16px;
        height: 16px;
        font-size: 9px;
        line-height: 16px;
    }
    
    .sidebar-title {
        font-size: 13px;
    }
    
    .consult-btn-primary {
        white-space: nowrap;
        font-size: 13px;
    }
    
    .wechat-qrcode {
        left: -195px;
        right: auto;
        width: 180px;
        padding: 15px;
    }
    
    .qrcode-image {
        width: 130px;
        height: 130px;
    }
    
    .service-chat {
        width: calc(100vw - 80px);
        max-width: 320px;
        right: 70px;
    }
    
    .consult-btn {
        font-size: 11px;
        padding: 8px;
    }
    
    .news-item {
        display: block;
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .news-item-image {
        display: block;
        width: 100%;
        height: auto;
        min-height: 200px;
        margin-bottom: 12px;
    }
    
    .news-item-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 400px;
    }
    
    .news-item-content {
        display: block;
        padding-left: 0;
    }
    
    /* 移动端分页样式调整 */
    .pagination {
        margin-top: 30px;
        padding: 15px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .pagination a,
    .pagination span {
        padding: 8px 10px;
        margin: 0 3px;
        font-size: 14px;
        min-width: auto;
        white-space: nowrap;
    }
    
    .pagination a:first-child,
    .pagination span:first-child {
        margin-left: 0;
    }
    
    .pagination a:last-child,
    .pagination span:last-child {
        margin-right: 0;
    }
    
    .timeline-item {
        display: block;
    }
    
    .timeline-year {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .timeline-content {
        display: block;
        padding-left: 0;
        border-left: none;
        border-top: 3px solid #3498db;
        padding-top: 15px;
    }
    
    /* 移动端图片完整显示 */
    .service-image-placeholder,
    .about-image-placeholder,
    .team-image-placeholder,
    .news-image-placeholder {
        height: auto;
        min-height: 200px;
        max-height: none;
        margin: 20px 0;
    }
    
    .service-image-placeholder img,
    .about-image-placeholder img,
    .team-image-placeholder img,
    .news-image-placeholder img {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 500px;
    }
    
    .map-placeholder img {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 400px;
    }
    
    /* 列表项图片在移动端保持完整显示 */
    .item-image img {
        object-fit: contain;
    }
}

@media screen and (max-width: 480px) {
    .slide-content h2 {
        font-size: 20px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .page-header {
        padding: 20px 0;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    /* 小屏幕进一步缩小间距 */
    .advantages,
    .services-preview,
    .cases-news-section,
    .testimonials-preview {
        padding: 20px 0;
    }
    
    .company-stats {
        padding: 0;
    }
    
    .company-stats .container {
        padding: 20px 15px;
    }
    
    .company-stats .stats-wrapper {
        padding: 35px 20px;
        max-width: 100%;
    }
    
    .stats-grid {
        border-spacing: 3px 0;
    }
    
    .stat-item {
        padding: 8px 3px;
    }
    
    .stat-number {
        font-size: 20px;
        line-height: 1.2;
    }
    
    .stat-label {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .cases-section,
    .testimonials-section,
    .about-section,
    .news-section,
    .news-detail-section,
    .contact-section {
        padding: 20px 0;
    }
    
    .services-grid {
        margin-top: 15px;
    }
    
    .text-center {
        margin-top: 20px;
    }
    
    .cases-grid,
    .news-list {
        margin-top: 20px;
    }
    
    .case-item {
        margin-bottom: 20px;
    }
    
    .news-item {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .contact-item {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .map-section {
        margin-top: 20px;
    }
    
    .about-content {
        margin-bottom: 20px;
    }
    
    .timeline {
        margin-top: 20px;
    }
    
    .timeline-item {
        margin-bottom: 15px;
    }
    
    .testimonial-card {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .cases-news-col {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .case-content {
        padding: 15px;
    }
    
    .right-sidebar {
        width: 70px;
        right: 3px;
    }
    
    .sidebar-item {
        padding: 10px 6px;
    }
    
    .sidebar-icon {
        font-size: 20px;
    }
    
    .sidebar-text {
        font-size: 12px;
        white-space: nowrap;
    }
    
    .sidebar-desc {
        font-size: 10px;
        white-space: nowrap;
    }
    
    .consult-avatar {
        width: 30px;
        height: 30px;
    }
    
    .sidebar-title {
        font-size: 12px;
    }
    
    .consult-btn-primary {
        white-space: nowrap;
        font-size: 12px;
    }
    
    .wechat-qrcode {
        left: -175px;
        right: auto;
        width: 160px;
        padding: 12px;
    }
    
    .qrcode-image {
        width: 120px;
        height: 120px;
    }
    
    .service-chat {
        width: calc(100vw - 75px);
        max-width: 300px;
        right: 65px;
    }
    
    .consult-btn {
        font-size: 10px;
        padding: 6px;
    }
    
    /* 小屏幕分页样式 */
    .pagination {
        padding: 10px 0;
        margin-top: 20px;
    }
    
    .pagination a,
    .pagination span {
        padding: 6px 8px;
        margin: 0 2px;
        font-size: 12px;
    }
    
    /* 移动端隐藏省略号 */
    .pagination .ellipsis {
        display: none;
    }
    
    /* 小屏幕图片完整显示优化 */
    .service-image-placeholder,
    .about-image-placeholder,
    .team-image-placeholder,
    .news-image-placeholder,
    .case-image-placeholder {
        min-height: 150px;
    }
    
    .service-image-placeholder img,
    .about-image-placeholder img,
    .team-image-placeholder img,
    .news-image-placeholder img,
    .case-image-placeholder img,
    .news-item-image img {
        max-height: 350px;
    }
    
    .map-placeholder img {
        max-height: 300px;
    }
}

/* IE兼容性修复 */
.ie-fix {
    display: inline;
    zoom: 1;
}

/* IE浏览器兼容：在线客服折叠状态竖排文字显示 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .sidebar-title {
        -ms-writing-mode: tb-rl !important;
        writing-mode: tb-rl !important; /* IE兼容写法 */
        text-orientation: mixed !important; /* IE不支持upright，使用mixed */
        white-space: normal !important; /* IE中可能需要允许换行 */
        word-break: keep-all !important; /* 保持字符不换行 */
    }
    
    /* IE浏览器：置顶和最新按钮与文字增加一个字的距离 */
    .item-title-row {
        gap: 0.5em !important;
    }
    
    .item-link {
        margin-right: 0.5em !important;
    }
    
    .item-label {
        margin-left: 0.5em !important;
    }
}

/* IE8/7兼容：置顶和最新按钮与文字增加一个字的距离 */
.ie8 .item-title-row,
.ie7 .item-title-row {
    gap: 0.5em;
}

.ie8 .item-link,
.ie7 .item-link {
    margin-right: 0.5em;
}

.ie8 .item-label,
.ie7 .item-label {
    margin-left: 0.5em;
}

/* IE8/7兼容：使用字符换行实现竖排效果 */
.ie8 .sidebar-title,
.ie7 .sidebar-title {
    display: block;
    width: 20px;
    height: auto;
    white-space: normal;
    word-break: keep-all;
    line-height: 1.2;
    letter-spacing: 0;
    text-align: center;
    writing-mode: tb-rl;
    -ms-writing-mode: tb-rl;
}

/* IE浏览器图片兼容性修复 - 解决object-fit不支持导致的图片显示问题 */
/* 方案说明：IE不支持object-fit，使用绝对定位+transform居中，图片尽可能大填充容器，保持比例，类似object-fit: contain但尽可能大 */

/* IE9-11 使用媒体查询检测 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .news-image-placeholder {
        position: relative !important;
        overflow: hidden !important;
    }
    
    .news-image-placeholder img {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: auto !important;
        height: auto !important;
        /* 使用min确保至少填满一边，max确保不超出容器 */
        min-width: 100% !important;
        min-height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        -ms-transform: translate(-50%, -50%) !important;
        transform: translate(-50%, -50%) !important;
        /* 图片会尽可能大地填充容器，同时保持比例，不超出边界 */
    }
    
    /* 只对详情页的case-image-placeholder应用绝对定位 */
    /* 列表页的case-image-placeholder保持正常显示 */
    .case-detail-section .case-image-placeholder,
    .news-detail-section .case-image-placeholder {
        position: relative !important;
        overflow: hidden !important;
    }
    
    .case-detail-section .case-image-placeholder img,
    .news-detail-section .case-image-placeholder img {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: auto !important;
        height: auto !important;
        /* 使用min确保至少填满一边，max确保不超出容器 */
        min-width: 100% !important;
        min-height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        -ms-transform: translate(-50%, -50%) !important;
        transform: translate(-50%, -50%) !important;
        /* 图片会尽可能大地填充容器，同时保持比例，不超出边界 */
    }
    
    /* 列表页的case-image-placeholder保持正常显示 */
    .cases-section .case-image-placeholder {
        position: relative !important;
        overflow: hidden !important;
        display: table-cell !important;
        vertical-align: middle !important;
        text-align: center !important;
    }
    
    .cases-section .case-image-placeholder img {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        /* 列表页图片正常显示 */
    }
    
    /* 服务介绍页面的service-image-placeholder IE兼容性修复 */
    .service-image-placeholder {
        position: relative !important;
        overflow: hidden !important;
        height: 400px !important;
        /* IE浏览器中增加图片高度以提升美观度 */
    }
    
    .service-image-placeholder img {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        width: auto !important;
        height: auto !important;
        /* 使用min确保至少填满一边，max确保不超出容器，尽可能大地填充容器 */
        min-width: 100% !important;
        min-height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        -ms-transform: translate(-50%, -50%) !important;
        transform: translate(-50%, -50%) !important;
        /* 图片会尽可能大地填充容器，同时保持比例，不超出边界 */
    }
}

/* IE8及以下版本兼容 - 使用条件注释配合的类名 */
/* 注意：需要在HTML的<head>中添加条件注释来添加ie8类名 */
.ie8 .news-image-placeholder,
.ie7 .news-image-placeholder {
    position: relative;
    overflow: hidden;
}

.ie8 .news-image-placeholder img,
.ie7 .news-image-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: 150%;
    max-height: 150%;
    /* IE8不支持transform，使用margin来部分居中 */
    margin: 0 auto;
}

/* IE8服务介绍页面 */
.ie8 .service-image-placeholder,
.ie7 .service-image-placeholder {
    position: relative;
    overflow: hidden;
    height: 400px;
    /* IE8/7浏览器中增加图片高度以提升美观度 */
}

.ie8 .service-image-placeholder img,
.ie7 .service-image-placeholder img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: auto;
    /* 使用min确保至少填满一边，max确保不超出容器，尽可能大地填充容器 */
    min-width: 100%;
    min-height: 100%;
    max-width: 100%;
    max-height: 100%;
    /* IE8不支持transform，使用margin来部分居中 */
    margin: 0 auto;
    /* IE8/7兼容：图片尽可能大地填充容器，保持比例，不超出边界 */
}

/* IE8详情页 */
.ie8 .case-detail-section .case-image-placeholder,
.ie7 .case-detail-section .case-image-placeholder,
.ie8 .news-detail-section .case-image-placeholder,
.ie7 .news-detail-section .case-image-placeholder {
    position: relative;
    overflow: hidden;
}

.ie8 .case-detail-section .case-image-placeholder img,
.ie7 .case-detail-section .case-image-placeholder img,
.ie8 .news-detail-section .case-image-placeholder img,
.ie7 .news-detail-section .case-image-placeholder img {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    min-width: 100%;
    min-height: 100%;
    max-width: 150%;
    max-height: 150%;
    margin: 0 auto;
}

/* IE8列表页保持正常显示 */
.ie8 .cases-section .case-image-placeholder,
.ie7 .cases-section .case-image-placeholder {
    position: relative;
    overflow: hidden;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.ie8 .cases-section .case-image-placeholder img,
.ie7 .cases-section .case-image-placeholder img {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

/* IE浏览器微信二维码图片兼容性修复 */
/* IE9-11 使用媒体查询检测 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .qrcode-image {
        display: block !important;
        text-align: center !important;
        line-height: 150px !important;
        /* IE不支持flex，使用block和line-height居中 */
    }
    
    .qrcode-image img {
        display: inline-block !important;
        width: auto !important;
        height: auto !important;
        max-width: 150px !important;
        max-height: 150px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        vertical-align: middle !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1 !important;
        /* 覆盖基础样式中的width和height */
        /* IE不支持object-fit，使用max-width/max-height保持比例 */
        /* 强制显示图片 */
    }
    
    /* 确保图片在IE中显示 - 使用更具体的选择器 */
    .wechat-qrcode .qrcode-image img,
    .qrcode-content .qrcode-image img {
        display: inline-block !important;
        width: auto !important;
        height: auto !important;
        max-width: 150px !important;
        max-height: 150px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* IE8及以下版本兼容 */
.ie8 .qrcode-image,
.ie7 .qrcode-image {
    display: block;
    text-align: center;
    line-height: 150px;
}

.ie8 .qrcode-image img,
.ie7 .qrcode-image img {
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    max-width: 150px !important;
    max-height: 150px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    vertical-align: middle !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 打印样式 */
@media print {
    .header,
    .footer,
    .slider-controls,
    .slider-dots,
    .btn {
        display: none;
    }
    
    body {
        background-color: #fff;
    }
}



