/* 全局重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  padding-top: 110px; /* 为更高导航预留空间 */
  background: #f5f7fa;
  color: #333;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* 全局属性 */

/* header栏 */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  backdrop-filter: blur(0); /* 滚动后可加毛玻璃效果（可选） */
}

body.scrolled header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px); /* 毛玻璃效果（现代感） */
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1620px;
  margin: 0 auto;
}

/* ========== Logo 放大 + 居中感 ========== */
.logo img {
  height: 64px; /* 更大气 */
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.logo img:hover {
  transform: scale(1.03);
}

/* ========== 导航菜单 ========== */
.layui-nav {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.layui-nav .layui-nav-item {
  margin: 0 8px;
}

.layui-nav .layui-nav-item a {
  color: #ffffff !important;
  font-size: 18px;           /* 更大 */
  font-weight: 600;          /* 更粗，显高级 */
  padding: 0 22px !important;
  height: auto !important;
  line-height: 1.4 !important;
  background: transparent !important;
  position: relative;
  transition: color 0.3s ease;
}

/* 滚动后文字变黑 */
body.scrolled .layui-nav .layui-nav-item a {
  color: #1a1a1a !important;
}

/* ========== 高级 hover 效果：底部滑动条（替代下划线） ========== */
.layui-nav .layui-nav-item a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #0066cc;
  transition: width 0.3s ease;
  transform: translateX(-50%);
}

.layui-nav .layui-nav-item a:hover::after,
body.scrolled .layui-nav .layui-nav-item a:hover::after {
  width: 40px;
}

/* ========== 下拉菜单 ========== */
.layui-nav .layui-nav-child {
  background: #ffffff !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
  padding: 10px 0 !important;
  top: 56px !important;
  animation: fadeIn 0.25s ease forwards;
}

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

.layui-nav .layui-nav-child dd a {
  color: #222 !important;
  font-size: 16px !important;
  padding: 12px 28px !important;
  font-weight: 500;
}

.layui-nav .layui-nav-child dd a:hover {
  background: #f0f9ff !important;
  color: #0066cc !important;
}

/* ========== 响应式 - 移动端菜单 ========== */
/* 隐藏桌面菜单，显示汉堡按钮 */
@media (max-width: 768px) {
  .layui-nav {
    display: none;
  }
  .hamburger {
    display: block; /* 显示汉堡按钮 */
  }

  /* 移动端菜单样式 */
  .mobile-menu {
    display: none; /* 默认隐藏 */
    position: absolute;
    top: 99%;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    flex-direction: column;
  }

  .mobile-menu a {
    padding: 14px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
  }

  .mobile-menu a:hover {
    background-color: #f9f9f9;
  }

  /* 当菜单激活时显示 */
  .mobile-menu.active {
    display: flex;
  }

  /* 调整头部内边距 */
  .header-inner {
    padding: 18px 24px;
  }
  .logo img {
    height: 50px; /* 调整 logo 大小 */
  }
  /* 调整汉堡按钮样式 */
  .hamburger {
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    cursor: pointer;
    background: transparent;
    border: none;
    appearance: none;
    outline: none;
    display: flex; /* 确保显示 */
  }
  .hamburger div {
    width: 100%;
    height: 3px;
    background-color: #333; /* 确保颜色可见 */
  }
}

/* 为大于 768px 的屏幕隐藏汉堡按钮和移动菜单 */
@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
  .mobile-menu {
    display: none;
  }
}

/* ========== 页面内容 ========== */
/* 公司简介开始 - 全局定义 */
/* 浅蓝色渐变背景 */
.container{
    /*padding: 30px;*/
    /*max-width: 1320px;*/
    margin: 0 auto;
}
.gradient-blue-bg {
  background: linear-gradient(180deg, #e6f2ff 0%, #cce6ff 100%);
  color: #222;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.gradient-blue-bg::before {
  /* 可选：添加极淡的波纹/纹理增强质感（非必需） */
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0.2;
  pointer-events: none;
}

/* 容器内样式 */

.about-section .section-title {
  color: #c00;
  font-size: 2.2rem;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
  padding: 30px;
      max-width: 1620px;
      margin:0 auto;
}

.about-text {
  flex: 1;
  min-width: 300px;
  line-height: 1.8;
  font-size: 16px;
  color: #333;
  /*background: rgb(245 247 247 / 40%);*/
  background: #ffffff60;
    padding: 25px;
    border-radius: 18px;
}

.about-text p {
  margin-bottom: 24px;
}

.about-text strong {
  color: #000;
}

.about-text .highlight {
  color: #c00;
  font-weight: 600;
  background: rgba(192, 0, 0, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin: 4px 0;
}

/*.btn-more {*/
/*  display: inline-block;*/
/*  color: #c00;*/
/*  font-weight: bold;*/
/*  text-decoration: none;*/
/*  border: 1px solid #c00;*/
/*  padding: 10px 24px;*/
/*  border-radius: 30px;*/
/*  transition: all 0.3s ease;*/
/*  margin-top: 10px;*/
/*  background: transparent;*/
/*}*/

.btn-more:hover {
  background-color: #c00;
  color: white;
  box-shadow: 0 4px 12px rgba(192, 0, 0, 0.25);
}
/* ===== 图片特效 ===== */
.about-image {
  flex: 1;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

/* 悬停放大效果 */
.about-section:hover .about-image {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.about-section:hover .about-image img {
  transform: scale(1.05);
}
/*公司简介结束*/

main {
  margin: 0 auto;
}
.hero {
  height: 200vh;
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #0d47a1;
}

/* Banner */
.banner {
    width: 100%;
    height: 800px; /* 调整移动端高度 */
    position: relative;
    overflow: hidden;
  }

  .swiper,
  .swiper-wrapper,
  .swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
  }

  .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
  }

  /* 图片和视频统一覆盖 */
  .slide-image,
  .slide-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 关键：保持比例并覆盖 */
    z-index: 1;
  }

  .slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0%, 0%);
    z-index: 2;
    text-align: center;
    color: white; /* 如果需要改变文字颜色 */
    background: none; /* 去除背景 */
    padding: 0; /* 移除内边距 */
    border-radius: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
  }
  .slide-content * {
    margin: 0;
    padding: 0;
    pointer-events: auto; /* 子元素可交互 */
  }
  .swiper-slide-active .slide-content {
    opacity: 1;
  }
  .swiper-slide-active .slide-content h2,
  .swiper-slide-active .slide-content p {
    animation: float 4s ease-in-out infinite;
  }
 /* 添加飘动效果 */
  @keyframes float {
    0% { transform: translate(-50%, -50%) translateY(0px); }
    50% { transform: translate(-50%, -50%) translateY(-10px); }
    100% { transform: translate(-50%, -50%) translateY(0px); }
  }

  .slide-content h2, .slide-content p {
    font-family: 'Roboto', sans-serif;
    animation: float 3s ease-in-out infinite;
    /* display: inline-block; 确保动画只应用于单行文本 */
    display: block;
  }

  .slide-content h2 {
     font-size: 2.4rem; /* 调整移动端字体大小 */
     font-weight: 600;
    margin: 0 0 16px 0;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    animation: float 4s ease-in-out infinite;
    padding-bottom:32px;
  }

  .slide-content p {
    font-size: 1.8rem; /* 调整移动端字体大小 */
    margin: 0;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }

  /* 分页器样式（白色圆点） */
  .swiper-pagination {
    bottom: 30px !important;
  }

  .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
  }

  .swiper-pagination-bullet-active {
    background: white !important;
    transform: scale(1.3);
  }

  /* 响应式：小屏调整 */
  @media (max-width: 768px) {
    .banner { height: 350px; } /* 进一步调整高度 */
    .slide-content h2 { font-size: 1.8rem; padding-bottom: 0px;} /* 调整标题大小 */
    .slide-content p { font-size: 1rem; } /* 调整描述大小 */
    .slide-content{ transform: translate(-0%, -00%);}
    .slide-content h2, .slide-content p {display: block;}
  }

  /* 更小屏幕 */
  @media (max-width: 480px) {
    .banner { height: 300px; }
    .slide-content h2 { font-size: 1.5rem; }
    .slide-content p { font-size: 0.9rem; }
  }

 /*banner结束*/

    .btn-more {
      display: inline-block;
      background: rgba(0,0,0,0.5);
      color: white;
      padding: 8px 20px;
      border-radius: 20px;
      font-size: 14px;
    }

    /* Sections */
    /*section { padding: 50px 0; }*/
    .section-title {
      text-align: center;
      font-size: 28px;
      margin-bottom: 30px;
      color: #c00;
    }

    /* About */
    /*.about-text {*/
    /*  background: #f9f9f9;*/
    /*  padding: 25px;*/
    /*  border-radius: 8px;*/
    /*  line-height: 1.8;*/
    /*}*/

    /* Products */
  /* ========== 产品轮播图 ========== */
/* 产品轮播 */
.products-swiper-section{
 padding: 30px;
      max-width: 1620px;
      margin:0 auto;
}
.products-swiper{
    min-height: 360px;
}
.products-pagination {
  text-align: center;
  margin: 12px 0;
  bottom:10px !important;

}
.products-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 0.9;
  margin: 0 4px;
}
.products-pagination .swiper-pagination-bullet-active {
  background: #c00;
  width: 16px;
}
.product-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 10px;

}
.product-card {
  width: calc(20% - 16px);
  text-align: center;
  box-sizing: border-box;
  height: 260px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background: #fff;
}
@media (max-width: 991px) {
  .product-card { width: calc(50% - 10px); }
}
@media (max-width: 575px) {
  .product-card { width: 100%; }
}
.product-thumb {
  height: 160px;
  overflow: hidden;
  border-radius: 6px;
  background: #f5f5f5;
}
.product-thumb img {
  width: 100%;
  height: auto;
  max-height: 180px; /* 限制图片最大高度，避免撑开太多 */
  object-fit: contain;
}
.product-desc {
  margin: 8px 0;
  font-size: 13px;
  color: #555;
  min-height: 18px;
}
.btn-customize {
  display: inline-block;
  padding: 5px 12px;
  background: #c00;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
}


/*1111*/
/* 1. 确保 swiper 分页和按钮在同一容器中 */
.products-swiper-section .swiper-container {
  position: relative;
}

/* 2. 分页点样式 - 保持原样或微调 */
.products-swiper-section .swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px; /* 分页点之间间距 */
  margin-top: 16px;
  padding: 0;
}
.products-swiper-section .swiper-pagination-bullet{
        background: rgba(255, 255, 255, 1) !important;
}
.products-swiper-section .swiper-pagination-bullet{
    width: 60px !important;
    height: 4px !important;
    border-radius: var(--swiper-pagination-bullet-border-radius, 5%);
    transition: all 0.3s ease;
}
.products-swiper-section .swiper-pagination-bullet-active {
    background: #2bc6e9 !important;
    transform: scale(1.1);
}
.products-swiper-section .swiper-pagination-bullet {
    margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 5px) !important;
}
.products-swiper-section .swiper-button-next, .swiper-button-prev{
    top: var(--swiper-navigation-top-offset, 90%) !important;
}
/*.products-swiper-section .button-on-scrollbar{*/
    /* width: 40px !important;   从40px缩小到32px */
     /*height: 40px !important;  从40px缩小到32px */
/*     border: 2px solid var(--swiper-pagination-color, var(--swiper-theme-color));*/
/*     border-radius: 50%;*/
     /*color: #ccc;*/
/*}*/
/* 3. 左右箭头按钮定位调整 - 放到分页点两侧 */
.products-swiper-section .swiper-button-prev.button-on-scrollbar {
  left: auto !important;
  /* right: calc(50% + 200px) !important; 右边距 = 中间偏左一点 */
  transform: translateY(-50%) !important;
  z-index: 10;
}

.products-swiper-section .swiper-button-next.button-on-scrollbar {
  /*left: calc(50% + 200px) !important;*/
  right: auto !important;
  transform: translateY(-50%) !important;
  z-index: 10;
}
/* 1. 强制覆盖Swiper默认样式 */

.products-swiper-section .swiper-button-prev,
.products-swiper-section .swiper-button-next {
  width: 40px !important;          /* 按钮宽度 */
  height: 40px !important;         /* 按钮高度 */
  top: 50% !important;             /* 垂直居中 */
  transform: translateY(-50%) !important; /* 精确垂直居中 */
  margin-top: 0 !important;        /* 清除默认margin */
  background: #fff !important;     /* 背景颜色 */
  border-radius: 50% !important;   /* 圆形按钮 */
  box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
  opacity: 1 !important;           /* 确保完全可见 */
  z-index: 30 !important;          /* 确保在最上层 */
}

/* 2. 移除Swiper默认SVG图标 */
.products-swiper-section .swiper-button-prev:after,
.products-swiper-section .swiper-button-next:after {
  display: none !important; /* 关键：隐藏默认箭头 */
}

/* 3. 创建自定义箭头 */
.products-swiper-section .swiper-button-prev:before,
.products-swiper-section .swiper-button-next:before {
  content: '' !important;
  position: absolute !important;
  font-family: Arial, sans-serif !important;
  font-weight: bold !important;
  color: #2bc6e9 !important; /* 箭头颜色 */
  font-size: 24px !important; /* 箭头文字大小 */
  line-height: 24px !important; /* 垂直居中 */
}

/* 基础样式 - 圆形按钮 */
.products-swiper-section .button-on-scrollbar {
  position: absolute !important;
   top: calc(100% - 22px) !important;
  transform: translateY(-50%) !important;
  width: 40px !important;
  height: 40px !important;
  background: none !important;
  border: 2px solid #2bc6e9;
  /*border: 2px solid blue;  更深的边框，提升对比度 */
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px; /* 控制箭头大小 */
  color: #333;
  cursor: pointer !important;
  transition: all 0.3s ease-out !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 悬停效果 */
.products-swiper-section .button-on-scrollbar:hover {
  transform: translateY(-50%) scale(1.1) !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-color: blue; /* 悬停时边框加深 */
}

/* 使用内容生成箭头符号 */
.products-swiper-section .button-on-scrollbar::before {
  content: ">" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  /*transform: translate(-50%, -50%);*/
  font-size: 16px;
  color: #333;
  font-weight: bold;
  line-height: 1;
  opacity: 1;
  transition: all 0.3s ease-out;
  transform: translate(-50%, -50%) scaleX(0.7) scaleY(2) !important;
  font-size: 25px !important; /* 增大基础字体大小 */
  /*color: #333 !important;*/
  /*font-weight: 900 !important;  加粗字体 */
  font-family: Arial, sans-serif !important; /* 使用更适合变形的字体 */
  line-height: 1 !important;
  letter-spacing: -1px !important; /* 减少字符间距 */
  opacity: 1 !important;
  transition: all 0.3s ease-out !important;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1) !important; /* 增强清晰度 */
}

/* 左右箭头方向调整 */
.products-swiper-section .swiper-button-prev.button-on-scrollbar::before {
  content: "<" !important;
}

.products-swiper-section .swiper-button-next.button-on-scrollbar::before {
  content: ">" !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .products-swiper-section .button-on-scrollbar {
    width: 30px !important;
    height: 30px !important;
    font-size: 14px;
  }
  .products-swiper-section .button-on-scrollbar::before {
    font-size: 14px;
  }
  /* 隐藏左右箭头，使用分页器导航 */
  .products-swiper-section .button-on-scrollbar {
    display: none;
  }
  /* 调整分页器样式 */
  .products-swiper-section .swiper-pagination {
    margin-top: 8px;
    gap: 0px;
    
  }
  .products-swiper-section .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    border-radius: 8px;
  }
  .products-swiper-section .swiper-pagination-bullet-active {
    width: 8px !important;
  }
  .products-pagination {
    margin: -8px 0;
}
}
/* ========== 视频展示 ========== */
/*.vido section{padding:40px 0 !important}*/
.video-showcase {
/*padding-top: 50px;*/
      max-width: 1620px;
      margin:0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  /* 设置默认宽高比 16:9 */
  aspect-ratio: 16 / 9;
  background-color: #000; /* 可选：黑底防闪烁 */
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* 或 cover，根据需求 */
  /*border-radius: 8px; /* 可选圆角 */
}

/* 公司资质板块 */
/*.certificates-section {*/
/*  margin: 50px 0;*/
/*}*/
/*.certificates-swiper {*/
/*      width: 100%;*/
/*      padding-top: 50px;*/
/*      padding-bottom: 50px;*/
/*}*/
/*.certificates-swiper .swiper-slide {*/
/*  width: auto; /* 关键！配合 slidesPerView: 'auto' */
/*  display: flex;*/
/*  justify-content: center;*/
/*  align-items: center;*/
/*  padding: 10px;*/
/*}*/

/*.certificates-swiper img {*/
/*  width: 100%;*/
/*  max-width: 300px;*/
/*  height: auto;*/
/*  border-radius: 8px;*/
/*  box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
/*  transition: transform 0.3s;*/
/*}*/

/*.certificates-swiper img:hover {*/
/*  transform: scale(1.03);*/
/*}*/
/*.certificates-pagination .swiper-pagination-bullet {*/
/*  width: 8px !important;*/
/*  height: 8px !important;*/
/*  background: rgba(255, 255, 255, 0.6) !important;*/
/*  opacity: 1 !important;*/
/*  transition: all 0.3s ease;*/
/*}*/

/*.certificates-pagination .swiper-pagination-bullet-active {*/
/*  background: white !important;*/
/*  transform: scale(1.3);*/
/*}*/


/*  .swiper1 {*/
/*      width: 100%;*/
/*      padding-top: 50px;*/
/*      padding-bottom: 50px;*/
/*    }*/

/*    .swiper-slide1 {*/
/*      background-position: center;*/
/*      background-size: cover;*/
/*      width: 300px;*/
/*      height: 300px;*/
/*    }*/

/*    .swiper-slide1 img {*/
/*      display: block;*/
/*      width: 100%;*/
/*    }*/

/* ========== 公司资质板块 ========== */
.certificates {
  /*margin: 140px 0;*/
}
/*.cert section{padding:0 0 40px 0 !important}*/
.certificates .section-title {
  text-align: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: #333;
   padding-top:40px;
}

/* Swiper 容器必须有固定高度才能显示 coverflow 效果 */
.certificates-swiper {
  width:100%;
  height: 440px; /* 可根据设计调整 */
  padding: 20px 0;
  overflow: hidden;
}

.certificates-swiper .swiper-slide {

   width: 320px; /* 固定宽度，避免 "auto" 计算异常 */
  height: 300px;

  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.certificates-swiper .swiper-slide img {
  width: 280px;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 8px;
  /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);*/
  transition: transform 0.3s ease;
}

.certificates-swiper .swiper-slide-active img {
  transform: scale(1.05);
}

/* 分页器样式 */
/* 分页器的基本样式 */
.certificates-pagination {
    position: relative;
    text-align: center;
    margin-top: 20px; /* 根据需要调整 */
}

.certificates-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 1;
    margin: 0 5px;
    display: inline-block;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.certificates-pagination .swiper-pagination-bullet-active {
    background-color: #c00; /* 激活状态的颜色 */
}

/* 响应式：小屏缩小 slide */
@media (max-width: 768px) {
  .certificates-swiper {
    height: 200px;
  }
  .certificates-swiper .swiper-slide {
    width: 180px;
    height: 80px !important;
  }
  .certificates-swiper .swiper-slide img {
    width: 160px;
    max-height: 160px;
  }
}
    /* News */
    .news{
        padding: 30px;
      max-width: 1620px;
      margin:0 auto;
    }


    /* 新闻内容区域 */
.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}


/* 标题 */
.news-content h4 {
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.news-content h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.news-content h4 a:hover {
  color: #c00;
}
/* 摘要 */
.news-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

/* 日期 + 查看详情 同一行 */
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #888;
}

.news-date {
  flex-shrink: 0; /* 防止被挤压 */
}





 .news .section-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #333;
  position: relative;
  padding-bottom: 12px;
}

.news .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #c00;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* 新闻列表 - Grid 布局 */
.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 单个新闻卡片 */
.news-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 缩略图 */
.news-thumb {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

/* 文字内容区 */
.news-item > div:last-child {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* 日期 */
.news-item > div:last-child > div:first-child {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

/* 标题 */
.news-item h4 {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

.news-item h4 a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.news-item h4 a:hover {
  color: #c00;
}

/* 摘要 */
.news-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

/* 查看详情按钮 */
.news-item a[style*="color:#c00;"] {
  margin-top: auto;
  text-decoration: none;
  font-weight: 600;
  color: #c00 !important;
  align-self: flex-start;
  position: relative;
  padding-left: 0;
}

.news-item a[style*="color:#c00;"]::after {
  content: '→';
  margin-left: 6px;
  opacity: 0;
  transition: opacity 0.2s;
}

.news-item a[style*="color:#c00;"]:hover::after {
  opacity: 1;
}

/* “更多新闻”按钮 */
.news > div[style*="text-align:center"] a {
  display: inline-block;
  padding: 10px 24px;
  background: #f8f8f8;
  color: #c00 !important;
  text-decoration: none;
  border-radius: 30px;
  /*font-weight: 600;*/
  transition: all 0.3s;
  border: 1px solid #eee;
}

.news > div[style*="text-align:center"] a:hover {
  background: #c00;
  color: #fff !important;
  border-color: #c00;
  transform: scale(1.05);
}
.news-item .news-read-more {
  /* 同上样式 */
  color:#c00;
}
    /* Contact */
    .contact-info { background: #f9f9f9; padding: 30px; border-radius: 8px; }
    .contact-row { margin: 10px 0; line-height: 1.8; }

    /* Footer */
    footer {
      background: #333;
      color: #ccc;
      padding: 20px 0;
      font-size: 14px;
    }
    .footer-links { text-align: center; margin-bottom: 15px; }
    .footer-links a { color: #ccc; margin: 0 10px; }
    .copyright { text-align: center; }


/* ========== 新增：移动端适配 ========== */

/* 1. 调整移动端 body padding-top，为固定头部留出空间 */
@media (max-width: 768px) {
  body {
    padding-top: 80px; /* 调整为移动端头部高度 */
  }

  /* 2. 调整 sections 内边距 */
  /*section { padding: 30px 0; }*/

  /* 3. 调整 section titles */
  .section-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  /* 4. 调整 about section */
  .gradient-blue-bg {
    padding: 40px 0;
  }
  .about-section .section-title {
    font-size: 1.8rem; /* 调整公司简介标题大小 */
    margin-bottom: 20px;
  }
  .about-content {
    gap: 20px;
    padding: 20px;
  }
  .about-text {
    min-width: 100%; /* 在小屏上占满宽度 */
    padding: 15px;
    font-size: 14px; /* 调整字体大小 */
  }
  .about-image {
    max-width: 100%; /* 图片占满容器 */
  }

  /* 5. 调整 news section */
  .news-list {
    gap: 20px; /* 减小新闻项间距 */
  }
  .news-item {
    border-radius: 8px; /* 稍微减小圆角 */
  }
  .news-thumb {
    height: 150px; /* 调整缩略图高度 */
  }
  .news-item h4 {
    font-size: 16px; /* 调整标题大小 */
  }
  .news-excerpt {
    font-size: 13px; /* 调整摘要大小 */
  }
  .news-date {
    font-size: 12px; /* 调整日期大小 */
  }
  .news-read-more {
    font-size: 13px; /* 调整按钮文字大小 */
  }
  .news > div[style*="text-align:center"] a {
    padding: 8px 16px; /* 调整更多新闻按钮大小 */
    font-size: 14px;
  }

  /* 6. 调整 contact info */
  .contact-info {
    padding: 20px;
  }
  .contact-row {
    font-size: 14px; /* 调整联系方式文字大小 */
    margin: 8px 0;
  }

  /* 7. 调整 footer */
  .footer-links a {
    font-size: 13px; /* 调整链接文字大小 */
    margin: 0 6px; /* 调整链接间距 */
  }
  .copyright p {
    font-size: 12px; /* 调整版权文字大小 */
  }
}

/* 8. 针对更小屏幕 (如 iPhone SE) 的进一步调整 */
@media (max-width: 480px) {
  body {
    padding-top: 70px; /* 进一步调整头部预留空间 */
  }

  .header-inner {
    padding: 12px 16px; /* 减小头部内边距 */
    background:transparent;
  }
  .logo img {
    height: 40px; /* 进一步缩小 logo */
  }

 /*  section { padding: 20px 0; } /* 进一步减小 section 内边距 */

  .section-title {
    font-size: 20px; /* 进一步减小标题大小 */
   
  }

  .about-section .section-title {
    font-size: 1.6rem;
  }

  .news-list {
    grid-template-columns: 1fr; /* 在超小屏上强制单列 */
    gap: 16px;
  }
  .news-thumb {
    height: 120px;
  }
  .news-item h4 {
    font-size: 15px;
  }
  .news-excerpt {
    font-size: 12px;
  }
  .news-read-more {
    font-size: 12px;
  }

  .products-swiper-section {
    padding: 20px 15px; /* 减小产品区内边距 */
  }

  .certificates .section-title {
    font-size: 20px; /* 调整资质标题大小 */
  }
  .certificates-swiper {
    height: 180px; /* 调整资质轮播图高度 */
  }
  .certificates-swiper .swiper-slide {
    width: 140px; /* 调整资质轮播图卡片宽度 */
  }
  .certificates-swiper .swiper-slide img {
    width: 120px; /* 调整资质轮播图卡片图片宽度 */
    max-height: 120px;
  }
}

/*-   视频板块-*/
    .video-section {
        margin:60px auto;
      width: 1620px; /* 精确宽度 */
      height: 500px; /* 精确高度 */
      position: relative;
      overflow: hidden;
      background-color: #000;
      /*margin: 0 auto;*/
    }

.video-showcase {
  width: 100%;
  max-width: 1620px;
  margin: 0 auto;
  /*padding: 0 20px;*/
}

.video-container {
  position: relative;
  width: 100%;
  /*padding-top: 56.25%; /* 16:9 宽高比 */
  background-color: #000;
  /*border-radius: 12px;*/
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.3));
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-button {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: scale(1.1);
}

.play-button svg {
  transition: all 0.3s ease;
}

.play-button:hover svg circle {
  fill-opacity: 0.3;
}

.play-button svg path {
  transition: fill 0.3s ease;
}

/* 自定义视频控制栏 */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 15px 20px;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
}

.video-container:hover .video-controls {
  opacity: 1;
  transform: translateY(0);
}

.control-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin-right: 15px;
  transition: all 0.2s ease;
}

.control-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.control-btn svg {
  width: 20px;
  height: 20px;
}

.pause-icon {
  display: none;
}

.progress-container {
  flex: 1;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  margin: 0 15px;
}

.progress-bar {
  height: 100%;
  background: #e60012;
  border-radius: 3px;
  position: relative;
  width: 0%;
  transition: width 0.1s linear;
}

.progress-thumb {
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.progress-container:hover .progress-thumb {
  opacity: 1;
}

.time-display {
  color: white;
  font-size: 12px;
  margin-right: 15px;
  font-family: 'Arial', sans-serif;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .play-button {
    width: 60px;
    height: 60px;
  }
  
  .control-btn {
    width: 35px;
    height: 35px;
  }
  
  .video-controls {
    padding: 10px 15px;
  }
  
  .progress-container {
    margin: 0 10px;
  }
}

/* 视频播放时的动画效果 */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

.play-button:hover {
  animation: pulse 1.5s infinite;
}


    /*  margin: 0;*/
    /*  padding: 0;*/
    /*  box-sizing: border-box;*/
    /*}*/
    
    .video-section {
      width: 1620px; /* 精确宽度 */
      height: 500px; /* 精确高度 */
      position: relative;
      overflow: hidden;
      background-color: #000;
      margin: 0px auto;
    }
    
    .video-showcase {
      position: relative;
      width: 100%;
      height: 100%;
    }
    
    .video-container {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    
    #main-video {
      width: 100%;
      height: 100%;
      display: block;
      object-fit: cover; /* 保持比例并覆盖整个区域 */
      background-color: #000;
    }
    
    .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      z-index: 10;
      transition: opacity 0.3s ease;
    }
    
    .video-overlay.hidden {
      opacity: 0;
      pointer-events: none;
    }
    
    .play-button {
      width: 80px;
      height: 80px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    
    .play-button:hover {
      transform: scale(1.1);
    }
    
    .play-button svg {
      filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
    }
    
    .video-controls {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      padding: 12px 20px;
      background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
      display: flex;
      align-items: center;
      z-index: 20;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.3s ease;
    }
    
    .video-container:hover .video-controls {
      opacity: 1;
      transform: translateY(0);
    }
    
    .control-btn {
      background: rgba(255, 255, 255, 0.2);
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      margin-right: 10px;
      transition: all 0.2s ease;
      backdrop-filter: blur(2px);
    }
    
    .control-btn:hover {
      background: rgba(255, 255, 255, 0.3);
      transform: scale(1.05);
    }
    
    .control-btn svg {
      width: 20px;
      height: 20px;
    }
    
    .pause-icon {
      display: none;
    }
    
    .video-playing .play-icon {
      display: none;
    }
    
    .video-playing .pause-icon {
      display: block;
    }
    
    .progress-container {
      flex: 1;
      max-width: 1280px;
      margin: 0 15px;
      height: 5px;
      background: rgba(255, 255, 255, 0.3);
      border-radius: 5px;
      cursor: pointer;
      position: relative;
    }
    
    .progress-bar {
      height: 100%;
      background: #fff;
      border-radius: 5px;
      width: 0%;
      position: relative;
      transition: width 0.1s linear;
    }
    
    .progress-thumb {
      position: absolute;
      right: -6px;
      top: 50%;
      transform: translateY(-50%);
      width: 12px;
      height: 12px;
      background: #fff;
      border-radius: 50%;
      opacity: 0;
      transition: opacity 0.2s ease;
    }
    
    .progress-container:hover .progress-thumb {
      opacity: 1;
    }
    
    .time-display {
      color: white;
      font-size: 14px;
      font-family: Arial, sans-serif;
      margin: 0 10px;
      min-width: 90px;
      text-align: center;
    }
    
    /* 自定义滚动条，保持界面整洁 */
    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    
    ::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 3px;
    }
    
    ::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.5);
      border-radius: 3px;
    }
    
    /* 全屏样式 */
    .fullscreen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw !important;
      height: 100vh !important;
      z-index: 1000;
    }
    
    /* 响应式调整 - 当容器无法显示完整1620px时 */
    @media (max-width: 1620px) {
      .video-section {
        width: 100%;
        max-width: 1620px;
      }
    }
    @media (max-width: 768px) {
    .video-section {
        width: 100%;
        height: auto;
        
    }
    }