/* 修复后的导航栏样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 链接样式 */
a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #004080;
}

/* 内容标题下划线装饰 - 适用于所有页面 */
.table-content-title {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.table-content-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background-color: #ffcc00;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #004080;
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* 顶部图片区域样式 - 统一高度，确保所有页面一致 */
.top-images {
    background-color: white;
    height: 100px !important;
    min-height: 100px !important;
    max-height: 100px !important;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    overflow: hidden;
}

.top-images-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.top-image {
    max-height: 80px;
    object-fit: contain;
}

.logo1 {
    margin-right: auto;
}

.logo2 {
    margin-left: auto;
}

/* 汉堡菜单按钮样式 */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 15px;
    z-index: 1100;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #0066cc;
    position: relative;
    transition: background-color 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #0066cc;
    transition: transform 0.3s ease;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

/* 移动端汉堡菜单按钮 - 移除蓝色背景，使用透明背景 */
@media (max-width: 991px) {
    .menu-toggle {
        background-color: transparent !important;
        border-radius: 0 !important;
        padding: 10px !important;
    }
    
    .menu-icon,
    .menu-icon::before,
    .menu-icon::after {
        background-color: #0066cc !important;
    }
}

/* Header 样式 */
.header {
    position: relative;
    background-color: #0066cc;
}

.header-top {
    padding: 0;
    background-color: #0066cc;
    color: white;
    position: relative;
    z-index: 1000;
}

.header-top .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-top-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    max-height: 50px;
}

.company-name {
    font-size: 18px;
    font-weight: bold;
    color: white;
    white-space: nowrap;
}

.contact-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: white;
}

/* 导航栏样式 - 固定高度版本 */
.header .nav-bar {
    background-color: #0066cc !important;
    position: relative;
    z-index: 900;
    border-top: none;
    height: 56px !important; /* 固定导航栏高度 */
    display: flex;
    align-items: center;
    padding: 0 20px;
    min-height: 56px !important;
    max-height: 56px !important;
}

.nav-menu {
    display: flex;
    list-style: none;
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* 导航项之间的灰色竖线分隔 */
.nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background-color: #888;
    opacity: 0.5;
}

.nav-link {
    display: block;
    padding: 15px 58px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    background-color: #0052a3 !important;
    color: white !important;
}

/* Table页面样式 - 用于关于我们、产品服务、新闻中心、工程案例的子页面 */
.table-container {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.table-sidebar {
    width: 200px;
    background-color: #f8f9fa;
    float: left;
}

.table-sidebar-title {
    background-color: #0066cc;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
}

.table-sidebar-menu {
    list-style: none;
}

.table-sidebar-item {
    border-bottom: 1px solid #e0e0e0;
}

.table-sidebar-link {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.table-sidebar-link:hover {
    background-color: #0066cc;
    color: white;
}

.table-content {
    margin-left: 220px;
    padding: 30px;
}

/* 表格样式 */
.specifications-table {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.cases-table {
    width: 100%;
    border-collapse: collapse;
}

.cases-table th,
.cases-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.cases-table th {
    background-color: #0066cc;
    color: #fff;
    font-weight: 500;
}

.cases-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.cases-table tr:hover {
    background-color: #e9ecef;
}

.table-content-title {
    font-size: 28px;
    color: #0056b3;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0066cc;
    position: relative;
}

.table-content-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 60px;
    height: 3px;
    background-color: #ffcc00;
}

/* 统一侧边导航标题样式 - 适用于产品服务、新闻中心等使用side-nav结构的页面 */
.side-nav h3 {
    background-color: #0066cc;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    margin-top: 0;
}

/* 统一页面标题样式 - 确保所有页面标题样式一致 */
.content-main .page-title {
    font-size: 24px;
    color: #0066cc;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

/* 下拉菜单样式 - 统一版本 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0066cc;
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    min-width: 180px;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.dropdown-item:hover {
    background-color: #004080 !important;
    color: white !important;
}

/* 新闻分类选中状态样式 */
.dropdown-item.active {
    background-color: #0066cc !important;
    color: white !important;
    font-weight: bold !important;
}

.dropdown-item.active:hover {
    background-color: #004085 !important;
    color: white !important;
}

/* 轮播图样式 */
.banner {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border-top: none !important;
}

/* 确保header和banner之间没有间隙 */
.header {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.header-top {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.header-top-content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* 移除可能导致间隙的任何边距或填充 */
.header + .banner {
    margin-top: -4px !important;
}

/* 确保body和html没有额外的边距和填充 */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* 确保container不会导致额外的间隙 */
.container {
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* 确保nav-bar不会导致额外的间隙 */
.nav-bar {
    margin: 0 !important;
    padding: 0 !important;
}

.banner-slider {
    width: 100%;
    height: 100%;
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.banner-item.active {
    opacity: 1;
    z-index: 10;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.prev-btn, .next-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
    background-color: white;
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

/* 页脚样式 - 统一高度并减小 */
.footer {
    background-color: #333;
    color: white;
    padding: 25px 0 15px; /* 减小页脚高度 */
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 20px; /* 减小间距 */
}

.footer-column h3 {
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-bottom {
    padding-top: 15px; /* 减小内边距 */
    border-top: 1px solid #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 14px;
    color: #ccc;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* 首页主内容区样式 */
/* 公司简介与服务承诺样式 */
.intro-section {
    background-color: white;
    padding: 40px 0;
}

.intro-content {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.intro-left {
    width: 100%;
    text-align: left;
    display: block;
    margin: 0 auto;
}

.intro-text {
    margin-top: 20px;
    text-align: left;
    color: #333;
    font-size: 18px;
    width: 100%;
    display: block;
    margin: 20px auto 0;
}

.intro-section .section-header {
    text-align: center;
    margin-bottom: 30px;
    width: 100%;
    display: block;
    margin: 0 auto 30px;
}

.intro-section .section-title {
    color: #0066cc;
    font-size: 28px;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    text-align: center;
    margin: 0 auto 15px;
}

.intro-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

.intro-text p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #333;
}

.service-promise {
    flex: 1;
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 5px;
}

.service-promise h3 {
    color: #0066cc;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

.promise-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.promise-icon {
    color: #0066cc;
    margin-right: 15px;
    font-size: 20px;
}

.promise-text {
    flex: 1;
}

/* 服务项目样式 */
.services-section {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    color: #0066cc;
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

.section-header p {
    color: #666;
    font-size: 16px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-info {
    padding: 20px;
}

.service-info h3 {
    color: #0066cc;
    font-size: 20px;
    margin-bottom: 15px;
}

.service-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.more-btn {
    display: block;
    text-align: center;
    margin-top: 30px;
}

/* 新闻动态样式 */
.news-section {
    padding: 40px 0;
    background-color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-info {
    padding: 20px;
}

.news-info h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    height: 50px;
    overflow: hidden;
}

.news-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 15px;
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
    height: 80px;
    overflow: hidden;
}

.view-more-link {
    text-align: right;
    margin-top: 20px;
}

.view-more-link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.view-more-link a:hover {
    text-decoration: underline;
}

/* 工程案例样式 */
.cases-section {
    padding: 40px 0;
    background-color: #f5f5f5;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-item {
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
}

.case-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.case-info {
    padding: 15px;
    text-align: center;
}

.case-info h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

/* 荣誉资质样式 */
.qualifications-section {
    padding: 40px 0;
    background-color: white;
}

.qualifications-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.qualifications-container {
    display: flex;
    transition: transform 0.5s ease;
}

.qualification-item {
    min-width: 20%;
    padding: 0 10px;
    transition: transform 0.3s ease;
}

.qualification-item:hover {
    transform: scale(1.05);
    z-index: 20;
}

.qualification-item img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qualification-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
}

.qualification-prev, .qualification-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 102, 204, 0.8);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.qualification-prev:hover, .qualification-next:hover {
    background-color: #0066cc;
}

/* 合作伙伴样式 */
.partners-section {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    justify-content: center;
}

.partner-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-width: 180px;
    max-width: 220px;
    min-height: 240px;
    flex: 1;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.partner-item img {
    width: 200px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.partner-item:hover img {
    transform: scale(1.05);
}

.partner-item p {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin: 0;
    padding-top: 15px;
    padding-bottom: 5px;
    border-top: 2px solid #f0f0f0;
    transition: color 0.3s ease;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.partner-item:hover p {
    color: #0066cc;
}

/* 新的合作伙伴样式 */
.partners-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px 0;
    justify-items: center;
}

.partner-item-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: white;
    padding: 20px;
    width: 100%;
    max-width: 250px;
    height: 180px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    overflow: hidden;
}

.partner-item-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.partner-item-new img {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: contain;
    background-color: white;
}

.partner-item-new p {
    display: none;
}

/* 联系我们样式 */
.contact-section {
    padding: 40px 0;
    background-color: #f5f5f5;
    color: #333;
    position: relative;
}

.contact-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-left {
    width: 100%;
    max-width: 100%;
}

.contact-right {
    width: 100%;
    max-width: 100%;
}

.contact-left h3,
.contact-right h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #0066cc;
    font-weight: 600;
}

.contact-info {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.qrcode-container {
    flex-shrink: 0;
}

.qrcode {
    width: 120px;
    height: 120px;
    border: 1px solid #eee;
    padding: 5px;
    border-radius: 4px;
}

.contact-details {
    flex: 1;
}

.company-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.contact-item {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.contact-label {
    font-weight: bold;
    color: #666;
    margin-right: 8px;
}

.contact-value {
    color: #333;
}

/* 联系表单样式 */
.contact-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    padding: 12px 30px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background-color: #004080;
}

/* 手机端适配样式 */
@media (max-width: 991px) {
    .contact-section {
        /* 移除fixed定位，使用min-height确保占满视口 */
        min-height: 100vh;
        padding: 0;
        margin: 0;
        background-color: #f5f5f5;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .contact-section .container {
        width: 100%;
        padding: 60px 15px 30px;
        max-width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .section-header {
        margin-bottom: 20px;
        text-align: center;
    }
    
    /* 确保标题居中且突出 */
    .section-header .section-title {
        font-size: 24px;
        color: #0066cc;
        margin-bottom: 5px;
    }
    
    .section-header .section-subtitle {
        font-size: 14px;
        color: #666;
        margin-top: 10px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 20px;
        flex: 1;
        display: flex;
    }
    
    .contact-left {
        width: 100%;
        margin-bottom: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }
    
    /* 确保联系信息部分占满宽度 */
    .contact-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        box-sizing: border-box;
    }
    
    .contact-details {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
    
    .contact-right {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    /* 确保表单占满宽度 */
    .contact-form {
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group {
        width: 100%;
        box-sizing: border-box;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info {
        background-color: white;
        box-shadow: none;
        min-height: 400px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        border: 1px solid #e0e0e0;
        flex: 1;
    }
    
    .qrcode-container {
        margin-bottom: 15px;
    }
    
    .qrcode {
        width: 140px;
        height: 140px;
        margin: 0 auto;
        border: 2px solid #e0e0e0;
        padding: 8px;
        background-color: white;
    }
    
    .contact-details {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }
    
    .contact-left h3,
    .contact-right h3 {
        font-size: 20px;
        margin: 0 0 15px 0;
        padding: 12px 0;
        text-align: center;
        color: #0066cc;
        font-weight: bold;
        background-color: rgba(0, 102, 204, 0.1);
        border-radius: 6px;
        border: 1px solid #0066cc;
    }
    
    .contact-form {
        padding: 25px;
        border-radius: 8px;
        background-color: white;
        border: 1px solid #e0e0e0;
        margin: 0;
        width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 400px;
    }
    
    .form-group {
        margin-bottom: 20px;
        width: 100%;
    }
    
    .form-group label {
        font-size: 16px;
        margin-bottom: 8px;
        color: #333;
        font-weight: 600;
        display: block;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 15px 15px;
        font-size: 16px;
        border-radius: 6px;
        border: 1px solid #ddd;
        background-color: white;
        box-sizing: border-box;
        height: 50px;
    }
    
    .form-group textarea {
        min-height: 150px;
        resize: vertical;
        height: auto;
    }
    
    .submit-btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 18px;
        font-weight: bold;
        height: 50px;
        background-color: #0066cc;
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        margin-top: auto;
    }
    
    .contact-item {
        font-size: 16px;
        margin-bottom: 12px;
        line-height: 1.6;
        width: 100%;
        text-align: left;
        padding: 8px 12px;
        background-color: rgba(0, 0, 0, 0.02);
        border-radius: 4px;
    }
    
    .company-name {
        font-size: 18px;
        margin-bottom: 15px;
        font-weight: bold;
        color: #333;
        padding: 12px;
        background-color: rgba(0, 102, 204, 0.05);
        border-radius: 6px;
        border-bottom: 2px solid #0066cc;
    }
    
    .contact-label {
        font-weight: bold;
        color: #666;
        margin-right: 8px;
        min-width: 80px;
        display: inline-block;
    }
    
    .contact-value {
        color: #333;
        font-size: 16px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .contact-section {
        min-height: 100vh;
        height: auto;
    }
    
    .contact-section .container {
        padding: 30px 15px;
        min-height: 100vh;
    }
    
    .contact-info,
    .contact-form {
        padding: 25px 15px;
        min-height: 350px;
    }
    
    .contact-left h3,
    .contact-right h3 {
        font-size: 18px;
        margin: 0 0 15px 0;
        padding: 10px 0;
    }
    
    .qrcode {
        width: 100px;
        height: 100px;
        padding: 6px;
    }
    
    .contact-item {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .company-name {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .submit-btn {
        padding: 12px 20px;
        font-size: 16px;
        height: 45px;
    }
}

/* .contact-right 样式已在前面定义 */

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    color: #666;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: normal;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.submit-btn {
    background-color: #0066cc;
    color: white;
    border: none;
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #0052a3;
}

/* ===================== 响应式设计（移动端适配） ===================== */

/* 小屏幕设备（平板，768px以下） */
@media (max-width: 768px) {
    /* 容器宽度调整 */
    .container {
        padding: 0 15px !important;
    }
    
    /* 顶部图片区域适配 */
    .top-images {
        height: 60px;
    }
    
    .top-images-content {
        justify-content: center;
        position: relative;
    }
    
    .logo1 {
        max-height: 50px;
        width: 100%;
        max-width: 280px;
        margin-right: 0;
        margin-left: 0;
    }
    
    .logo2, .phone, .phone-number {
        display: none;
    }
    
    /* 显示汉堡菜单按钮 - 调整到屏幕顶部右上角与logo水平对齐 */
    .menu-toggle {
        display: block;
        position: fixed;
        right: 15px;
        top: 15px;
        z-index: 1100;
    }
    
    /* 汉堡菜单图标改为灰色 */
    .menu-icon,
    .menu-icon::before,
    .menu-icon::after {
        background-color: #666;
    }
    
    /* 导航栏适配 */
    .header-top-content {
        flex-direction: column;
        gap: 0;
        position: relative;
    }
    
    .nav-bar {
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }
    
    .nav-bar.open {
        height: auto;
    }
    
    .nav-menu {
        flex-direction: column;
        height: auto;
        width: 100%;
        background-color: #0066cc;
        padding: 0;
        margin: 0;
    }
    
    .nav-item {
        width: 100%;
        height: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* 移除导航项之间的分隔线 */
    .nav-item:not(:last-child)::after {
        display: none;
    }
    
    .nav-link {
        justify-content: center;
        padding: 15px;
        text-align: center;
        width: 100%;
    }
    
    /* 下拉菜单适配 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        width: 100%;
        background-color: rgba(0, 102, 204, 0.9);
        display: none;
        padding: 0;
        margin: 0;
        box-shadow: none;
    }
    
    .nav-item.dropdown.open .dropdown-menu {
        display: block;
    }
    
    .dropdown-item {
        text-align: center;
        padding: 12px 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    /* 轮播图适配 */
    .banner {
        height: 200px;
    }
    
    .banner-controls {
        padding: 0 10px;
    }
    
    .prev-btn, .next-btn {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
    
    /* 内容区布局适配 */
    .intro-content,
    .contact-content {
        flex-direction: column;
        gap: 30px;
    }
    
    /* 公司简介响应式优化 */
    .intro-section .section-header {
        margin-bottom: 20px;
        text-align: center;
        width: 100%;
        display: block;
    }
    
    .intro-section .section-title {
        font-size: 24px;
        color: #0066cc;
        margin-bottom: 15px;
        display: inline-block;
        position: relative;
        text-align: center;
    }
    
    .intro-section .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background-color: #0066cc;
    }
    
    .intro-text {
        font-size: 16px;
        padding: 0 10px;
        text-align: left;
        margin: 15px auto 0;
        display: block;
        width: 100%;
    }
    
    .intro-content, .intro-left {
        width: 100%;
        text-align: left;
        display: block;
    }
    
    .services-grid,
    .news-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    /* 页脚适配 - 统一高度并减小 */
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    /* 表格页面适配 */
    .table-sidebar {
        width: 100%;
        float: none;
        margin-bottom: 20px;
    }
    
    .table-content {
        margin-left: 0;
        padding: 20px;
    }
}

/* 移动设备（手机，480px以下） */
@media (max-width: 480px) {
    /* 进一步调整容器边距 */
    .container {
        padding: 0 10px !important;
    }
    
    /* 导航栏进一步适配 */
    .contact-info {
        flex-direction: column;
        gap: 10px;
        font-size: 12px;
    }
    
    /* 内容区进一步适配 */
    .services-grid,
    .news-grid,
    .cases-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    /* 页脚进一步适配 - 统一高度并减小 */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 轮播图高度调整 */
    .banner {
        height: 150px;
    }
    
    /* 表格内容区进一步调整 */
    .table-content {
        padding: 15px;
    }
    
    .table-content-title {
        font-size: 20px;
    }
    
    /* 联系信息适配 */
    .contact-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .qrcode {
        width: 100px;
        height: 100px;
    }
    
    /* 表单元素适配 */
    .form-group input,
    .form-group textarea {
        padding: 8px;
        font-size: 13px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 12px;
    }
    
    /* 标题大小适配 */
    .intro-section h2,
    .section-header h2 {
        font-size: 24px;
    }
    
    .service-promise h3,
    .service-info h3,
    .news-info h3,
    .case-info h3 {
        font-size: 18px;
    }
    
    /* 段落文本适配 */
    .intro-text p,
    .service-info p,
    .news-info p {
        font-size: 14px;
        line-height: 1.6;
    }
}