/* 确保 body 和 html 没有默认的 margin 和 padding */
html, body {
    margin: 0;
    padding: 0; /*移除默认的内边距*/
    height: 100%; /* 确保 body 和 html 高度为 100% */
}

/* 顶部导航栏样式 */
.navbar {
    display: flex;
    align-items: center;
    padding: 10px 20px; /* 调整内边距 */
    background-color: rgba(140, 140, 143, 0.8); /* 设置为很浅的灰色透明背景 */
    color: white; /* 文字颜色 */
    max-width: 100%; /* 确保导航栏不超过页面宽度 */
    position: absolute; /* 绝对定位以覆盖横幅 */
    top: 0; /* 紧贴顶部 */
    left: 0; /* 紧贴左侧 */
    right: 0; /* 紧贴右侧 */
    z-index: 1000; /* 确保导航栏在其他元素之上 */
    position: fixed; /* 固定定位 */
    transition: top 0.5s ease-in-out; /* 添加过渡效果 */

}

/* 导航栏 logo 样式 */
.navbar-logo {
    height: 40px; /* 设置PC端Logo的高度 */
    margin-right: auto; /* 将Logo推到最左侧 */
}

/* 导航栏菜单项样式 */
.navbar-nav {
    display: flex;
    list-style: none; /* 移除列表项的默认样式 */
    margin: 0; /* 移除默认的外边距 */
    padding: 0; /* 移除默认的内边距 */
    justify-content: center; /* 水平居中对齐 */
    flex-grow: 1; /* 确保菜单项占据剩余空间 */
}

/* 导航项样式 */
.nav-item {
    margin: 0 15px; /* 设置导航项之间的间距为 15px */
    pointer-events: auto; /* 确保点击事件可用 */
}

/* 导航链接样式 */
.nav-link {
    color: white; /* 设置导航链接的颜色为白色 */
    text-decoration: none; /* 移除链接的下划线 */
    font-size: 16px; /* 设置导航链接的字体大小为 16px */
    padding: 5px 10px; /* 设置导航链接的内边距为 5px 和 10px */
    transition: all 0.3s ease; /* 设置导航链接的过渡效果 */
}

.nav-link:hover,
.nav-link.active {
    background-color: white !important; /* 设置悬停和激活状态的背景颜色为白色 */
    color: black; /* 设置悬停和激活状态的文字颜色为黑色 */
    border-radius: 4px; /* 设置圆角 */
}


/* 下拉导航栏菜单样式 */
.nav-item.dropdown {
    position: relative;/* 相对定位 */
}

/* Default dropdown menu style */
.dropdown-menu {
    display: none; /* 隐藏下拉菜单 */
    position: absolute;/* 绝对定位 */
    top: 110%; /* 下拉菜单位置在父元素下方，增加间距 */
    left: 0;/* 左对齐 */
    background-color: rgba(140, 140, 143, 0.8); /* 匹配导航栏背景 */
    list-style: none;/* 移除列表项的默认样式 */
    padding: 0;/* 移除默认的内边距 */
    margin: 0;/* 移除默认的外边距 */
    z-index: 100; /* 确保它出现在其他内容之上 */
    border-radius: 4px; /* 可选：添加圆角 */
}

.dropdown-menu li {
    width: 200px; /* 设置下拉菜单的固定宽度 */
}

.dropdown-link {
    display: block;/* 设置链接为块级元素 */
    padding: 10px 20px;/* 设置链接的内边距为10px和20px */
    color: white;/* 设置链接的颜色为白色 */
    text-decoration: none;/* 移除链接的下划线 */
    transition: background-color 0.3s;/* 设置链接的过渡效果 */
}

.dropdown-link:hover {
    background-color: white;/* 设置悬停时的背景颜色为白色 */
    color: black;/* 设置悬停时的链接颜色为黑色 */
}

/* 显示下拉菜单 */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* 确保下拉菜单项为块级元素 */
.dropdown-menu .dropdown-item {
    display: block; /* 确保每个选项占据一整行 */
    padding: 10px 20px; /* 可选：调整内边距以增加可点击区域 */
    text-align: left; /* 确保文本左对齐 */
    white-space: nowrap; /* 防止文本换行 */
    transition: background-color 0.3s ease; /* 添加过渡效果 */
    text-decoration: none; /* 移除下划线 */
    color: inherit; /* 使用继承的颜色 */
}

/* 悬停效果 */
.dropdown-menu .dropdown-item:hover {
    background-color: #f0f0f0; /* 设置悬停时的背景颜色 */
    color: #333; /* 可选：设置悬停时的文字颜色 */
    text-decoration: none; /* 确保悬停时也没有下划线 */
}

/* 访问过的链接样式 */
.dropdown-menu .dropdown-item:visited {
    color: inherit; /* 确保访问过的链接颜色不变 */
}

/* 当 'show' 类被添加时显示下拉菜单 */
.dropdown-menu.show {
    display: block;
}




/* 页面内容样式 */
.container {
    gap: 40px;/* 设置容器内元素之间的s间距为40px */
    max-width: 80%;/* 设置容器的最大宽度为80% */
    margin: 0 auto;/* 设置容器的左右外边距为自动 */
    padding: 0;/* 设置容器的内边距为0 */
    padding-bottom: 200px;/* 设置容器的底部内边距为200px */
}

/* 左侧导航栏样式 */
.sidebar {
    width: 250px; /* 设置左侧导航栏的宽度为250px */
    flex-shrink: 0; /* 防止侧边栏被压缩 */
    background-color: #f8f9fa; /* 设置导航栏的背景颜色 */
    padding: 20px; /* 设置导航栏的内边距 */
    border-radius: 0; /* 移除导航栏的圆角 */
}

.company-card {
    text-align: center; /* 设置卡片内容的水平居中对齐 */
    padding: 20px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.company-logo {
    width: 80px; /* 设置logo的宽度为80px */
    height: 80px; /* 设置logo的高度为80px */
    margin-bottom: 15px; /* 设置logo下方的间距为15px */
    border-radius: 50%; /* 设置logo为圆形 */
    object-fit: cover; /* 确保图片不会变形 */
}

.company-card h3 {
    margin: 10px 0 5px; /* 设置标题的上下间距为10px，左右间距为0px */
    color: #333; /* 设置标题的颜色为深灰色 */
    font-size: 18px; /* 设置标题的字体大小为18px */
}

.company-card p {
    color: #666; /* 设置段落的颜色为灰色 */
    font-size: 14px; /* 设置段落的字体大小为14px */
}

.sidebar-nav {
    list-style: none; /* 移除列表项的默认样式 */
    padding: 0; /* 移除默认的内边距 */
    margin: 0; /* 移除默认的外边距 */
}

.sidebar-item {
    margin-bottom: 10px; /* 设置导航项之间的间距为10px */
}

.sidebar-link {
    display: block; /* 设置链接为块级元素 */
    padding: 10px 15px; /* 设置链接的内边距 */
    color: #333; /* 设置链接的颜色为深灰色 */
    text-decoration: none; /* 移除链接的下划线 */
    border-radius: 0; /* 移除链接的圆角 */
    transition: none; /* 移除过渡效果 */
}

.sidebar-link:hover {
    background-color: #e9ecef; /* 设置悬停时的背景颜色 */
    color: #007bff; /* 设置悬停时的链接颜色 */
}

.sidebar-item.active .sidebar-link {
    background-color: #007bff; /* 设置激活时的背景颜色 */
    color: white; /* 设置激活时的链接颜色 */
}

.achievements {
    margin-top: 20px; /* 设置成就模块的顶部间距为20px */
    padding: 15px; /* 设置成就模块的内边距 */
    background-color: #f8f9fa; /* 设置成就模块的背景颜色 */
    border-radius: 8px; /* 设置成就模块的圆角 */
    max-height: 200px; /* 设置成就模块的最大高度为200px */
    overflow-y: auto; /* 如果内容超出高度，添加滚动条 */
}

.achievements h4 {
    margin: 0 0 15px; /* 设置成就模块标题的上下间距为0px，左右间距为15px */
    color: #333; /* 设置成就模块标题的颜色为深灰色 */
    font-size: 16px; /* 设置成就模块标题的字体大小为16px */
}

.achievement-item {
    display: flex; /* 使用Flexbox布局 */
    align-items: center; /* 垂直居中对齐 */
    margin-bottom: 10px; /* 设置成就模块项之间的间距为10px */
}

.achievement-item img {
    width: 40px; /* 设置图片的宽度为40px */
    height: 40px; /* 设置图片的高度为40px */
    margin-right: 10px; /* 设置图片右侧的间距为10px */
    border-radius: 4px; /* 设置图片的圆角 */
    object-fit: cover; /* 确保图片不会变形 */
    transition: transform 0.3s ease; /* 添加过渡效果 */
}

.achievement-item img:hover {
    transform: scale(1.1); /* 设置悬停时的缩放效果 */
}

.achievement-item p {
    margin: 0; /* 移除段落的默认外边距 */
    color: #585858; /* 设置段落的颜色为灰色 */
    font-size: 14px; /* 设置段落的字体大小为14px */
}

/* 主内容区域样式 */
.main-content {
    flex: 1; /* 确保内容占据剩余空间 */
    min-width: 0; /* 防止内容溢出 */
    padding: 20px; /* 设置内边距 */
}

/* 科技风格元素 */
.tech-box {
    background: white; /* 设置背景颜色为白色 */
    border-radius: 8px; /* 设置圆角 */
    padding: 20px; /* 设置内边距 */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* 添加阴影效果 */
    margin-bottom: 20px; /* 设置模块之间的间距为20px */
}

/* 横幅模块样式 */
.banner-carousel {
    width: 100%; /* 布满页面宽度 */
    height: auto; /* 横幅高度增加一倍 */
    position: relative; /* 用于定位图片和按钮 */
    overflow: hidden; /* 隐藏超出部分 */
    margin-bottom: 0; /* 去掉下边距，确保与背景底色紧挨 */
}

.banner-slides {
    display: flex; /* 将图片横向排列 */
    transition: transform 0.5s ease-in-out; /* 添加切换动画 */
    width: 100%; /* 每张图片的宽度 */
}

.banner-slide {
    width: 100%; /* 每张图片的宽度 */
    height: auto; /* 图片高度增加一倍 */
    position: relative; /* 用于定位文字 */
    flex-shrink: 0; /* 防止图片缩小 */
}

.banner-slide img {
    width: 100%; /* 图片布满横幅宽度 */
    height: 600px; /* 图片布满横幅高度 */
    object-fit: cover; /* 确保图片覆盖整个容器 */
    object-position: center; /* 图片居中显示 */
}

.banner-text {
    font-size: 50px; /* 默认字体大小 */
    font-weight: bold; /* 加粗字体 */
    color: #ffffff; /* 文字颜色为白色 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* 添加文字阴影以提高可读性 */
    position: absolute; /* 绝对定位 */
    top: 50%; /* 垂直居中 */
    left: 30%; /* 水平居中 */
    transform: translate(-50%, -50%); /* 确保文字居中 */
    text-align: center; /* 文本居中 */
    z-index: 2; /* 确保文字在图片之上 */
}


/* 响应式调整 */
@media (max-width: 768px) {
    .banner-slide img {
        height: 300px; /* 固定高度，例如200px */
        object-fit: cover; /* 确保图片在固定高度下保持良好的显示 */
        }

    .banner-text {
        position: absolute;
        top: 40%;
        left: 10%;
        transform: translate(-50%, -50%); /* 使文字居中 */
        color: white; /* 文字颜色 */
        font-size: 20px; /* 根据需要调整字体大小 */
        z-index: 10; /* 确保文字在图片上方 */
        padding: 10px; /* 可选：增加内边距 */
    }

}

.carousel-button {
    position: absolute; /* 用于定位按钮 */
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 确保按钮居中 */
    background-color: rgba(0, 0, 0, 0.267); /* 按钮背景色 */
    color: white; /* 按钮文字颜色 */
    border: none; /* 去掉边框 */
    padding: 15px; /* 按钮内边距 */
    cursor: pointer; /* 添加指针样式，表示可点击 */
    z-index: 3; /* 确保按钮在图片和文字之上 */
}

.carousel-button.prev {
    left: 10px; /* 左按钮位置 */
}

.carousel-button.next {
    right: 10px; /* 右按钮位置 */
}

.decorative-lines {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.line {
    height: 2px;
    background-color: #a7a1a1;
    flex: 1;
    max-width: 60%; /* 增加最大宽度从45%到60% */
    position: relative;
}

.line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, #a7a1a1, transparent);
    transform-origin: center;
}

.line-left {
    background-color: transparent;
    margin-right: 5px; /* 减小右边距 */
}

.line-right {
    background-color: transparent;
    margin-left: 5px; /* 减小左边距 */
}

.text {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
    white-space: nowrap;
    font-family: 'Arial', sans-serif;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #f2eff5, #c3c6ca);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 5px; /* 减小文字内边距 */
    text-align: center;
}




/* 全宽模块样式 */
.full-width {
    width: 100%; /* 占满页面宽度 */
    margin: 40px 0; /* 设置上下间距为40px */
    padding: 20px 0; /* 设置内边距 */
}

/* 关于我们模块样式 */
.about-box {
    max-width: 90%; /* 减少宽度为90% */
    margin: 40px auto; /* 水平居中 */
    padding: 40px 20px; /* 设置内边距 */
    background-color: #f8f9fa; /* 设置背景色 */
    border-radius: 8px; /* 设置圆角 */
    width: auto; /* 确保宽度由 max-width 控制 */
    min-width: 0; /* 移除最小宽度限制 */
}

.title-lines {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 靠左对齐 */
    margin: 10px 0; /* 上下间距 */
}

.line-long, .line-short {
    height: 20px; /* 线的高度 */
    margin-bottom: 5px; /* 两根线之间的间距 */
}

.line-long {
    width: 300px; /* 长线的宽度 */
    background-color: #2575fc; /* 蓝色 */
}

.line-short {
    width: 120px; /* 短线的宽度 */
    background-color: #6a11cb; /* 紫色 */
}


@media (max-width: 768px) {
    .line-long {
        width: 150px; /* 长线的宽度 */
        height: 10px; /* 长线的宽度 */
        margin-left: -10px !important;
    }

    .line-short {
        width: 50px; /* 短线的宽度 */
        height: 10px; /* 短线的宽度 */
        margin-left: -10px !important;
    }

    .module h1::after {
        display: none;
    }

    .module h1 {
        margin-bottom: 0 !important;
    }
}

.about-content {
    display: flex; /* 使用Flexbox布局 */
    gap: 30px; /* 设置间距 */
    margin-top: 20px; /* 设置上间距为20px */
}

.about-description {
    font-size: 40px; /* 放大字体 */
    font-weight: bold; /* 加粗字体 */
    color: #000000; /* 文字颜色 */
    line-height: 1.0; /* 行高 */
    margin-bottom: 5px; /* 段落间距 */
}

.about-text {
    flex: 1; /* 确保文本占据剩余空间 */
}

.about-image {
    width: 40%; /* 设置图片宽度为40% */
}

.about-image img {
    width: 100%; /* 占满宽度 */
    border-radius: 8px; /* 设置圆角 */
}

.partners-box {
    width: 100%;
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr; /* 保持原有的单列布局 */
    gap: 0; /* 将间距设置为 0 */
    margin-bottom: 30px;
}

.partner-item {
    text-align: center;
    border: none;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto; /* 保持水平居中 */
    box-shadow: none;
    background-color: transparent;
}

.image-container {
    position: relative;
    height: auto; /* 确保高度正常 */
    width: 100%; /* 确保宽度正常 */
    margin-top: 50px; /* 图片下移，空出上方位置 */
}

.image-container::after {
    content: '';
    position: absolute;
    bottom: 0; /* 定位到图片底部 */
    left: 0;
    width: 100%;
    height: 33.33%; /* 覆盖图片下方三分之一部分 */
    background-color: #f8f9fa; /* 淡灰色背景 */
    z-index: 1; /* 确保背景在图片之上 */
}

.partner-item img {
    width: 100%;
    height: auto; /* 保持图片原始大小 */
    object-fit: cover;
    border-radius: 8px;
    position: relative; /* 确保图片层级正确 */
    z-index: 2; /* 确保图片在背景之上 */
}

/* 图片容器 */
.image-container {
    position: relative; /* 设置相对定位，以便文字可以绝对定位 */
}

.partners-intro {
    font-size: 17px; /* 字体大小 */
    color: #666; /* 文字颜色 */
    line-height: 1.8; /* 行高 */
    text-align: left; /* 靠左对齐 */
    width: 100%; /* 充满模块宽度 */
    margin: 20px auto 1px; /* 上下间距 */
}

@media (max-width: 768px) {
    .partners-intro {
        font-size: 14px; /* 字体大小 */
        color: #666; /* 文字颜色 */
        line-height: 1.8; /* 行高 */
        text-align: left; /* 靠左对齐 */
        width: 100%; /* 充满模块宽度 */
        margin: 20px auto 1px; /* 上下间距 */
    }
}

.partner-item p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* 全宽合作伙伴项样式 */
.partner-full {
    grid-column: 1 / -1; /* 占满所有列 */
    margin-top: 30px; /* 设置顶部外边距 */
    height: 400px; /* 设置高度 */
    box-shadow: none; /* 删除阴影 */
}

.partner-full img {
    width: 100%; /* 占满宽度 */
    height: 100%; /* 占满高度 */
    object-fit: cover; /* 保持比例，裁剪多余部分 */
    border-radius: 8px; /* 设置圆角 */
}

/* 底部联系信息模块 */
.fixed-footer {
    position: relative; /* 改为相对定位 */
    width: 100%; /* Ensure the footer is full width */
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: 40px; /* 添加上边距 */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.contact-info {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    width: 100%; /* Ensure the contact info section is full width */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.contact-info h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #fff;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.4;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.fixed-footer a {
    color: #fff; /* Match the footer text color */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.fixed-footer a:hover {
    color: #ccc; /* Change color on hover for better visibility */
}

/* 团队介绍样式 */
.team-section {
    display: grid;/*使用网格布局*/
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));/*设置自适应列*/
    gap: 30px;/*增加间距*/
    margin-top: 30px;/*上边距*/
}

.team-member {
    background-color: #fff;/*背景色*/
    padding: 20px;/*增加内边距*/
    border-radius: 8px;/*圆角*/
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);/*阴影*/
    text-align: center;/*居中对齐*/
}

.team-member img {
    width: 100%;/*占满宽度*/
    height: 200px;/*增加图片高度*/
    object-fit: cover;/*使用cover填充*/
    border-radius: 4px;/*圆角*/
    margin-bottom: 15px;/*下边距*/
}

.team-member h3 {
    margin: 10px 0;/*上边距*/
    color: #333;/*颜色*/    
}

.team-member p {
    color: #666;/*颜色*/
    font-size: 14px;/*字体大小*/    
    line-height: 1.6;/*行高*/
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {    
        gap: 20px;/*增加间距*/
    }

    .module {
        padding: 10px !important; /*增加内边距*/
    }

    .about-module .module-content {
        flex-direction: column;/*设置垂直布局*/
    }

    .about-image {
        width: 100%;/*占满宽度*/
    }
}

@media (max-width: 480px) {
    .about-box,
    .partners-box,
    .services-box {
        max-width: 100%; /* 在更小的屏幕上占满整个宽度 */
        padding: 15px 10px; /* 调整内边距 */
        margin-top: 5px;
    }
}

/* 全宽布局 */
.container.full-width {
    max-width: 100%;/*占满宽度*/
    padding: 0 20px;/*增加内边距*/
}

.container.full-width .main-content {
    max-width: 1200px;/*最大宽度*/
    margin: 0 auto;/*水平居中*/
    padding: 20px 0;/*增加内边距*/
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container.full-width {
        padding: 0 15px;/*增加内边距*/
    }
}

/* 通用模块样式 */
.module {
    background-color: transparent; /* 确保通用模块背景色透明 */
    border: none; /* 去掉边框线 */
    border-radius: 8px; /* 圆角 */
    padding: 20px; /* 内边距 */
    margin: 20px 0; /* 外边距 */
    box-shadow: none; /* 去掉阴影效果 */
    transition: transform 0.5s ease;
    transform: translateY(50px); /* 初始位置 */
}

.module.float-up {
    transform: translateY(0); /* 浮动到原位置 */
}

.module h1 {
    font-size: 28px; /* 标题字体大小 */
    color: #999; /* 更浅的灰色 */
    margin-bottom: 15px; /* 标题下方间距 */
}

.module-content {
    display: flex; /* 使用 Flexbox 布局 */
    align-items: center; /* 垂直居中 */
}

.about-text {
    flex: 1; /* 占据剩余空间 */
    margin-right: 20px; /* 右侧间距 */
}

.about-text p {
    font-size: 17px; /* 段落字体大小 */
    line-height: 1.6; /* 行高 */
    color: #555; /* 段落颜色 */
}

.about-image img {
    max-width: 100%; /* 确保图像响应式 */
    border-radius: 8px; /* 圆角 */
}

/* 关于我们模块 */
.about-module {
    background-color: transparent; /* 移除背景色 */
    box-shadow: none; /* 移除阴影 */
    padding: 0; /* 移除内边距 */
    margin: 40px 0; /* 保留外边距 */
}

.about-content {
    display: flex;/*使用Flexbox布局*/
    gap: 30px;
    margin-top: 20px;
}

.about-image {
    width: 40%;/*宽度*/
}

.about-image img {
    width: 100%;/*占满宽度*/
    border-radius: 8px;/*圆角*/
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;/*设置垂直布局*/
    }

    .about-image {
        width: 100%;/*占满宽度*/
    }
}

/* 合作伙伴模块 */
.partners-module {
    background-color: transparent; /* 移除背景色 */
    box-shadow: none; /* 移除阴影 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-info h3 {
        margin: 0 0 15px 0;
        font-size: 14px;
        color: #fff;
    }

    .contact-info p {
        font-size: 12px;
    }
}

/* 新增模块样式 */
.values-module {
    padding: 30px 0;
    max-width: 1200px; /* 设置最大宽度 */

    margin: 0 auto; /* 水平居中 */
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列布局 */
    gap: 40px; /* 模块之间的间距 */
}

.value-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    flex: 1; /* 使每个模块占据容器的等分宽度 */
    height: 320px; /* 固定高度 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    transition: transform 0.3s ease;
    min-width: 200px; /* 可选：设置最小宽度 */
}

.value-item h2 {
    position: relative;
    z-index: 1; /* 确保标题在下层 */
    transition: opacity 0.3s ease;
    font-size: 2.5em; /* 增大字体 */
    font-weight: bold; /* 加粗字体 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 添加文字阴影 */
}

@media (max-width: 768px) {
    .value-item {
        position: relative;
        overflow: hidden;
        cursor: pointer;
        flex: 1; /* 使每个模块占据容器的等分宽度 */
        height: auto; /* 固定高度 */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        transition: transform 0.3s ease;
        min-width: 200px; /* 可选：设置最小宽度 */
    }

    .value-item h2 {
        position: relative;
        z-index: 1; /* 确保标题在下层 */
        transition: opacity 0.3s ease;
        font-size: 1.5em; /* 增大字体 */
        font-weight: bold; /* 加粗字体 */
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 添加文字阴影 */
    }
}

.value-item:hover .hidden-content {
    transform: translateY(0); /* 悬停时上滑显示 */
    opacity: 1; /* 显示隐藏内容 */
}

.value-item:hover h2 {
    opacity: 0; /* 悬停时标题完全透明 */
}

.value-item:active h2 {
    color: #000000; /* 点击后标题变为黑色 */
}

.value-item p {
    font-size: 16px; /* 增大描述字体大小 */
    color: rgba(255, 255, 255, 0.8); /* 描述颜色为半透明白色 */
    font-weight: 500; /* 加粗描述 */
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.8); /* 添加浅灰色文字发光效果 */
}

.value-item:active {
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5), 0 0 20px rgba(192, 192, 192, 0.3); /* 点击时发光效果更柔和 */
    transform: translateY(2px); /* 点击时轻微下移 */
}

.value-item:hover {
    box-shadow: 0 0 30px rgba(192, 192, 192, 0.8), 0 0 60px rgba(192, 192, 192, 0.5); /* 鼠标悬停时发光效果更明显 */
    transform: translateY(-5px); /* 鼠标悬停时轻微上移 */
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr); /* 在小屏幕上显示为2列 */
        gap: 10px; /* 调整间距 */
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr; /* 在更小的屏幕上显示为1列 */
        gap: 10px; /* 调整间距 */
    }
}

@media (max-width: 768px) {
    .partners-grid {
        display: flex; /* 使用 Flexbox */
        flex-direction: column; /* 设置为列方向 */
        align-items: center; /* 居中对齐 */
    }

    .partner-item {
        display: flex; /* 使用Flexbox布局 */
        flex-direction: column; /* 垂直排列 */
        align-items: center; /* 水平居中对齐 */
        justify-content: center; /* 垂直居中对齐 */
        text-align: center; /* 文本居中 */
        margin: 0 auto; /* 水平居中 */
        width: 100%; /* 确保占满容器宽度 */
    }

    .image-container {
        width: 100%; /* 确保容器宽度为100% */
        display: flex; /* 使用 Flexbox */
        justify-content: center; /* 水平居中 */
        margin-bottom: 5px; /* 减小图片容器与下方内容之间的间距 */
        margin-top: 5px;
    }

    .partner-item img {
        width: 100%; /* 确保图像宽度为100% */
        height: auto; /* 保持图像比例 */
        max-width: 300px; /* 设置最大宽度 */
        object-fit: contain; /* 确保图片完整显示，保持比例 */
        border-radius: 8px; /* 设置圆角 */
        object-fit: cover; /* 确保图片填充容器 */
        margin-bottom: 5px; /* 图片与文本之间的间距 */
        }


}

@media (max-width: 480px) {
    .partner-item {
        width: 100%;
        height: 180px;
    }



    .partner-item p {
        font-size: 14px;
    }
}

.value-item h2, .value-item p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.gradient-background {
    width: 100%;
    background: linear-gradient(to bottom, #f2f2f7, #ffffff);
    padding: 40px 0;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

/* 确保其他内容不会被覆盖 */

.values-module {
    position: relative; /* 确保内容在背景之上 */
    z-index: 2; /* 确保内容在背景之上 */
}

.values-module {
    max-width: 1200px; /* 限制内容的最大宽度 */
    margin: 0 auto; /* 水平居中 */
    padding: 20px; /* 内边距 */
}

.subtext-bg {
    background: radial-gradient(circle, rgba(180, 177, 177, 0.8), rgba(255, 255, 255, 0)); /* 从中间向两边变淡的渐变 */
    padding: 5px 10px; /* 内边距 */
    border-radius: 4px; /* 圆角效果 */
    display: inline-block; /* 确保背景只覆盖文字 */
    color: #000000; /* 文字颜色改为灰色 */
}

.highlight-item {
    background: linear-gradient(to right, rgba(240, 240, 240, 0.8), rgba(240, 240, 240, 0)); /* 由深至浅的浅灰色渐变 */
    border-left: 4px solid #007bff; /* 左边深蓝色竖线边框 */
    padding: 10px 15px; /* 内边距 */
    border-radius: 4px; /* 圆角效果 */
    margin-bottom: 20px; /* 增加行间距 */
    display: block; /* 确保背景占满宽度 */
    width: 100%; /* 占满宽度 */
    box-sizing: border-box; /* 确保内边距不影响宽度 */
    color: #333; /* 文字颜色为深灰色 */
    font-size: 18px; /* 放大字体 */
    font-weight: bold; /* 加粗字体 */
    margin-left: 0; /* 确保左侧对齐 */
    text-align: left; /* 确保文本左对齐 */
    position: relative; /* 用于定位伪元素 */
    padding-left: 40px; /* 为勾号留出空间 */
}

.highlight-item::before {
    content: '✓'; /* 使用勾号 */
    position: absolute; /* 绝对定位 */
    left: 10px; /* 距离左侧的距离 */
    top: 50%; /* 垂直居中 */
    transform: translateY(-50%); /* 确保勾号居中 */
    font-size: 20px; /* 勾号大小 */
    color: #156818; /* 勾号颜色为绿色 */
}

.partners-subtitle {
    font-size: 40px; /* 字体大小 */
    font-weight: bold; /* 加粗字体 */
    color: #333; /* 文字颜色 */
    text-align: left; /* 靠左对齐 */
    margin: 20px 0; /* 上下间距 */
    line-height: 1.2; /* 行高 */
}

.partners-additional-text {
    font-size: 17px; /* 字体大小 */
    color: #666; /* 文字颜色 */
    line-height: 1.8; /* 行高 */
    text-align: left; /* 靠左对齐 */
    margin: 20px auto; /* 上下间距，水平居中 */
}

@media (max-width: 768px) {
    .partners-subtitle {
        font-size: 20px; /* 字体大小 */
        font-weight: bold; /* 加粗字体 */
        color: #333; /* 文字颜色 */
        text-align: left; /* 靠左对齐 */
        margin: 20px 0; /* 上下间距 */
        line-height: 1.2; /* 行高 */
    }
    .partners-additional-text {
        font-size: 14px; /* 字体大小 */
        color: #666; /* 文字颜色 */
        line-height: 1.8; /* 行高 */
        text-align: left; /* 靠左对齐 */
        margin: 20px auto; /* 上下间距，水平居中 */
    }

}


.learn-more-container {
    text-align: right; /* 右对齐 */
    margin-top: 30px; /* 上边距 */
}

.learn-more-btn {
    display: inline-block; /* 使链接为块级元素 */
    padding: 10px 20px; /* 内边距 */
    background-color: transparent; /* 按钮背景色 */
    color: rgb(255, 255, 255); /* 按钮文字颜色 */
    border: 1px solid #ffffff; /* 添加边框 */
    text-decoration: none; /* 去掉下划线 */
    border-radius: 0px; /* 圆角 */
    transition: background-color 0.3s; /* 添加过渡效果 */
}

.learn-more-btn:hover {
    background-color: #0056b3; /* 悬停时按钮颜色 */
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 每行4个小板块 */
    gap: 20px; /* 小板块之间的间距 */
    margin-top: 80px; /* 与上方模块的间距 */
}

.service-item {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    overflow: hidden; /* 添加overflow:hidden来限制图片放大效果在容器内 */
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease; /* 只给背景图片添加过渡效果 */
    background-color: rgba(255, 255, 255, 0.7); 
    z-index: 1;
}

.service-title {
    position: relative;
    font-size: 2em; /* 根据需要调整大小 */
}

.service-title-en {
    position: absolute;
    left: 0;
    top: 70%; /* 调整此值以控制叠加的高度，确保在中文下方 */
    transform: translateY(0); /* 不再需要垂直居中 */
    font-size: 0.9em; /* 根据需要调整大小 */
    color: rgba(255, 255, 255, 0.5); /* 设置颜色和透明度 */
}

/* 为每个服务项添加背景图片 */
.service-item:nth-child(1)::before {
    background-image: url('../images/network-security-bg.jpg');
}

.service-item:nth-child(2)::before {
    background-image: url('../images/communication-bg.jpg');
}

.service-item:nth-child(3)::before {
    background-image: url('../images/server-room-bg.jpg');
}

.service-item:nth-child(4)::before {
    background-image: url('../images/lcd-led-bg.jpg');
}

.service-item:nth-child(5)::before {
    background-image: url('../images/ba-system-bg.jpg');
}

.service-item:nth-child(6)::before {
    background-image: url('../images/ai-office-bg.jpg');
}

.service-item:nth-child(7)::before {
    background-image: url('../images/app-development-bg.jpg');
}

.service-item:nth-child(8)::before {
    background-image: url('../images/data-center-bg.jpg');
}

.service-item:hover::before {
    transform: scale(1.1); /* 鼠标悬停时只放大背景图片 */
}

.text-overlay {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
    color: white; /* Ensure text color is readable */
    background-color: rgba(0, 0, 0, 0.5); /* Cover the entire image with a semi-transparent background */
    padding: 20px; /* Add padding for better readability */
    border-radius: 5px; /* Optional: add rounded corners */
    text-align: center; /* Center the text */
    z-index: 10; /* Ensure text is above the image */
    width: 100%; /* Cover the entire width of the image */
    height: 100%; /* Cover the entire height of the image */
    display: flex; /* Use flexbox for centering */
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.banner-indicators {
    position: absolute; /* 绝对定位 */
    bottom: 20px; /* 距离底部的距离 */
    left: 50%; /* 水平居中 */
    transform: translateX(-50%); /* 使指示器居中 */
    text-align: center; /* 居中对齐 */
    z-index: 10; /* 确保指示器在其他元素之上 */
}

.indicator {
    display: inline-block; /* 使指示器为块级元素 */
    width: 20px; /* 指示器宽度，设置为长方形 */
    height: 3px; /* 指示器高度 */
    background-color: #ccc; /* 默认颜色 */
    border-radius: 4px; /* 圆角 */
    margin: 0 5px; /* 左右间距 */
    cursor: pointer; /* 鼠标悬停时显示为手型 */
    transition: background-color 0.3s; /* 添加过渡效果 */
}

.indicator.active {
    background-color: #ccc; /* 激活状态颜色 */
}

/* 服务范围模块样式 */
.service-range {
    border-radius: 0; /* 移除圆角以确保宽度一致 */
    padding: 20px; /* 添加内边距 */
    width: 100%; /* 设置宽度为100% */
    margin: 0; /* 确保没有外边距 */
    max-width: none; /* 确保没有最大宽度限制 */
}

.service-range h1 {
    color: #ffffff; /* 文字颜色为深灰色 */
    font-size: 40px; /* 放大字体 */
    font-weight: bold; /* 加粗字体 */
    margin-left: 0; /* 确保左侧对齐 */
    text-align: left; /* 确保文本左对齐 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .text-overlay {
        position: absolute;
        top: 50%; /* 垂直居中 */
        left: 50%; /* 水平居中 */
        transform: translate(-50%, -50%); /* 调整以确保居中 */
        color: white; /* 确保文字颜色在图片上可读 */
        background-color: rgba(0, 0, 0, 0.5); /* 用半透明背景覆盖整张图片 */
        padding: 20px; /* 添加内边距以提高可读性 */
        border-radius: 5px; /* 可选：添加圆角 */
        text-align: center; /* 确保文本居中 */
        z-index: 10; /* 确保文字在图片上层 */
        width: 100%; /* 覆盖图片的整个宽度 */
        height: 100%; /* 覆盖图片的整个高度 */
        display: flex; /* 使用 Flexbox 居中 */
        align-items: center; /* 垂直居中 */
        justify-content: center; /* 水平居中 */
    }

    .service-range h1 {
        color: #ffffff; /* 文字颜色为深灰色 */
        font-size: 20px; /* 放大字体 */
        font-weight: bold; /* 加粗字体 */
        margin-left: 0; /* 确保左侧对齐 */
        text-align: left; /* 确保文本左对齐 */
    }

    .service-grid {
        display: flex; /* 使用 Flexbox */
        flex-direction: column; /* 设置为列方向 */
        align-items: center; /* 居中对齐 */
    }

    .service-item {
        width: 90%; /* 每个小板块宽度为90% */
        height: 150px;
        max-width: 400px; /* 设置最大宽度 */
        margin-bottom: 15px; /* 小板块之间的间距 */
        padding: 10px; /* 内边距 */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
        border: 1px solid #ccc; /* 添加边框 */
        border-radius: 5px; /* 圆角 */
        text-align: center; /* 文本居中 */
        font-size: 14px; /* 调整字体大小 */
    }
}

/* 内容容器样式 */
.content-container {
    max-width: 80%; /* 设置最大宽度为页面的80% */
    margin: 0 auto; /* 水平居中 */
}


/* 回到顶部按钮样式 */
#back-to-top {
    position: fixed !important;
    bottom: 80px !important; /* 紧挨着phone-button */
    right: 20px !important;
    left: auto !important;
    width: 50px !important;
    height: 50px !important;
    background-color: rgba(180, 180, 180, 0.7) !important; /* 透明浅灰色 */
    color: white !important; /* 白色图标 */
    border-radius: 0 !important; /* 无圆角 - 正方形 */
    justify-content: center !important;
    align-items: center !important;
    z-index: 9999 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

#back-to-top:hover {
    background-color: rgba(156, 153, 153, 0.8); /* 悬停时按钮颜色 */
}




.background-container {
    background-image: url('../images/background/background-image.jpg'); /* 替换为您的背景图像路径 */
    background-size: cover; /* 背景图像覆盖整个容器 */
    background-position: center; /* 背景图像居中 */
    padding: 0px 0; /* 添加上下内边距 */
    margin: 0; /* 移除外边距 */
}


.background-container1 {
    background-image: url('../images/background/background-image1.jpg'); /* 替换为您的背景图像路径 */
    background-size: cover; /* 背景图像覆盖整个容器 */
    background-position: center; /* 背景图像居中 */
    padding: 0px 0; /* 添加上下内边距 */
    margin: 0; /* 移除外边距 */
}

.background-container2 {
    background-image: url('../images/background/background-image2.jpg'); /* 替换为您的背景图像路径 */
    background-size: cover; /* 背景图像覆盖整个容器 */
    background-position: center; /* 背景图像居中 */
    padding: 0px 0; /* 添加上下内边距 */
    margin: 0; /* 移除外边距 */
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes scaleUp {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.value-item {
    animation: slideUp 0.5s ease forwards; /* 添加向上滑动的动画 */
    opacity: 0; /* 初始透明度 */
    transition: transform 0.5s ease; /* 添加平滑过渡 */
}

.value-item.float-up {
    transform: translateY(0); /* 浮动到原位置 */
    opacity: 1; /* 变为不透明 */
}

.module {
    animation: fadeIn 1s ease forwards; /* 添加淡入动画 */
    opacity: 0; /* 初始透明度 */
}

.module.visible {
    opacity: 1; /* 变为不透明 */
}

/* 为特定模块添加缩放和旋转效果 */
.scale-up {
    animation: scaleUp 0.5s ease forwards; /* 添加缩放动画 */
    opacity: 0; /* 初始透明度 */
}

.scale-up.visible {
    opacity: 1; /* 变为不透明 */
}

.rotate {
    animation: rotate 1s ease forwards; /* 添加旋转动画 */
    opacity: 0; /* 初始透明度 */
}

.rotate.visible {
    opacity: 1; /* 变为不透明 */
}

/* 响应式调整 */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* 垂直布局 */
        align-items: flex-start; /* 左对齐 */
        padding: 10px; /* 添加内边距 */
    }

    .navbar-nav {
        flex-direction: column;
        width: 100%;
        position: fixed;
        top: 60px; /* 根据页眉高度调整 */
        z-index: 999;
        background-color: rgba(140, 140, 143, 0.8); /* 背景色 */
    }

    .nav-item {
        margin: 5px 0; /* 垂直间距 */
        width: 100%; /* 每个导航项宽度为100% */
    }

    .nav-link {
        padding: 10px; /* 增加内边距 */
        font-size: 16px; /* 增加字体大小 */
        text-align: left; /* 左对齐 */
        width: 100%; /* 宽度为100% */
        display: block; /* 使链接为块级元素 */
        border-radius: 4px; /* 圆角 */
        transition: background-color 0.3s; /* 添加过渡效果 */
    }

    .nav-link:hover {
        background-color: rgba(0, 0, 0, 0.1); /* 悬停时背景颜色 */
    }

    .nav-link.active {
        background-color: rgba(211, 211, 211, 0.5) !important; /* 半透明浅灰色 */
        color: #333 !important; /* 文字颜色 */
        width: auto !important; /* 自适应内容宽度 */
        display: inline-block !important; /* 改为内联块级元素 */
        padding-left: 15px !important; /* 左侧内边距 */
        padding-right: 15px !important; /* 右侧内边距 */
        margin: 5px 0; /* 保持垂直间距 */
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-description {
        font-size: 15px; /* 调整字体大小 */
        line-height: 1.2; /* 调整行高 */
        margin-bottom: 2px; /* 增加底部间距 */
        margin-left: -10px !important;
    }

    .section-title {
        font-size: 20px; /* 调整标题字体大小 */
        margin-bottom: 10px; /* 增加标题与文本之间的间距 */
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .module-content {
        display: flex; /* 使用 Flexbox */
        flex-direction: column; /* 设置为列方向 */
        margin-top: 3px; /* 减少模块内容的顶部间距 */
    }

    .about-image {
        margin-top: 3px; /* 减少图片与上方文本之间的间距 */
        margin-bottom: 5px; /* 图片与文本之间的间距 */
    }

    .about-image img {
        width: 100%; /* 图片宽度为100% */
        max-width: 400px; /* 最大宽度限制 */
    }

    .about-text {
        text-align: left; /* 文本靠左对齐 */
        width: 100%; /* 确保文本区域占满宽度 */
    }

    .about-text p {
        font-size: 14px; /* 调整字体大小 */
        margin-bottom: 10px; /* 增加底部间距 */
    }

    .highlight-item {
        font-size: 14px; /* 调整列表项字体大小 */
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .image-text {
        position: absolute;
        top: 10%; /* 根据需要调整箭头位置 */
        left: 10%; /* 根据需要调整箭头位置 */
        font-size: 18px; /* 调整字体大小 */
        color: red; /* 字体颜色 */
        background: linear-gradient(to bottom, rgba(240, 240, 240, 0.8), rgba(240, 240, 240, 0.4));
        padding: 5px 10px; /* 增加内边距 */
        z-index: 3; /* 确保文字在图片之上 */
        clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%, 15% 50%); /* 确保箭头形状 */
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* 添加阴影效果 */
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .clients-logos {
        display: flex; /* 使用 Flexbox 布局 */
        flex-wrap: wrap; /* 允许换行 */
        justify-content: center; /* 水平居中对齐 */
    }

    .client-logo {
        flex: 0 0 22% !important; /* 每个 logo 占据约22%的宽度，4个 logo 一行 */
        max-width: 22% !important; /* 最大宽度限制 */
        margin: 10px !important; /* 上下左右间距 */
        background-color: transparent !important; /* 背景透明 */
        padding: 5px !important; /* 内边距 */
        border-radius: 5px !important; /* 圆角效果 */
    }

    .client-logo img {
        width: 100%; /* 确保图片宽度为100% */
        height: auto; /* 保持纵横比 */
        object-fit: contain; /* 确保图片完整显示 */
        border-radius: 5px; /* 圆角效果 */
    }
}

/* 响应式调整 - 仅针对手机端 */
@media (max-width: 768px) {
    .phone-button {
        display: none !important; /* 强制隐藏电话按钮 */
    }
    
    #back-to-top {
        display: none !important; /* 强制隐藏回到顶部按钮 */
    }

    /* 其他手机端样式... */
}

@media (min-width: 769px) {
    /* 电脑端按钮统一样式 - 完全正方形无圆角 */
    #back-to-top {
        right: 20px;
        width: 50px;
        height: 50px;
        background-color: rgba(120, 120, 120, 0.7);
        color: white;
        border-radius: 0;
        bottom: 80px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 26px;
    }
    
}

/* 手机端回到顶部按钮样式 */
@media (max-width: 768px) {
    #back-to-top {
        display: flex !important; /* 确保显示 */
        right: 35px; /* 稍微减少边距以适应小屏幕 */
        width: 45px; /* 稍微缩小尺寸以适应小屏幕 */
        height: 45px;
        background-color: rgba(120, 120, 120, 0.7);
        color: white;
        border-radius: 0;
        bottom: 15px; /* 确保离底部有足够距离 */
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        justify-content: center;
        align-items: center;
        font-size: 22px;
        z-index: 1000; /* 确保显示在最上层 */
    }
}

/* 平滑滚动效果 */
html {
  scroll-behavior: smooth;
}

/* 横幅文字入场动画优化 */
.banner-slide h1 {
  animation: fadeInUp 1s ease-out both;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* 服务卡片悬停效果增强 */
.service-item {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* 标题逐字显示动画 */
.about-description {
  overflow: hidden;
  display: inline-block;
}

.about-description span {
  display: inline-block;
  animation: revealText 0.5s cubic-bezier(0.5, 0, 0.1, 1) both;
  animation-delay: calc(0.05s * var(--char-index));
}

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

/* 滚动触发动画 */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 图片悬停缩放效果 */
.about-image img {
  transition: transform 0.5s ease;
}

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

/* 客户logo动画 */
.client-logo {
  transition: all 0.3s ease;
}

.client-logo:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

/* 改进全局排版 */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

/* 链接样式优化 */
a {
  transition: color 0.3s, opacity 0.3s;
}

a:hover {
  opacity: 0.85;
}

/* 改进卡片阴影样式 */
.tech-box, .about-box, .team-member {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06), 
              0 1px 3px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tech-box:hover, .about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1), 
              0 4px 8px rgba(0, 0, 0, 0.12);
}

/* 标题样式增强 */
.module h1, .service-range h1 {
  position: relative;
  display: inline-block;
  margin-bottom: 25px;
}

.module h1:after, .service-range h1:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #2575fc, #6a11cb);
  transition: width 0.4s ease;
}

.module h1:hover:after, .service-range h1:hover:after {
  width: 100%;
}

@media (max-width: 768px) {
    .module h1, .service-range h1 {
        font-size: 20px; /* 放大字体 */
        font-weight: bold; /* 加粗字体 */
        margin-left: -10px; /* 确保左侧对齐 */
        text-align: left; /* 确保文本左对齐 */
    }
}

/* 列表项美化 */
.highlight-item {
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.highlight-item:hover {
  transform: translateX(5px);
  background: linear-gradient(to right, rgba(240, 240, 240, 0.9), rgba(240, 240, 240, 0.6));
}

/* 按钮统一样式 */
.learn-more-btn, #back-to-top, .phone-button {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden;
  position: relative;
}

.learn-more-btn:after, #back-to-top:after, .phone-button:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.learn-more-btn:hover:after, #back-to-top:hover:after, .phone-button:hover:after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}



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

/* 照片边框效果 */
.about-image img, .team-member img {
  border: 3px solid white;
}

/* 手机端菜单动画 */
@media (max-width: 768px) {
  .nav-item {
    transform: translateY(10px);
    opacity: 0;
    animation: slideDown 0.5s forwards;
  }
  
  .nav-item:nth-child(1) { animation-delay: 0.1s; }
  .nav-item:nth-child(2) { animation-delay: 0.2s; }
  .nav-item:nth-child(3) { animation-delay: 0.3s; }
  .nav-item:nth-child(4) { animation-delay: 0.4s; }
  .nav-item:nth-child(5) { animation-delay: 0.5s; }
  
  @keyframes slideDown {
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}


document.querySelectorAll('.nav-item.dropdown').forEach(item => {
    item.addEventListener('click', function() {
        this.classList.toggle('open');
    });
});

.values-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 90%; /* 容器占据页面宽度的90% */
    margin: 0 auto; /* 水平居中 */
    gap: 20px; /* 增加模块之间的间距 */
}


.hidden-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8); /* 背景色 */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    transform: translateY(100%); /* 初始位置在视图之外 */
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 2; /* 确保隐藏内容在标题上层 */
    opacity: 0; /* 初始透明度 */
    font-size: 1.5em; /* 增大字体 */
    font-weight: bold; /* 加粗字体 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 添加文字阴影 */
    letter-spacing: 1px; /* 增加字间距 */
}

.value-item:hover .hidden-content {
    transform: translateY(0); /* 悬停时上滑显示 */
    opacity: 1; /* 显示隐藏内容 */
}

.value-item:hover h2 {
    opacity: 0; /* 悬停时标题完全透明 */
}

/* 移动页眉样式 */
.mobile-header {
    display: none; /* 默认隐藏，PC端不显示 */
    align-items: center;
    padding: 10px 20px; /* 增加内边距 */
    background-color: rgba(51, 51, 51, 0.233); /* 半透明灰色背景 */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.493); /* 添加阴影 */
}

.mobile-logo {
    height: 40px; /* 调整Logo的高度 */
    width: auto; /* 确保宽度自适应 */
    flex-shrink: 0; /* 防止Logo缩小 */
}

.menu-toggle {
    background: none;
    border: none;
    color: white;
    position: relative;
    left: 3%;
    font-size: 28px; /* 增大按钮字体 */
    cursor: pointer;
    flex-shrink: 0; /* 防止按钮缩小 */
    transition: color 0.3s ease; /* 添加过渡效果 */
}

.menu-toggle:hover {
    color: #ffcc00; /* 悬停时改变颜色 */
}

/* 移动导航菜单样式 */
.navbar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    text-align: left; /* 确保文本左对齐 */
}


.nav-link:hover {
    color: #000000a1; /* 悬停时改变颜色 */
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex; /* 仅在移动端显示 */
    }
    .navbar {
        display: none; /* 隐藏PC端导航栏 */
    }
    .navbar.show {
        display: block; /* 显示移动端导航栏 */
    }
    .navbar-logo {
        display: none; /* 隐藏PC端Logo */
    }
}

.mobile-nav {
    display: none; /* 默认隐藏 */
    background-color: #444; /* 深色背景 */
    position: fixed;
    top: 60px; /* 根据页眉高度调整 */
    width: 100%;
    z-index: 999;
    max-height: calc(100vh - 60px); /* 限制最大高度 */
    overflow-y: auto; /* 启用垂直滚动 */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* 添加阴影 */
    padding-top: 20px; /* 添加顶部内边距，确保第一个选项不被遮挡 */
}

/* 在移动设备上隐藏PC端导航栏，显示移动端导航栏 */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }
    .mobile-nav {
        display: none; /* 默认隐藏，使用JavaScript控制显示 */
    }
}

@media (max-width: 768px) {
    .mobile-nav .dropdown-menu {
        display: none; /* 默认隐藏 */
        position: absolute;
        background-color: rgba(140, 140, 143, 0.8);
        list-style: none;
        padding: 0;
        margin: 0;
        z-index: 100;
        border-radius: 4px;
        flex-direction: row; /* 水平排列选项 */
    }

    .mobile-nav .dropdown-menu.show {
        display: flex; /* 使用Flexbox显示下拉菜单 */
    }

    .mobile-nav .dropdown-item {
        padding: 10px 20px;
        color: white;
        text-decoration: none;
        transition: background-color 0.3s;
    }

    .mobile-nav .dropdown-item:hover {
        background-color: #f0f0f0;
        color: #333;
    }
}

* {
    box-sizing: border-box;
}

