/* 优化PC端轮播图间距 */
@media (min-width: 992px) {
  .banner-section {
    margin-top: 0 !important;
  }
  .banner-slide {
    aspect-ratio: 1920/600;
    min-height: 600px;
    background-color: #ffffff; /* 确保PC端也是白色 */
  }

}

/* ========== Banner Swiper 轮播样式（适配1920px宽屏） ========== */
.banner-section {
  width: 100%;
  overflow: visible;
}

/* 全屏轮播容器：脱离页面container限制，撑满浏览器宽度 */
.banner-swiper-container-fullwidth {
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0 auto;
}

/* Swiper 核心容器：强制撑满100%，最大1920px */
.banner-swiper {
  width: 100%;
  max-width: 1920px;
  height: auto;
  border-radius: 0;
  overflow: hidden;
  margin: 0 auto;
}

/* 幻灯片：强制100%宽度，高度固定 */
/* ========== Banner轮播恢复铺满状态（核心） ========== */
.banner-slide {
  position: relative;
  width: 100% !important;
  /* 恢复固定高度+最小高度，保证铺满效果 */
  height: 600px;
  min-height: 200px;
  overflow: hidden;
  background-color: #ffffff; /* 保留白色背景（仅极端情况显示） */
}

/* 关键：恢复cover模式，图片铺满容器（裁剪边缘） */
.banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* 恢复为cover，铺满容器，裁剪多余部分 */
  object-position: center center; /* 裁剪时保留图片中心区域（核心内容） */
  max-width: 1920px;
  margin: 0 auto;
}

/* 轮播文字叠加层：居中显示，不被宽度限制 */
.banner-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background-color: rgba(0,0,0,0.5);
  padding: 20px 40px;
  border-radius: 8px;
  max-width: 80%;
  z-index: 10;
}
.banner-slide-content h3 {
  font-size: 2rem;
  margin-bottom: 10px;
  font-weight: bold;
}
.banner-slide-content p {
  font-size: 1rem;
  margin-bottom: 20px;
}

/* 轮播按钮样式：固定位置，不被宽度限制 */
.swiper-button-prev,
.swiper-button-next {
  width: 48px;
  height: 48px;
  background-color: rgba(245, 233, 200, 0.8);
  border-radius: 50%;
  color: #8b5a2b;
  transition: all 0.3s ease;
  top: 50%;
  margin-top: -24px;
}
/* 左侧按钮靠左，右侧按钮靠右 */
.swiper-button-prev {
  left: 20px;
}
.swiper-button-next {
  right: 20px;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #F5E9C8;
  color: #000;
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  font-weight: bold;
}

/* 轮播分页器（指示器）样式：居中显示 */
.swiper-pagination {
  bottom: 20px !important;
}
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background-color: #8b5a2b;
  width: 24px;
  border-radius: 6px;
  transition: width 0.3s ease;
}

/* ========== 核心产品展示（全屏背景色） ========== */
.product-section {
  width: 100%;
  margin: 0;
  padding: 20px 0;
}
.product-section .text-center{
  color:#010101;
  font-weight: bold;
  font-size: 3.5rem;
  font-family: "Candara";
}

/* 全屏背景容器：撑满宽度，设置背景色 */
.product-bg-fullwidth {
  width: 100%;
  max-width: 100%;
  background-color: #3e3c3d !important;
  padding: 50px 0;
}

/* 产品卡片（保留原有样式，仅微调） */
.product-card {
  color: #fff;
  padding: 35px 20px 35px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  text-align: center;
  border:2px solid #585858;
  font-family: "Candara";
  /* 翻转效果基础样式 */
  perspective: 1000px;
  height: 100%;
}

/* 翻转容器 */
.flip-container {
  position: relative;
  width: 100%;
  height: 400px; /* 固定图片容器高度 */
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

/* 鼠标悬停翻转效果 */
.product-card:hover .flip-container,
.hot-product-card:hover .flip-container {
  transform: rotateY(180deg);
}

/* 正面和背面样式 */
.flip-front, .flip-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 背面旋转180度 */
.flip-back {
  transform: rotateY(180deg);
}

/* 产品图片样式 */
.flip-front img, .flip-back img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-card h4 {
  font-size: 28px;
  margin-bottom: 8px;
  border-bottom:2px solid #b3b3b3;
  padding-bottom:15px;
  margin-top: 20px;
}
.product-card p {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: left;
  height: calc(1.5em * 6);
  line-height: 1.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: normal;
}
.product-card a {
  color: #ffd700;
  text-decoration: none;
  font-size: 14px;
  float: left;
}

/* ========== 一站式解决方案 ========== */
.solution-section{
  font-family: "Candara";
  width: 100%;
  padding: 20px 0;
}
.solution-section .text-center{
  color:#010101;
  font-weight: bold;
  font-size: 3.5rem;
}
.solution-section .left-title{
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  padding:0 10px;
}
.solution-section .left-content{
  background: #eed996;
  border-radius: 20px;
}
.solution-section .left-content a{
  color:#fff;
}
.solution-section .left-content p{
  font-size: 24px;
  font-weight: bold;
}
.solution-section .left-content li{
  font-size: 22px;
  font-weight: bold;
}
.solution-section .video{
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}
.solution-section .video iframe{
  height: 440px;
  width: 774px;
}

.btn-quote1 {
  min-width: 180px;
  height: 60px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  font-family: Arial, sans-serif;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 60px;
  text-transform: capitalize;
  background: linear-gradient(to right, #9c27f5, #4169e1);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 30px;
  outline: none;
  box-shadow: 0 2px 8px rgba(156, 39, 245, 0.3);
}


/* ========== 公司介绍 ========== */
.about-section {
  padding: 20px 0;
  width: 100%;
  font-family: "Candara";
}
.about-title {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  text-align: center;
}
.about-section .row{
  background: #3e3c3d;
  padding: 77px 0 40px 0!important;
  margin: 0;
}

/* WHO WE ARE 轮播样式 */
.about-swiper {
  width: 700px;
  height: 500px;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

/* 强制幻灯片尺寸匹配容器 */
.about-swiper .swiper-slide {
  width: 100%;
  height: 100%;
}
.about-swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* 分页指示器样式：放在图片正下方 */
.about-swiper .swiper-pagination {
  bottom: 10px !important;
  left: 0;
  width: 100%;
}
.about-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  margin: 0 5px !important;
}
.about-swiper .swiper-pagination-bullet-active {
  background: #F5E9C8;
  width: 20px;
  border-radius: 5px;
  transition: width 0.3s ease;
}

/* 箭头样式：PC端强制隐藏 */
.about-swiper .swiper-button-prev,
.about-swiper .swiper-button-next {
  display: none !important;
}

.about-section .right-content{
  padding-right: 60px;
}
.about-section .right-content h4{
  font-size: 32px;
}
.about-section .right-content p{
  font-size: 20px;
  line-height: 24px;
  margin-top:30px
}
.about-section .right-content .btn{
  width: 200px;
  height: 50px;
  border:2px solid #fff;
  color: #fff;
  font-size: 22px;
}
.certificate-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

/* ========== 合作客户 ========== */
.partner-section{
  background:#fafbfd;
  font-family: "Candara";
  margin-top:50px;
  width: 100%;
  padding: 20px 0;
}
.partner-section h3{
  text-align: center;
  color:#f6383a;
  font-size: 3.5rem;
  font-weight: bold;
}
.partner-section p{
  text-align: center;
  font-size: 3.5rem;
}
.partner-section ul{
  display: flex;
  flex-wrap: wrap; /* 移动端换行 */
  justify-content: center; /* 居中对齐 */
  list-style: none; /* 移除列表样式 */
  padding-left: 0; /* 移除默认内边距 */
}
.partner-section ul li{
  margin: 10px 20px; /* 移动端减小间距 */
  display: flex;
  align-items: center;
}
.partner-section ul li img {
  max-width: 200px; /* 移动端限制合作伙伴图片宽度 */
  height: auto;
}

/* ========== 优势区域 ========== */
.advantage-section {
  color: #fff;
  padding: 20px 0;
  width: 100%;
  font-family: "Candara";
}
.advantage-section .text-center{
  color:#010101;
  font-weight: bold;
  font-size: 3.5rem;
}
.advantage-bg-fullwidth {
  background-color: #3e3c3d !important;
  padding: 50px 0;
}
.advantage-item {
  margin-bottom: 15px;
  display: flex;
  padding-right: 50px;
}
.advantage-section .oem{
  text-align: center;
  font-size: 55px;
}
.advantage-item h4 {
  font-size: 50px;
  margin-bottom: 5px;
}
.advantage-item p {
  font-size: 20px;
}
.advantage-item img{
  width: 60px;
  height: 65px;
  margin-right: 10px;
  margin-top:10px;
}
.advantage-item div {
  display: flex;
  flex-direction: column;
}

/* ========== VR展示 ========== */
.vrshow {
  font-family: "Candara";
  width: 100%;
}
.vrshow .container{
}
.vrshow .text-center h3{
  color:#fff;
  font-weight: bold;
  font-size: 3.5rem;
  padding-top:50px;
  padding-bottom: 100px;
}

/* ========== 热门产品 ========== */
.hot-product-section {
  padding: 20px 0;
  width: 100%;
  margin: 0;
  font-family: "Candara";
}
.hot-product-section .title{
  color:#010101;
  font-weight: bold;
  font-size: 3.5rem;
  text-align: left!important;
}
.hot-product-bg-fullwidth{
  width: 100%;
  max-width: 100%;
  background-color: #cbcbcb !important;
  padding: 50px 0;
}
.hot-product-bg-fullwidth .border{
  border-color:#000!important;
  margin-bottom: 20px; /* 移动端增加间距 */
  height: 100%;
}

/* 热门产品卡片样式 */
.hot-product-card {
  perspective: 1000px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hot-product-bg-fullwidth h4{
  font-weight: bold;
  margin-top: 20px;
}
.hot-product-bg-fullwidth p{
  font-weight: bold;
  text-align: left;
  height: calc(1.5em * 4);
  line-height: 1.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: normal;
}

/* ========== 新闻博客 ========== */
.news-section {
  padding: 20px 0;
  width: 100%;
  font-family: "Candara";
}
.news-section .text-center{
  color:#010101;
  font-weight: bold;
  font-size: 3.5rem;
  text-align: left!important;
}
.news-card {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 15px;
  text-align: center;
}
.news-card h4{
  height: calc(1.5em * 1);
  line-height: 1.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  text-overflow: ellipsis;
  word-break: break-all;
  white-space: normal;
}
.news-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #8b5a2b;
  font-size: 16px;
}



/* ========== 响应式适配（核心） ========== */
/* 超小屏 (≤575px) - 手机 */
@media (max-width: 575.98px) {
  .banner-slide {
    height: 200px; /* 手机端固定高度，保证铺满 */
  }
  .banner-slide-content {
    padding: 8px 15px;
    max-width: 90%;
    font-size: 0.8rem;
  }
  .banner-slide-content h3 {
    font-size: 1rem;
  }
  .banner-slide-content p {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  /* 产品展示适配 */
  .product-section .row > div {
    padding: 0 8px;
  }
  .product-section .text-center {
    font-size: 2rem; /* 移动端标题缩小 */
  }
  .product-card {
    padding: 20px 15px; /* 移动端减小内边距 */
  }
  /* 移动端翻转容器适配 */
  .flip-container {
    height: 150px; /* 移动端减小图片容器高度 */
  }
  .product-card h4 {
    font-size: 20px; /* 移动端标题缩小 */
    padding-bottom: 10px;
    margin-top: 15px;
  }
  .product-card p {
    font-size: 14px; /* 移动端文字缩小 */
    height: calc(1.5em * 4); /* 移动端减少显示行数 */
    -webkit-line-clamp: 4;
  }

  /* 解决方案适配 */
  .solution-section .text-center {
    font-size: 2rem;
  }
  .solution-section .left-title {
    font-size: 20px;
  }
  .solution-section .left-content p {
    font-size: 16px;
  }
  .solution-section .left-content li {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .solution-section .video iframe{
    height: 200px;
  }

  /* 公司介绍适配 */
  .about-title {
    font-size: 2rem;
  }
  .about-swiper {
    width: 100%;
    height: auto;
    aspect-ratio: 700/500;
  }
  .about-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    margin: 0 6px !important;
  }
  .about-swiper .swiper-pagination-bullet-active {
    width: 24px;
  }
  .about-section .right-content {
    padding-right: 15px; /* 移动端移除右侧内边距 */
    padding-left: 15px;
  }
  .about-section .right-content h4 {
    font-size: 20px;
    text-align: center;
  }
  .about-section .right-content p {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 15px;
  }
  .about-section .right-content .btn {
    width: 100%; /* 移动端按钮全屏宽 */
    height: 45px;
    font-size: 18px;
    margin-top: 20px;
  }
  .about-section .row {
    padding: 30px 0 20px 0 !important; /* 移动端减小内边距 */
  }

  /* 合作客户适配 */
  .partner-section h3 {
    font-size: 2rem;
  }
  .partner-section p {
    font-size: 1.5rem;
  }
  .partner-section ul li {
    margin: 10px 10px;
  }
  .partner-section ul li img {
    max-width: 120px;
  }

  /* 优势区域适配 */
  .advantage-section .text-center {
    font-size: 2rem;
  }
  .advantage-item {
    padding-right: 15px;
    margin-bottom: 20px;
  }
  .advantage-item h4 {
    font-size: 24px;
  }
  .advantage-item p {
    font-size: 16px;
  }
  .advantage-item img {
    width: 40px;
    height: 45px;
  }
  .advantage-section .oem {
    font-size: 30px;
  }
  .advantage-bg-fullwidth {
    padding: 30px 0;
    margin:0;
  }

  /* VR展示适配 */
  .vrshow .text-center h3 {
    font-size: 2rem;
    padding-top: 30px;
    padding-bottom: 50px;
  }

  /* 热门产品适配 */
  .hot-product-section .title {
    font-size: 2rem;
    text-align: center !important; /* 移动端标题居中 */
  }
  .hot-product-bg-fullwidth {
    padding: 30px 0;
  }
  .hot-product-bg-fullwidth h4 {
    font-size: 18px;
    margin-top: 15px;
  }
  .hot-product-bg-fullwidth p {
    font-size: 14px;
    height: calc(1.5em * 4); /* 移动端减少显示行数 */
    -webkit-line-clamp: 4;
  }


  /* 新闻博客适配 */
  .news-section .text-center {
    font-size: 2rem;
    text-align: center !important;
  }
  .news-img-placeholder {

  }



  /* 移动端禁用翻转效果（提升体验） */
  .product-card:hover .flip-container,
  .hot-product-card:hover .flip-container {
    transform: none;
  }
}

/* 小屏 (576px - 991px) - 平板 */
@media (min-width: 576px) and (max-width: 991.98px) {
  .banner-slide {
    height: 300px; /* 平板端固定高度，保证铺满 */
  }
  .banner-slide-content h3 {
    font-size: 1.2rem;
  }
  .banner-slide-content p {
    font-size: 0.9rem;
  }
  .swiper-button-prev,
  .swiper-button-next {
    width: 36px;
    height: 36px;
  }
  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 14px;
  }

  /* ========== WHO WE ARE 平板适配核心修改 ========== */
  /* 其他原有样式保持不变，只覆盖以下 WHO WE ARE 相关 */
  .about-swiper {
    width: 100% !important;
    max-width: 500px;
    margin: 0 auto;
    /* 移除固定height，改用aspect-ratio保持原图比例，这里按你轮播图700:500=7:5设置 */
    aspect-ratio: 7/5;
    height: auto !important;
  }
  .about-swiper .swiper-slide {
    width: 100% !important;
    height: 100% !important;
  }
  .about-swiper .swiper-slide img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    background-color: #3e3c3d;
  }
  .about-section .right-content {
    padding: 0 20px;
  }
  .about-section .right-content h4 {
    font-size: 24px;
  }
  .about-section .right-content p {
    font-size: 18px;
    line-height: 1.6;
  }

  /* ========== WHY CHOOSE US 平板适配核心修改 ========== */
  .advantage-section .col-md-4 img {
    max-width: 250px; /* 限制OEM/ODM图片最大宽度 */
    height: auto; /* 高度自适应，不拉伸 */
    margin: 0 auto; /* 图片居中 */
  }
  .advantage-item img {
    width: 50px; /* 优化小图标尺寸 */
    height: 55px;
    flex-shrink: 0; /* 防止图标被压缩 */
  }
  .advantage-item {
    padding-right: 20px; /* 调整内边距，避免内容拥挤 */
    align-items: flex-start; /* 图标和文字顶部对齐 */
  }
  .advantage-item h4 {
    font-size: 28px; /* 优化标题字号 */
  }
  .advantage-item p {
    font-size: 17px; /* 优化正文字号 */
  }

  /* 产品卡片适配 */
  .product-card h4 {
    font-size: 24px;
  }
  .product-card p {
    font-size: 15px;
  }
  .flip-container {
    height: 180px;
  }


}

/* 中屏 (992px - 1799px) */
@media (min-width: 992px) and (max-width: 1799px) {

  .product-card h4 {
    font-size: 26px;
  }
  .advantage-item h4 {
    font-size: 40px;
  }
}

/* 大屏 (≥1800px) */
@media (min-width: 1800px) {

  .banner-section, .solution-section,
  .about-section, .advantage-section,
  .news-section, .partner-section ,.vrshow{
    display: flex;
    justify-content: center;
  }
}

/* 适配1920px以下屏幕 */
@media (max-width: 1920px) {
  .banner-slide img {
    max-width: 100%;
  }
}
