/* 全站顶栏 */
.header {
    background: var(--dark-blue);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px; /* 增加顶栏高度，为更大的logo留出空间 */
    padding: 0 40px;
}

.logo {
    height: 80px; /* 降低一些logo高度，避免移动端显示过大 */
    max-width: 600px; /* 增加最大宽度 */
    display: flex;
    align-items: center; /* 确保logo垂直居中 */
}

.logo img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 使logo显示为白色 */
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav > ul {
    display: flex;
    gap: 50px; /* 增加导航项之间的间距 */
}

.main-nav li {
    position: relative;
}

.main-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1.05rem; /* 增大字体尺寸 */
    padding: 12px 0; /* 恢复原来的内边距 */
    transition: all 0.3s ease;
    letter-spacing: 0.5px; /* 添加字母间距增强可读性 */
    text-transform: uppercase; /* 导航文字大写显示更大气 */
    display: inline-block;
}

/* 移除底部边框动画 */
.main-nav a::before {
    display: none;
}

/* 移除下划线效果 */
.main-nav a::after {
    display: none;
}

.main-nav a:hover, 
.main-nav a.active {
    color: var(--accent-color); /* 使用亮蓝色作为悬停颜色 */
    transform: translateY(-2px); /* 保留轻微上浮效果 */
}

/* 下拉菜单样式 */
.has-dropdown:hover .dropdown,
.has-dropdown-level2:hover .dropdown-level2,
.has-dropdown-level3:hover .dropdown-level3 {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 移除下拉菜单箭头 */
.has-dropdown > a:after,
.has-dropdown-level2 > a:after,
.has-dropdown-level3 > a:after {
    display: none;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--dark-blue);
    min-width: 120px; /* 下拉宽度 */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 10;
    border-top: 3px solid var(--accent-color);
    padding: 15px 0;
}

/* 二级下拉菜单 */
.dropdown-level2 {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--dark-blue);
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 0 8px 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
    z-index: 11;
    border-left: 3px solid var(--accent-color);
    padding: 15px 0;
}

/* 三级下拉菜单 */
.dropdown-level3 {
    position: absolute;
    top: 0;
    left: 100%;
    background: var(--dark-blue);
    min-width: 120px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 0 8px 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.3s ease;
    z-index: 12;
    border-left: 3px solid var(--accent-color);
    padding: 15px 0;
}

.dropdown ul {
    width: 100%;
}

.dropdown li {
    margin: 0;
}

.dropdown a {
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 25px;
    display: block;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 400;
    border-left: 3px solid transparent;
}

.dropdown a:hover,
.dropdown-level2 a:hover,
.dropdown-level3 a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-color);
    border-left: 3px solid var(--accent-color);
}

.dropdown a::after,
.dropdown-level2 a::after,
.dropdown-level3 a::after {
    display: none;
}

/* 二级和三级菜单项指示器 */
.has-dropdown-level2 > a:after,
.has-dropdown-level3 > a:after {
    content: '\f054'; /* 右箭头图标 */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 0.7rem;
    float: right;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
}

/* 全局样式 */
:root {
    --primary-color: #0057b8;
    --secondary-color: #00a2ff;
    --accent-color: #00e5ff;
    --dark-blue: #003366;
    --light-blue: #e6f7ff;
    --gradient-blue: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --text-color: #333333;
    --light-text: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #888888;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.text-left {
    text-align: left;
}

.text-left h2::after {
    left: 0;
    transform: none;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-blue);
    color: var(--light-text);
    border-radius: 30px;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 87, 184, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 87, 184, 0.4);
    color: var(--light-text);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--light-text);
    box-shadow: 0 4px 15px rgba(0, 87, 184, 0.3);
}

.read-more {
    font-weight: 500;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.read-more:hover {
    gap: 10px;
}

/* 幻灯轮换大图 */
.slider {
    margin-top: 100px;
    position: relative;
    height: 950px;
    overflow: hidden;
}

.slides {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-text);
    width: 80%;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.prev-slide,
.next-slide {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.prev-slide:hover,
.next-slide:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slide-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--light-text);
    transform: scale(1.2);
}

/* 公司动态 */
.news-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.news-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

/* 响应式设计 - 企业动态部分 */
@media (max-width: 1200px) {
    .news-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 992px) {
    .news-row {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    
    .news-img-box {
        margin-bottom: 40px;
    }
    
    .news-img-box .img {
        height: 300px;
    }
}

/* 左侧图片模块 */
.news-img-box {
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-img-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-img-box .img {
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    width: 100%;
    height: 350px;
    margin-bottom: 0;
}

.news-img-box .img.scale img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block; /* 添加display:block消除图片底部空白 */
}

.news-img-box:hover .img.scale img {
    transform: scale(1.05);
}

/* 右侧文字模块 */
.news-text-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 新闻项通用样式 */
.news-item {
    display: flex;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
}

.news-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 日期区域 */
.news-item dt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    min-width: 90px;
    text-align: center;
}

.news-item dt em {
    font-style: normal;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.news-item dt b {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.8;
}

/* 内容区域 */
.news-item dd {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item dd a {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item dd a:hover {
    color: var(--secondary-color);
}

.news-item dd p {
    color: var(--dark-gray);
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 特殊处理左侧大卡片的新闻项 */
.news-img-box .news-item {
    margin: 0;
    box-shadow: none;
    background: transparent;
    flex: 1;
    display: flex;
    border-radius: 0 0 10px 10px; /* 确保只有底部有圆角 */
    overflow: hidden;
    transition: var(--transition); /* 确保过渡效果一致 */
}

/* 覆盖一般新闻项悬停效果，确保左侧大卡片的新闻项不单独变化 */
.news-img-box .news-item:hover {
    transform: none; /* 取消自身的位移效果 */
    box-shadow: none; /* 取消自身的阴影效果 */
}

/* 确保整个news-img-box的悬停状态下子元素不单独变化 */
.news-img-box:hover .news-item {
    /* 与父元素一起移动，不需要单独设置transform */
    box-shadow: none; /* 保持无阴影 */
}

.news-img-box .news-item dt {
    padding: 10px;
    border-radius: 0; /* 移除时间框上方的圆角 */
}

.news-img-box .news-item dd {
    padding: 15px 20px 15px 15px;
}

.news-img-box .news-item dd a {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-img-box .news-item dd p {
    -webkit-line-clamp: 3;
    line-clamp: 3;
    margin-bottom: 5px;
}

.view-all {
    margin-top: 10px;
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

/* 公司简介 */
.about-section {
    padding: 100px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('https://via.placeholder.com/1920x1080') no-repeat center/cover;
    background-attachment: fixed;
}

.about-content {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 60px; /* 添加底部间隙 */
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-number-yi {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-text {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.about-image {
    position: relative;
    box-shadow: var(--box-shadow);
    border-radius: 10px;
    overflow: hidden;
    line-height: 0; /* 添加这行以消除图片底部间隙 */
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 5px solid var(--primary-color);
    border-right: none;
    border-bottom: none;
    z-index: -1;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 5px solid var(--secondary-color);
    border-left: none;
    border-top: none;
    z-index: -1;
}

.about-image img {
    width: 100%;
    display: block; /* 修改这里，添加block显示 */
    object-fit: cover;
    border-radius: 10px;
}

/* 发展历程 */
.company-history {
    margin-bottom: 60px;
}

.company-history h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline:before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #0056b3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #0056b3;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even):after {
    left: -10px;
}

.year {
    font-weight: bold;
    font-size: 18px;
    color: #0056b3;
    position: relative;
}

/* 左侧项目的年份靠右(靠中线) */
.timeline-item:nth-child(odd) .year {
    text-align: right;
    padding-right: 20px;
}

/* 右侧项目的年份靠左(靠中线) */
.timeline-item:nth-child(even) .year {
    text-align: left;
    padding-left: 20px;
}

.event {
    padding: 15px;
    background-color: white;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.event h4 {
    margin-top: 0;
    color: #333;
}

.event p {
    margin-bottom: 0;
    color: #555;
}

/* 业务领域 */
.business-section {
    padding: 100px 0;
    background-color: var(--light-blue);
}

.business-areas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.business-area {
    background: white;
    padding: 50px 35px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.business-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.business-area:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.business-area:hover::before {
    opacity: 1;
}

.business-area:hover * {
    color: var(--light-text);
}

.business-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background: rgba(0, 86, 179, 0.1);
    display: inline-block;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.business-area:hover .business-icon {
    background: rgba(255, 255, 255, 0.2);
}

.business-area h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    transition: var(--transition);
}

.business-area p {
    margin-bottom: 20px;
    transition: var(--transition);
}

/* 设备展示 */
.equipment-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.equipment-carousel-container {
    position: relative;
    padding: 30px 0;
    max-width: 100%;
    overflow: hidden;
}

.equipment-carousel {
    display: flex;
    transition: transform 0.5s ease;
    padding: 20px 0;
}

.equipment-item {
    min-width: 33.333%;
    padding: 0 15px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    transform-origin: center center;
}

.equipment-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 250px;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.equipment-info {
    padding: 20px;
    background: white;
    border-radius: 0 0 10px 10px;
    margin-top: -20px;
    position: relative;
    box-shadow: var(--box-shadow);
}

.equipment-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.equipment-info p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 10;
}

.carousel-prev, .carousel-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dark-blue);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-prev:hover, .carousel-next:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--medium-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* 全站底栏 */
.footer {
    background: var(--dark-blue);
    color: #fff;
    padding: 70px 0 20px;
}

.footer-main {
    margin-bottom: 50px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1.4fr 0.8fr; /* 调整各列宽度比例：减少快速链接宽度，增加园区地址宽度 */
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
    min-width: 16px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-contact .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-contact .social-icons a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-contact .social-icons a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-address {
    list-style: none;
    padding: 0;
}

.footer-address li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-address i {
    margin-right: 10px;
    color: var(--accent-color);
    min-width: 16px;
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-code img {
    width: 140px;
    height: 140px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 10px;
}

.qr-code p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.friend-links {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    margin-bottom: 30px;
}

.friend-links ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    gap: 20px;
}

.friend-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.friend-links ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

@media (max-width: 1200px) {
    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .friend-links ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .business-areas {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .slide-content h2 {
        font-size: 2.5rem;
    }
    
    .slide-content p {
        font-size: 1.2rem;
    }
    
    .news-container,
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .footer-info {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .company-values {
        flex-direction: column;
        gap: 20px;
    }
}

/* 移动设备菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* 移动设备下拉菜单显示 */
.has-dropdown.show-dropdown .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background: var(--dark-blue); /* 保持菜单背景和顶栏一致 */
        padding: 0;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        max-height: 80vh; /* 设置较大的高度以确保可以显示所有菜单项 */
        overflow-y: auto; /* 内容过多时可滚动 */
    }
    
    .main-nav > ul {
        flex-direction: column;
        gap: 0;
        padding: 15px 0;
    }
    
    .main-nav > ul > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* 使用半透明白色边框 */
    }
    
    .main-nav > ul > li > a {
        padding: 15px 20px; /* 增加水平内边距 */
        display: block;
        color: rgba(255, 255, 255, 0.9); /* 确保文字颜色为白色 */
    }
    
    /* 移动端展开/折叠指示器 */
    .has-dropdown > a::after,
    .has-dropdown-level2 > a::after {
        content: '\f107'; /* 下箭头图标 */
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        float: right;
        transition: transform 0.3s;
    }
    
    .has-dropdown.show-dropdown > a::after {
        transform: rotate(180deg); /* 菜单展开时箭头向上 */
    }
    
    /* 移动端下拉菜单样式 */
    .dropdown, 
    .dropdown-level2, 
    .dropdown-level3 {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.5s ease, visibility 0s 0.5s;
        transform: none;
        background: rgba(0, 0, 0, 0.2); /* 稍深一点的背景以区分层级 */
        border: none;
    }
    
    .has-dropdown.show-dropdown > .dropdown,
    .has-dropdown-level2.show-dropdown > .dropdown-level2,
    .has-dropdown-level3.show-dropdown > .dropdown-level3 {
        visibility: visible;
        max-height: 1000px;
        transition: max-height 0.5s ease, visibility 0s;
    }
    
    .dropdown a,
    .dropdown-level2 a,
    .dropdown-level3 a {
        padding: 12px 35px; /* 增加缩进 */
        color: rgba(255, 255, 255, 0.8); /* 确保文字颜色 */
        border-left: none;
    }
    
    .dropdown-level2 a {
        padding-left: 50px; /* 二级菜单更多缩进 */
    }
    
    .dropdown-level3 a {
        padding-left: 65px; /* 三级菜单更多缩进 */
    }
    
    .dropdown a:hover,
    .dropdown-level2 a:hover,
    .dropdown-level3 a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-left: none;
    }
}

@media (max-width: 768px) {
    .header .container {
        height: 80px; /* 减小顶栏高度 */
        padding: 0 15px;
        justify-content: center; /* 让logo居中 */
    }
    
    .logo {
        height: 60px; /* 进一步减小logo高度 */
        margin: 0 auto; /* 水平居中 */
    }
    
    .mobile-menu-btn {
        position: absolute;
        right: 15px; /* 将菜单按钮定位到右侧 */
    }
    
    .slider {
        margin-top: 80px; /* 根据顶栏高度调整 */
        height: 400px;
    }
    
    .business-areas {
        grid-template-columns: 1fr;
    }
    
    .equipment-item.active {
        transform: scale(1);
    }
}

/* 企业文化部分 */
.culture-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.culture-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.culture-text {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.culture-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-color);
}

.culture-text p:last-child {
    margin-bottom: 0;
}

.culture-values {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px; /* 增加与上方内容的间隙 */
    justify-content: space-between;
}

.culture-values .value-item {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.culture-values .value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 87, 184, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-blue);
    border-radius: 50%;
    margin-bottom: 20px;
    line-height: 1;
    position: relative;
}

.value-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    line-height: 1;
}

.value-content {
    text-align: center;
}

.value-content h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.value-content p {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.6;
}

.culture-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* 理念部分 */
.mission-section {
    padding: 100px 0;
    background-color: var(--light-blue);
}

.mission-content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    align-items: center;
}

.mission-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.mission-text p {
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.8;
}

.company-values {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    flex: 1;
    text-align: center;
    padding: 25px 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 87, 184, 0.15);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.value-item p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0;
}

/* 公司地址信息 */
.company-info {
    margin-top: 60px;
    padding: 40px;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.address-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.address-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.address-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.address-info i {
    color: var(--primary-color);
    margin-top: 5px;
}

.website, .location {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.website a {
    color: var(--primary-color);
    font-weight: 500;
}

.website a:hover {
    text-decoration: underline;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* 内部页面共用样式 */
.internal-page {
    padding: 100px 0;
}

.internal-page .container {
    max-width: 1200px;
}

.internal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.internal-page p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.internal-page img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
}

.internal-page ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.internal-page li {
    margin-bottom: 10px;
}

.internal-page a {
    color: var(--primary-color);
    transition: var(--transition);
}

.internal-page a:hover {
    color: var(--secondary-color);
}

/* 业务领域横向卡片布局 优化 */
.business-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch;
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    overflow: hidden;
}
.business-card-content {
    flex: 0 0 60%;
    max-width: 60%;
    min-width: 260px;
    padding: 36px 32px 36px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.business-card-image {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f7;
    height: 320px;
    overflow: hidden;
}
.business-card-image img {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: none;
    border-radius: 0;
}
.business-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}
.business-card-header .business-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-right: 18px;
}
.business-card-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #222;
}
.business-card-desc {
    font-size: 1.08rem;
    color: #444;
    line-height: 1.8;
}
@media (max-width: 900px) {
    .business-card {
        flex-direction: column !important;
    }
    .business-card-content, .business-card-image {
        max-width: 100%;
        flex: none;
        min-width: 0;
    }
    .business-card-image {
        height: 220px;
    }
    .business-card-image img {
        height: 100%;
        max-height: 100%;
    }
    .business-card-content {
        padding: 28px 18px 18px 18px;
    }
}

[id] {
  scroll-margin-top: 150px;
}

/* 多语言切换美化 */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.06);
  border-radius: 22px;
  padding: 6px 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-left: 32px;
  font-size: 15px;
}
.language-switcher li {
  display: inline-block;
  margin: 0;
}
.language-switcher a {
  color: #fff;
  opacity: 0.85;
  padding: 4px 10px;
  border-radius: 14px;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.5px;
}
.language-switcher a:hover,
.language-switcher a.active {
  background: var(--accent-color, #00b4d8);
  color: #fff;
  opacity: 1;
}
.language-switcher li:not(:last-child)::after {
  content: "|";
  color: #fff;
  opacity: 0.4;
  margin: 0 6px;
}
@media (max-width: 992px) {
  .language-switcher {
    font-size: 13px;
    padding: 4px 8px;
    gap: 10px;
    margin-left: 10px;
  }
  .language-switcher a {
    padding: 3px 7px;
    font-size: 13px;
  }
}
@media (max-width: 600px) {
  .language-switcher {
    margin-left: 0;
    margin-top: 8px;
    justify-content: flex-end;
  }
}
/* 顶栏布局调整 */
.header .container {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: 100px;
  padding: 0 40px;
  gap: 32px;
}
.header .logo {
  flex-shrink: 0;
}
.header .main-nav {
  flex: 1 1 0%;
  min-width: 0;
}
.language-switcher {
  flex-shrink: 0;
  margin-left: auto;
  white-space: nowrap;
}
@media (max-width: 992px) {
  .header .container {
    flex-direction: column;
    align-items: flex-end;
    height: auto;
    gap: 0;
    padding: 0 10px;
  }
  .header .main-nav {
    width: 100%;
    margin-bottom: 6px;
  }
  .language-switcher {
    margin-left: 0;
    margin-top: 6px;
    align-self: flex-end;
  }
}

.language-bar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  z-index: 3000;
  background: transparent;
  pointer-events: none;
}
.language-bar .language-switcher {
  margin: 12px 40px 0 0;
  background: rgba(0,0,0,0.18);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 2px 12px;
  border-radius: 18px;
  font-size: 13px;
  pointer-events: auto;
}
.language-bar .language-switcher a {
  font-size: 13px;
  padding: 2px 7px;
  border-radius: 10px;
}
.language-bar .language-switcher li:not(:last-child)::after {
  margin: 0 3px;
}
@media (max-width: 992px) {
  .language-bar .language-switcher {
    margin: 8px 10px 0 0;
    font-size: 12px;
    padding: 2px 6px;
  }
  .language-bar .language-switcher a {
    font-size: 12px;
    padding: 2px 5px;
  }
}
