/* ===========================================================
   万邦集团首页样式表 (index.css)
   功能：定义首页所有组件的样式，包括导航栏、轮播图、新闻动态、
         业务板块、关于万邦、荣誉资质、页脚等
   =========================================================== */

/* ==================
   基础样式设置
   ================== */
/* 设置页面最小宽度，确保桌面端显示效果 */
html,
body {
  min-width: 1600px;
  /* width: 100vw; */
  width: 100%;
  overflow-x: auto; /* 允许横向滚动 */
}

/* 容器最小宽度设置 */
.container {
  min-width: 1600px;
}

/* ==================
   导航栏基础样式
   ================== */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: transparent;
  padding: 15px 0 15px;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* 修改导航栏容器样式 */
.navbar > .container {
  max-width: 100%;
  padding-left: 10%; /* 固定左边距为10% */
  padding-right: 10%; /* 固定右边距为10% */
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 滚动时的导航栏样式 */
.navbar.scrolled {
  background-color: white;
  padding: 0; /* 减小高度 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 滚动时的导航链接颜色 */
.navbar.scrolled .nav-link {
  color: #333;
}

/* 滚动时的图标颜色 */
.navbar.scrolled .nav-icons a {
  color: #333;
}

/* Logo样式调整 */
.navbar-brand {
  margin: 0;
  padding: 0;
  position: relative;
  left: 0;
}

.navbar-brand img {
  height: 3.2rem;
}

/* 导航菜单样式调整 */
.navbar-nav {
  gap: 2vw; /* 使用视口宽度单位 */
  flex-direction: row !important;
  margin: 0;
  padding: 0;
}

/* 导航链接样式调整 */
.nav-link {
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1vw;
  margin: 0;
  transition: color 0.15s;
  position: relative;
  white-space: nowrap;
}

/* 添加一个透明的元素来扩展触发区域 */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px; /* 向下扩展8px */
  height: 20px;
  background: transparent;
}

/* 导航链接各种状态的样式 */
.nav-link:hover,
.nav-link:active,
.nav-link:focus,
.nav-link:visited {
  color: #fff; /* 强制保持白色 */
}

/* 右侧图标容器样式调整 */
.nav-icons {
  display: flex;
  gap: 2vw;
  margin: 0;
  padding: 0;
}

/* 右侧图标样式 */
.nav-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: color 0.3s;
}

/* 图标悬停效果 */
.nav-icons a:hover {
  color: #03933b;
}

/* ==================
   移动端菜单相关样式
   ================== */
/* 导航栏右侧操作区域容器（包含图标和菜单按钮） */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 2vw;
}

/* 移动端菜单按钮（汉堡菜单图标） */
.mobile-menu-toggle {
  display: none; /* 桌面端默认隐藏 */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 46px;
  height: 46px;
  border: none;
  background: rgba(3, 147, 59, 0.12);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease;
}

/* 菜单按钮的三条横线 */
.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  margin: 3px 0;
  transition: all 0.3s ease;
}

/* 菜单按钮悬停效果 */
.mobile-menu-toggle:hover {
  background: rgba(3, 147, 59, 0.25);
}

/* 移动端菜单遮罩层（点击关闭菜单） */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

/* 菜单打开时禁止页面滚动 */
body.mobile-menu-open {
  overflow: hidden;
}

/* 菜单打开时显示遮罩层 */
body.mobile-menu-open .mobile-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* ==================
   轮播图样式
   ================== */
.carousel {
  padding-top: 0; /* 移除顶部内边距 */
  margin-top: 0; /* 恢复向上偏移 */
  position: relative;
}

/* 轮播图项目样式 */
.carousel-item {
  height: 100vh; /* 全屏高度 */
  background-size: cover;
  background-position: center;
  position: relative;
}

/* 轮播图阴影效果容器 */
.carousel::before,
.carousel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
  z-index: 2;
}

/* 顶部渐变阴影 */
.carousel::before {
  top: 0;
  height: 150px; /* 从200px减小到150px */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    /* 稍微降低起始透明度 */ rgba(0, 0, 0, 0.3) 50%,
    /* 添加中间过渡点 */ rgba(0, 0, 0, 0) 100%
  );
}

/* 底部渐变阴影 */
.carousel::after {
  bottom: 0;
  height: 150px;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* 轮播图文字内容样式 */
.carousel-caption {
  text-align: left;
  left: 15%;
  bottom: 20%;
  max-width: 500px;
}

/* 轮播图标题样式 */
.carousel-caption h2 {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 25px;
}

/* 轮播图副标题样式 */
.carousel-caption .subtitle {
  font-size: 18px;
  margin-bottom: 12px;
}

/* 了解更多按钮样式 */
.carousel-caption .more-link {
  display: inline-block;
  margin-top: 20px;
  padding: 8px 25px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}

/* 按钮悬停效果 */
.carousel-caption .more-link:hover {
  background: #fff;
  color: #333;
}

/* ==================
   轮播图文字动画
   ================== */
/* 标题动画 */
.carousel-item.active .carousel-caption h2 {
  animation: fadeInUp 0.4s ease forwards;
  opacity: 0;
}

/* 第一行副标题动画 */
.carousel-item.active .carousel-caption .subtitle:nth-child(2) {
  animation: fadeInUp 0.4s ease 0.15s forwards;
  opacity: 0;
}

/* 第二行副标题动画 */
.carousel-item.active .carousel-caption .subtitle:nth-child(3) {
  animation: fadeInUp 0.4s ease 0.3s forwards;
  opacity: 0;
}

/* 按钮动画 */
.carousel-item.active .carousel-caption .more-link {
  animation: fadeInUp 0.4s ease 0.45s forwards;
  opacity: 0;
}

/* 定义上移渐显动画 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 非活动轮播项文字隐藏 */
.carousel-item:not(.active) .carousel-caption h2,
.carousel-item:not(.active) .carousel-caption .subtitle,
.carousel-item:not(.active) .carousel-caption .more-link {
  opacity: 0;
}

/* ==================
   下拉菜单样式
   ================== */
.nav-item.dropdown {
  position: static; /* 允许下拉菜单全宽显示 */
}

/* 下拉菜单容器 */
.mega-menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%); /* 水平居中 */
  top: 100%; /* 向下移动8px */
  background-color: rgba(51, 51, 51, 0.9);
  padding: 20px 30px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s ease;
  z-index: 1100;
  width: auto;
  min-width: 600px;
}

/* 添加自适应宽度的下拉菜单样式 */
.nav-item.dropdown:first-child .mega-menu,
.nav-item.dropdown:last-child .mega-menu {
  min-width: 300px; /* 移除最小宽度限制 */
  width: auto; /* 宽度自适应内容 */
}

/* 下拉菜单内容布局 */
.mega-menu-content {
  display: flex;
  justify-content: center;
  gap: 60px; /* 菜单项间距 */
}

/* 下拉菜单链接样式 */
.mega-menu-content a {
  color: #fff;
  text-decoration: none;
  /* padding: 5px 10px; */
  transition: all 0.15s ease;
  white-space: nowrap;
}

/* 下拉菜单链接悬停效果 */
.mega-menu-content a:hover {
  color: #03933b;
}

/* 显示下拉菜单 */
.nav-item.dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
}

/* 导航项悬停效果 */
.nav-item.dropdown:hover .nav-link {
  color: #03933b;
}

/* ==================
   业务领域下拉菜单
   ================== */
/* 菜单列样式 */
.menu-column {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 15px;
}

/* 主标题样式 */
.main-item {
  color: #fff;
  text-decoration: none;
  /* padding: 5px 10px; */
  transition: all 0.15s ease;
  font-weight: bold;
  font-size: 16px;
  border-bottom: 1px solid #c0c0c0;
  padding-bottom: 3px;
  display: inline-block; /* 保持这一行 */
  width: auto; /* 明确指定宽度为自动 */
  max-width: fit-content; /* 确保最大宽度适应内容 */
}

/* 子菜单容器 */
.sub-items {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  gap: 7.5px;
}

/* 子菜单项样式 */
.sub-items a {
  color: rgba(255, 255, 255);
  text-decoration: none;
  font-size: 16px;
  /* padding: 3px 10px; */
  transition: all 0.15s ease;
}

/* ==================
   视频组件样式
   ================== */
/* 视频区域容器 */
.video-section {
  padding: 100px 100px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
}

/* 视频播放器容器 */
.video-container {
  position: relative;
  width: calc(100% - 200px);
  padding-top: calc((100% - 200px - 200px) * 9 / 16); /* 16:9比例 */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  margin: 0 auto;
}

/* 视频元素样式 */
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 播放按钮样式 */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 30px 0 30px 60px;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: none; /* 桌面端默认隐藏 */
}

/* 播放按钮悬停效果 */
.play-button:hover {
  transform: translate(-50%, -50%) scale(1.15);
  border-color: transparent transparent transparent #fff;
}

/* 视频播放时隐藏播放按钮 */
.video-container.playing .play-button,
.video-container video:not([paused]) ~ .play-button {
  display: none;
  opacity: 0;
  pointer-events: none;
}

/* ==================
   全屏滚动相关样式
   ================== */
html {
  scroll-behavior: smooth; /* 平滑滚动 */
}

body {
  /* overflow-x: hidden;  防止水平滚动 */
  min-width: 1600px;
}

/* 全屏区域样式 */
.section {
  /* min-height: 100vh; */
  width: 100%;
  position: relative;
}

/* 视频控件样式 */
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 隐藏默认控件 */
.video-container video::-webkit-media-controls {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

/* 鼠标悬停时显示控件 */
.video-container:hover video::-webkit-media-controls {
  opacity: 1;
  visibility: visible;
}

/* 自定义控件样式 */
.video-container video::-webkit-media-controls-panel {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* ==================
   最新动态板块样式
   ================== */
.news-section {
  padding: 100px 100px 40px; /* 上内边距增加到100px */
  background: #fff;
  margin-top: 50px; /* 添加部 */
}

.section-title {
  color: #03933b;
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

.news-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px 0; /* 上下各增加15px的内边距，总共增加30px高度 */
}

.news-card {
  width: 300px;
  height: 370px; /* 从340px增加到370px */
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-content {
  padding: 35px 25px 25px; /* 增加顶部内边距从25px到35px */
  flex-grow: 1;
}

.news-content h3 {
  font-size: 22px; /* 标题字体从20px增加到22px */
  font-weight: bold;
  margin-bottom: 20px; /* 增加底部间距从15px到20px */
  color: #333;
}

.news-content p {
  font-size: 16px; /* 内容字体从14px增加到16px */
  color: #666;
  line-height: 1.6;
}

.news-footer {
  padding: 20px 25px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-info {
  display: flex;
  gap: 15px;
}

.news-date {
  color: #999;
  font-size: 14px;
}

/* .carousel-control-prev-icon {
    color: #03933B !important;
}

.carousel-control-next-icon {
    color: #03933B !important;
} */

.news-category {
  color: #03933b;
  font-size: 14px;
}

.news-more {
  color: #03933b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.news-more:hover {
  color: #3b8a3e;
}

/* ==================
   新闻动态轮播样式
   ================== */
/* 新闻轮播容器 */
.news-slider {
  position: relative;
  width: 100%;
  padding: 0 60px; /* 为左右箭头留出空间 */
}

/* .news-container {
    overflow: hidden;
} */

.news-group {
  display: none;
  gap: 30px;
  justify-content: center;
  transition: transform 0.5s ease;
}

.news-group.active {
  display: flex;
}

/* 导航按钮样式 */
.news-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px; /* 从40px增加到80px */
  height: 80px; /* 从40px增加到80px */
  background: transparent; /* 移除背景色 */
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* 修改箭头图标颜色 */
.news-nav .carousel-control-prev-icon,
.news-nav .carousel-control-next-icon {
  filter: brightness(0.5) saturate(80%) invert(27%) sepia(88%) saturate(800%)
    hue-rotate(120deg) brightness(90%) contrast(90%);
  width: 80px;
  height: 80px;
  opacity: 1;
}

/* 箭头按钮悬停效果 */
.news-nav:hover .carousel-control-prev-icon,
.news-nav:hover .carousel-control-next-icon {
  filter: brightness(0.5) saturate(80%) invert(27%) sepia(88%) saturate(800%)
    hue-rotate(120deg) brightness(90%) contrast(90%);
  transform: scale(1.1);
}

/* 移除箭头按钮的背景色 */
.news-nav {
  background: transparent;
  border: none;
}

/* 调整箭头按钮位置 */
.news-nav-prev {
  left: 8%;
}

.news-nav-next {
  right: 8%;
}

/* 指示器样式 */
.news-indicators {
  display: flex;
  justify-content: center;
  gap: 20px; /* 从10px增加到20px */
  margin-top: 30px;
}

.news-indicators button {
  width: 12px; /* 稍微增加圆点大小 */
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(69, 160, 73, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.news-indicators button.active {
  background: #45a049;
  transform: scale(1.2); /* 激活状态稍微放大 */
}

/* ==================
   业务板块样式
   ================== */
/* 业务板块容器 */
.business-section {
  padding: 80px 0 0;
  background: #fff;
}

.business-container {
  /* max-width: 1120px;  保持不变，刚好容纳2个560px的图片 */
  margin: 0 auto;
}

.business-row {
  display: flex;
  justify-content: center;
}

.business-row:first-child {
  border-bottom: 1px solid #eee; /* 两行之间的分隔线 */
}

.business-item {
  width: 560px; /* 从280px改为560px */
  height: 300px; /* 保持高度不变 */
  position: relative;
  border-right: 1px solid #eee;
  overflow: hidden;
}

.business-item:last-child {
  border-right: none; /* 最后一个项目不需要右边框 */
}

.business-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease; /* 添加过渡效果 */
}

.business-item:hover img {
  transform: scale(1.1); /* 鼠标悬停时图片放大 */
}

.business-title {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  color: #fff; /* 从#333改为白色 */
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  padding: 0 20px;
}

/* 加渐变遮罩，让白色标题更清晰 */
.business-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px; /* 增加遮罩高度 */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

/* 确保标题在渐变遮罩上层 */
.business-title {
  z-index: 2;
}

/* 修改业务板块标题样式 */
/* .business-section .section-title {
    margin-bottom: 10px;  /* 减小底部间距 
} */

/* 加副标题 */
.business-section .section-subtitle {
  text-align: center;
  color: #666;
  font-size: 20px;
  margin-bottom: 40px; /* 与内容距 */
}

/* 标题内容容器 */
.business-content {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 2;
  /* 移除整个容器的 transform transition */
}

.business-title {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 15px;
  padding: 0 20px;
  transition: transform 0.3s ease 0s, /* 时无延迟 */ transform 0.3s ease 0.15s; /* 向下移动时延迟0.15s */
}

.business-desc {
  color: #fff;
  font-size: 14px;
  margin: 0 0 15px;
  padding: 0 30px;
  opacity: 0;
  transition: opacity 0.3s ease 0.15s; /* 添加0.15s延迟 */
}

.business-link {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 20px;
  border: 1px solid #fff;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease 0.25s; /* 添加0.25s延迟，比副题多0.1s */
}

/* 修改悬停效果 */
.business-item:hover .business-title {
  transform: translateY(-40px);
  transition: transform 0.3s ease 0s; /* 向上移动时无延迟 */
}

/* 非悬停状态（移开时）的效果 */
.business-title {
  transform: translateY(0);
  transition: transform 0.3s ease 0.15s; /* 向下移动时延迟0.15s */
}

.business-item:hover .business-desc,
.business-item:hover .business-link {
  opacity: 1;
}

.business-item:hover::before {
  opacity: 0.9;
}

.business-link:hover {
  background: #fff;
  color: #45a049;
}

/* ==================
   联系方式板块样式
   ================== */
/* 联系方式板块容器 */
.contact-section {
  height: 180px; /* 从200px减小到180px */
  width: 100%;
  display: flex;
  margin-top: 40px; /* 添加顶部外边距 */
}

.contact-left,
.contact-right {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.contact-left {
  background-color: #82b83b; /* 主要绿色 */
}

.contact-right {
  background-image: url('../images/bg-index.jpg');
  background-size: cover;
  background-position: center;
}

.contact-left h3,
.contact-right h3 {
  font-size: 24px;
  font-weight: bold;
  /* margin-bottom: 20px; */
}

/* ==================
   搜索框样式（预留，当前未使用）
   ================== */
/* 搜索框容器 */
.search-box {
  display: flex;
  align-items: center;
  width: 400px;
  height: 40px;
  /* background: #fff; */
  border-radius: 20px;
  overflow: hidden;
}

.search-box input {
  flex: 1;
  height: 100%;
  padding: 0 20px;
  border: none;
  outline: none;
  font-size: 14px;
}

.search-box button {
  width: 60px;
  height: 100%;
  border: none;
  background: #45a049;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.search-box button:hover {
  background: #3b8a3e;
}

.search-box i {
  font-size: 18px;
}

/* 修改联系方式标题样式 */
.contact-left h3 {
  font-size: 24px;
  font-weight: bold;
  /* margin-bottom: 10px;  减小底部间距，为副标题留出间 */
  /* border-bottom: 2px solid #fff; */
  /* padding-bottom: 5px; */
}

/* 添加副标题样式 */
.contact-left p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9); /* 稍微透明一点的白色 */
  /* margin-top: 5px;  与上面的标题保持一定距离 */
  margin-bottom: 0;
}

/* 右侧标题保持原样 */
.contact-right h3 {
  font-size: 24px;
  font-weight: bold;
  /* margin-bottom: 20px; */
}

/* 修改关于万邦板块样式 */
.about-section {
  height: 900px;
  width: 100%;
  position: relative;
  background: #f5f5f5;
  background-image: url("../images/loop_4.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 40px;  */
}

/* 调整遮罩层透明度 */
.about-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  opacity: 0.85; /* 增加透明度，让背景更清晰 */
}

.about-content {
  position: relative;
  z-index: 2;
  height: 700px;
  max-width: 1200px;
  padding: 0 20px;
  text-align: center;
}

.about-text {
  margin: 40px 0;
  width: 800px;
  margin-left: 40px;
}

.about-text p {
  font-size: 16px;
  line-height: 2;
  color: #333;
  margin-bottom: 16px;
  text-align: left;
}

.stats-container {
  margin: 60px 0;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 0 80px;
  width: 300px; /* 添加固定宽度 */
}

/* 修改分隔线 */
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background-color: #45a049;
  opacity: 0.5;
}

.stat-number {
  font-size: 48px;
  font-weight: bold;
  color: #03933b;
  margin-bottom: 15px;
  line-height: 1;
  width: 140px; /* 添加固定宽度 */
  display: inline-block; /* 使宽度生效 */
  text-align: center; /* 数字居中显示 */
}

.stat-label {
  font-size: 16px;
  color: #666;
  line-height: 1;
}

.about-more {
  display: inline-block;
  padding: 12px 40px;
  background: #03933b;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.about-more:hover {
  background: #03933b;
}

/* 修改荣誉板块样式 */
.honors-section {
  padding: 40px 0 80px;
  background: #fff;
  margin-top: 40px;
  position: relative; /* 添加相对定位 */
  scroll-margin-top: 80px; /* 添加滚动边距，解决锚点定位问题 */
}

.honors-swiper {
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden; /* 保溢出内容隐藏 */
}

.swiper-wrapper {
  transition-timing-function: ease-out; /* 平滑过渡 */
}

/* 隐藏导航按钮 */
.honors-swiper .swiper-button-next,
.honors-swiper .swiper-button-prev {
  display: none; /* 隐藏导航按钮 */
}

/* 修改图片间距 */
.honor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* 减小图片和文字的间距 */
}

/* 修改荣誉图片尺寸 */
.honor-image {
  width: 200px; /* 从100px改为150px */
  height: 120px; /* 从100px改为150px */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.honor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 调整标题样式以适应新的图片尺寸 */
.honor-title {
  font-size: 15px; /* 稍微增大字体大小 */
  color: #333;
  font-weight: 500;
}

/* 修改导航按钮样式 */
.honors-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-30%);
  width: 80px; /* 从40px增加到80px */
  height: 80px; /* 从40px增加到80px */
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 修改箭头图标大小 */
.honors-nav .carousel-control-prev-icon,
.honors-nav .carousel-control-next-icon {
  filter: brightness(0.5) saturate(80%) invert(27%) sepia(88%) saturate(800%)
    hue-rotate(120deg) brightness(90%) contrast(90%);
  width: 50px; /* 从20px增加到40px */
  height: 50px; /* 从20px增加到40px */
}

.honors-nav-prev {
  left: 16%; /* 调整左箭头位置 */
}

.honors-nav-next {
  right: 16%; /* 调整右箭头位置 */
}

/* 修改箭头图标颜色 */
.honors-nav .carousel-control-prev-icon,
.honors-nav .carousel-control-next-icon {
  filter: brightness(0.5) saturate(80%) invert(27%) sepia(88%) saturate(800%)
    hue-rotate(120deg) brightness(90%) contrast(90%);
}

/* 加入我们板块样式 */
.join-section {
  padding: 10px 0 80px;
  background: #fff;
}

.join-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  padding: 0 20px;
}

/* 左侧视频样式 */
.join-video {
  width: 880px;
}

.join-video .video-container {
  width: 100%;
  position: relative;
  padding-top: 56.25%; /* 16:9 比例 */
  background: #000;
  border-radius: 8px;
  overflow: hidden;
}

.join-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 显示原生控件 */
.join-video video::-webkit-media-controls {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* 控件面板样式 */
.join-video video::-webkit-media-controls-panel {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

/* 右侧职位卡片样式 */
.join-positions {
  width: 240px;
}

.position-card {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.position-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.position-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.position-overlay h3 {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  margin: 0;
}

.position-link {
  display: inline-block;
  padding: 10px 25px;
  background: #03933b;
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.position-link:hover {
  background: #03933b;
}

/* 视频播放时的样式 */
.join-video .video-container.video-playing {
  padding-top: 0;
  height: 495px; /* 880px * 9/16 */
}

/* 页脚样式 */
.footer-section {
  background: #333;
  color: #fff;
  padding-top: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-columns {
  display: flex;
  /* justify-content: space-between; */
  gap: 80px;
  /* margin-bottom: 20px; */
}

/* .footer-column {
    flex: 1;
} */

.footer-column h3 {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  display: inline-block; /* 让下划线宽度跟随文字 */
  /* padding-bottom: 10px;
    border-bottom: 2px solid #03933B; */
}

.footer-column p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
  color: #ccc;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #03933b;
}

.footer-column ul li i {
  margin-right: 10px;
  color: #03933b;
}

/* 社交媒体链接 */
.social-links {
  display: flex;
  gap: 20px;
  /* margin-top: 20px; */
}

.social-links a {
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 8px;
  display: block;
}

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 底部版权信息 */
.footer-bottom {
  background: #222;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: #999;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #999;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #03933b;
}

/* 返回顶部按钮样式 */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  background: #03933b;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none; /* 初始隐藏 */
  justify-content: center;
  align-items: center;
  font-size: 24px;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
  background: #03933b;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
  display: flex;
}

/* 修改轮播图指示器按钮样式 */
.carousel-indicators {
  margin-bottom: 30px; /* 增加底部间距 */
}

.carousel-indicators [data-bs-target] {
  width: 30px; /* 增加宽度 */
  height: 4px; /* 增加高度 */
  background-color: rgba(255, 255, 255, 0.7); /* 增加默认状态的不透明度 */
  border: none;
  border-radius: 0;
  margin: 0 5px;
  opacity: 1;
  transition: all 0.3s ease;
}

/* 激活状态的指示器按钮 */
.carousel-indicators .active {
  background-color: #fff; /* 激活状态为纯白色 */
  opacity: 1;
  transform: scaleX(1.2); /* 激活状态稍微拉长 */
}

/* 指示器按钮悬停效果 */
.carousel-indicators [data-bs-target]:hover {
  background-color: #fff; /* 悬停时变为纯白色 */
  opacity: 1;
}

.footer-title {
  text-align: left; /* 改为左对齐 */
}

.footer-social-link {
  display: flex;
  justify-content: center;
  gap: 20px; /* 两个图片之间的间距 */
}

.footer-social-link img {
  width: 120px;
  height: 120px;
}

.footer-social-link p {
  margin: 4px;
}

/* 修改地图图片样式 */
.map {
  border-radius: 12px; /* 添加圆角 */
  overflow: hidden; /* 确保圆角生效 */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); /* 添加阴影效果 */
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px; /* 图片也添加圆角 */
  display: block; /* 移除图片底部的间隙 */
}

/* 修改页脚底部样式 */
.footer-info {
  display: flex;
  align-items: center;
}

.footer-record {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #999;
  font-size: 14px;
}

.footer-record span {
  color: #999;
}

.footer-record .divider {
  color: #666;
}

.footer-record a {
  color: #999;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-record a:hover {
  color: #03933b;
}

/* 添加特定页面的导航栏样式 */
body:not(.home-page) .navbar {
  background-color: white;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body:not(.home-page) .nav-link {
  color: #333;
}

body:not(.home-page) .nav-icons a {
  color: #333;
}

body:not(.home-page) .mega-menu {
  background-color: rgba(51, 51, 51, 0.9);
}

body:not(.home-page) .mega-menu-content a {
  color: #fff;
}

/* ==================
   高分辨率屏幕适配
   ================== */
/* 针对高分辨率屏幕（如 Retina 显示屏）的样式调整 */
@media screen and (min-resolution: 120dpi) {
  /* 隐藏横向滚动条 */
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* 导航栏容器位置微调 */
  .navbar .container {
    transform: translateX(-50px);
  }
}

/* ===========================================================
   移动端响应式样式（屏幕宽度 ≤ 991px）
   功能：针对手机和平板设备优化显示效果
   =========================================================== */
@media (max-width: 991px) {
  html,
  body {
    min-width: 100%;
    width: 100%;
    overflow-x: hidden;
  }

  /* 基础布局调整 */
  .container,
  .navbar > .container {
    min-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    transform: translateX(0); /* 重置桌面端的偏移 */
  }

  /* 移动端导航栏：固定白色背景，固定高度 */
  .navbar {
    background-color: #fff; /* 固定为白色背景 */
    padding: 0;
    height: 64px; /* 固定高度 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  /* 滚动时导航栏样式保持不变 */
  .navbar.scrolled {
    padding: 0;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }

  /* Logo 尺寸调整 */
  .navbar-brand img {
    height: 40px;
  }

  /* 导航栏右侧操作区域间距调整 */
  .nav-actions {
    gap: 12px;
  }

  /* 隐藏桌面端的图标 */
  .nav-icons {
    display: none;
  }

  /* 显示移动端菜单按钮 */
  .mobile-menu-toggle {
    display: flex;
    background: rgba(3, 147, 59, 0.1);
  }

  /* 菜单按钮线条颜色改为深色 */
  .mobile-menu-toggle span {
    background: #333;
  }

  /* 菜单打开时，第一条线旋转45度形成X的上半部分 */
  body.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  /* 菜单打开时，第二条线隐藏 */
  body.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  /* 菜单打开时，第三条线旋转-45度形成X的下半部分 */
  body.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  /* 移动端导航菜单：从右侧滑入的抽屉式菜单 */
  .navbar-nav {
    position: fixed;
    top: 55px;
    right: -50px;
    width: min(320px, 80vw); /* 最大宽度320px或80%视口宽度 */
    /* height: calc(100vh - 64px); */
    background: #fff;
    flex-direction: column !important;
    align-items: flex-start;
    padding: 24px 24px 24px;
    gap: 0;
    transform: translateX(100%); /* 默认隐藏在右侧屏幕外 */
    transition: transform 0.3s ease;
    overflow-y: auto; /* 内容过多时可滚动 */
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.08);
    z-index: 1100;
  }

  /* 菜单打开时，滑入显示 */
  body.mobile-menu-open .navbar-nav {
    transform: translateX(0);
  }

  /* 移动端导航链接样式 */
  .nav-link {
    color: #333 !important;
    width: 100%;
    padding: 12px 0;
    font-size: 16px;
  }

  /* 移除导航链接的扩展触发区域 */
  .nav-link::after {
    display: none;
  }

  /* 下拉菜单项占满宽度 */
  .nav-item.dropdown {
    width: 100%;
  }

  /* 移动端隐藏所有下拉菜单内容，只显示主导航项 */
  .mega-menu {
    display: none;
  }

  /* ==================
     轮播图移动端样式
     ================== */
  /* 隐藏轮播图左右箭头 */
  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  /* 轮播图文字位置调整：缩小并下移 */
  .carousel-caption {
    left: 20px;
    right: 20px;
    bottom: 10%; /* 从20%调整为10%，文字下移 */
    max-width: 100%;
  }

  /* 标题字体缩小 */
  .carousel-caption h2 {
    font-size: 24px; /* 从42px缩小到24px */
    margin-bottom: 12px;
  }

  /* 副标题字体缩小 */
  .carousel-caption .subtitle {
    font-size: 14px; /* 从18px缩小到14px */
    margin-bottom: 8px;
  }

  /* 按钮尺寸缩小 */
  .carousel-caption .more-link {
    padding: 6px 20px;
    font-size: 14px;
    margin-top: 12px;
  }

  /* ==================
     视频部分移动端样式
     ================== */
  /* 视频区域容器移动端调整 */
  .video-section {
    padding: 40px 20px;
    background: #f5f5f5;
  }

  /* 视频播放器容器移动端调整 */
  .video-container {
    width: 100%;
    padding-top: 56.25%; /* 16:9 比例 */
    margin: 0;
  }

  /* 手机端显示播放按钮 */
  .play-button {
    display: block !important;
    border-width: 25px 0 25px 50px;
    z-index: 10;
    opacity: 1;
    pointer-events: auto;
  }

  /* 手机端视频容器可点击 */
  .video-container {
    cursor: pointer;
  }

  /* 手机端视频默认不显示控件，但允许点击容器 */
  .video-container video {
    pointer-events: none; /* 防止点击视频区域触发默认行为 */
  }

  /* 手机端视频播放时显示控件 */
  .video-container.playing video {
    pointer-events: auto;
  }

  /* 手机端视频播放时隐藏播放按钮 */
  .video-container.playing .play-button {
    display: none !important;
  }

  /* ==================
     新闻动态移动端样式
     ================== */
  /* 隐藏新闻动态部分的左右箭头 */
  .news-nav {
    display: none;
  }

  /* 调整新闻轮播容器，移除为箭头预留的空间 */
  .news-slider {
    padding: 0 20px;
  }

  .news-section {
    padding: 40px 20px;
    margin-top: 0;
  }

  /* 新闻卡片容器移动端优化 */
  .news-container {
    overflow-x: hidden; /* 防止横向滚动 */
    touch-action: pan-y; /* 允许垂直滚动，但处理水平滑动 */
  }

  /* 移动端新闻卡片组：单列显示 */
  .news-group {
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease; /* 添加平滑过渡效果 */
  }

  /* 确保新闻卡片在移动端可以正常显示 */
  .news-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  /* 荣誉资质移动端样式：隐藏左右箭头，仅保留滑动与自动播放 */
  .honors-nav {
    display: none;
  }

  .honors-section {
    padding: 20px 20px;
    margin-top: 16px;
  }

  /* ==================
     业务板块移动端样式
     ================== */
  .business-section {
    padding: 40px 0 0;
  }

  /* 业务容器：占满屏幕宽度，移除左右内边距 */
  .business-container {
    padding: 0;
    width: 100%;
    margin: 0;
  }

  /* 业务行：每行显示2个，自动换行 */
  .business-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: none; /* 移除row之间的分隔线 */
    width: 100%;
  }

  .business-row:first-child {
    border-bottom: none; /* 移除第一个row的下边框 */
  }

  /* 业务项：每行2个，每个占50%宽度 */
  .business-item {
    width: 50%;
    height: 150px; /* 4行总高度600px，每行150px */
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
  }

  /* 每行最后一个项目（偶数项）移除右边框 */
  .business-item:nth-child(2n) {
    border-right: none;
  }

  /* 每个row的最后一行（第3、4个item）移除下边框 */
  .business-row .business-item:nth-child(3),
  .business-row .business-item:nth-child(4) {
    border-bottom: none;
  }

  /* 取消移动端所有悬停/点击效果 */
  .business-item:hover img {
    transform: none; /* 取消图片放大效果 */
  }

  .business-item:hover .business-title {
    transform: none; /* 取消标题移动效果 */
  }

  .business-item:hover .business-desc,
  .business-item:hover .business-link {
    opacity: 0; /* 保持隐藏状态，不显示描述和链接 */
  }

  .business-item:hover::before {
    opacity: 0.7; /* 保持遮罩层透明度不变 */
  }

  /* 移动端始终显示标题，不显示描述和链接 */
  .business-desc,
  .business-link {
    display: none; /* 完全隐藏描述和链接 */
  }

  /* 业务标题字体调整 */
  .business-title {
    font-size: 12px;
    margin-bottom: 0;
    /* 向下移动14px，不使用transform */
    position: relative;
    top: 14px;
    transition: none; /* 取消过渡动画 */
  }

  .stat-item {
    padding: 0;
    width: 140px;
    margin-bottom: 0;
  }  

  .about-text p {
    font-size: 14px;
    width: 90vw;
    text-align: justify;
  }

  .about-text {
    margin-left: 28%;
  }

  .stat-number {
    font-size: 20px;
    margin-bottom: 8px;
  }

  /* 联系方式板块移动端样式：仅显示上半部分，高度减半 */
  .contact-section {
    flex-direction: column; /* 从左右并排改为上下排列 */
    height: 90px; /* 高度改为原来的一半 */
  }

  .contact-left {
    width: 100%;   /* 占满一行宽度 */
    height: 100%;  /* 占满整个高度 */
  }

  .contact-right {
    display: none; /* 手机端隐藏下半部分 */
  }

  /* 页脚移动端样式：隐藏“快速链接”一列（第一列），保留其他两列 */
  .footer-columns .footer-column:first-child {
    display: none;
  }

  .footer-columns {
    gap: 0;
  }

  /* 增加"便捷入口"列的宽度，让标题在一行显示 */
  .footer-columns .footer-column:nth-child(2) {
    flex: 1.5; /* 增加这一列的宽度 */
    min-width: 0; /* 允许flex收缩 */
  }

  /* 确保"便捷入口"标题不换行 */
  .footer-columns .footer-column:nth-child(2) .footer-title {
    white-space: nowrap; /* 强制不换行 */
  }

  .footer-columns .footer-column:nth-child(3) {
    transform: translateX(16px);
  }

  /* 联系方式板块移动端样式：仅显示上半部分，高度减半 */
  .contact-section {
    flex-direction: column; /* 从左右并排改为上下排列 */
    height: 90px; /* 高度改为原来的一半 */
  }

  .contact-left {
    width: 100%;   /* 占满一行宽度 */
    height: 100%;  /* 占满整个高度 */
  }

  .contact-right {
    display: none; /* 手机端隐藏下半部分 */
  }

  /* ==================
     页脚版权信息移动端样式
     ================== */
  /* 版权信息容器改为垂直布局 */
  .footer-bottom-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  /* 版权记录信息改为垂直显示，每行一个 */
  .footer-record {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* 隐藏分隔符 */
  .footer-record .divider {
    display: none;
  }

  /* 每个版权信息项单独一行 */
  .footer-record > span,
  .footer-record > a {
    display: block;
    line-height: 1.6;
  }

  /* 链接信息也改为垂直布局 */
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

}
