* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", sans-serif;
}

.view-more a {
  color: red;
  margin-bottom: 20px;
  display: block;
}
a.moren {
  float: right;
  color: #FFF;
}
.advantages-list div p {
  color: #333;
}
body {
  color: #333;
  line-height: 1.6;
}
/* 头部导航 */
header {
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}
.header-container {
  width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 50px;
}
.logo-text h1 {
  font-size: 22px;
  color: #c00;
}
.logo-text p {
  font-size: 14px;
  color: #666;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}
nav a {
  text-decoration: none;
  color: #0073b1;
  font-weight: 500;
  transition: color 0.3s;
}
nav a:hover {
  color:#0073b1;
}
.header-tel {
  color: #0073b1;
  font-weight: bold;
}
/* 横幅*/
section.banner#home {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
}
.banner {
    width:100%;
}
.banner-img {
    width:100%;
    height:auto;
    display:block;
}
/* 通用样式 */
.container {
  width: 1200px;
  margin: 0 auto;
  padding: 30px 15px;
}
.section-title {
  text-align: center;
  font-size: clamp(22px, 4vw, 32px);
  color:#0073b1;
  /* 最小25px，动态，最大50px */
  margin-bottom: clamp(10px, 5vw, 50px);
  position: relative;
  /* 最小8px，动态，最大15px */
  padding-bottom: clamp(5px, 2vw, 15px);
}
.section-title::after {
  content: '';
  width: 80px;
  height: 3px;
  background-color: #0073b1;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
section {
  padding: 80px 0;
}
/* 核心业务 */
.core-business {
  background-color: #fff;
}
.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  justify-items: center;
  align-items: center;
}
.business-item {
  background-color: #f9f9f9;
  text-align: center;
  border-radius: 8px;
  transition: all 0.4s ease;
  border: 1px solid #eee;
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
}
.business-item:hover {
  background-color: #c00;
  color: #fff;
  transform: translateY(-8px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.business-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
/* 核心优势 */
.core-advantages {
  background-color: #f8f8f8;
}
.advantages-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.advantage-item {
  background-color: #fff;
  padding: 30px;
  border-left: 5px solid #c00;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.advantage-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #c00;
}
/* 实力展示 - 全新双列轮播布局 */
.strength-show {
  background-color: #fff;
}
.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.strength-card {
  background-color: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.strength-card h3 {
  background-color: #c00;
  color: #fff;
  padding: 15px;
  font-size: 18px;
  text-align: left;
  margin: 0;
}
/* 传统轮播容器 */
.carousel {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  padding: 4px 0px;
}
/* 轮播图片列表 */
.carousel-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}
/* 轮播单张图片 */
.carousel-slide {
  min-width: 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 轮播按钮 */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background-color: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-btn:hover {
  background-color: #c00;
}
.prev-btn {
  left: 15px;
}
.next-btn {
  right: 15px;
}
/* 轮播指示器 */
.carousel-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid transparent;
}
.indicator.active {
  background-color: #c00;
  transform: scale(1.2);
}
/* .intro-content p{
    text-indent:2em !important;
}*/

/* 新增：横向滚动容器（合作客户 / 资质证书专用） */
.scroll-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}
.scroll-wrapper {
  display: flex;
  width: max-content;
  /* 滚动速度控制：animation-duration 数值越小速度越快 */
  animation: scrollHorizontal 30s linear infinite;
}
/* 滚动项样式 */
.scroll-item {
  flex: 0 0 auto;
  /*width: 50%;每个项的宽度 */
  height: 300px;
  padding: 10px;
}
.scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 保持图片比例 */
  background-color: #fff;
  border-radius: 4px;
}
/* 横向滚动动画 */
@keyframes scrollHorizontal {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* 滚动到一半（复制内容实现无缝） */
  }
}
/* 鼠标悬停暂停滚动 */
.scroll-container:hover .scroll-wrapper {
  animation-play-state: paused;
}

/* 快速联系 */
.quick-contact {
  background-color: #c00;
  color: #fff;
  padding: 60px 0;
}
.contact-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.contact-info {
  flex: 1;
}
.contact-info p {
  font-size: 20px;
  margin-bottom: 10px;
}
.contact-btn {
  background-color: #fff;
  color: #c00;
  padding: 15px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 18px;
  white-space: nowrap;
}
.contact-btn:hover {
  background-color: #333;
  color: #fff;
  transform: translateY(-3px);
}
/* 企业简介 */
.company-intro {
  background-color: #f8f8f8;
}
.intro-content {
  line-height: 1.8;
  font-size: 16px;
  background-color: #fff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.intro-content h3 {
  font-size: 22px;
  color: #c00;
  margin: 25px 0 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}
/* 底部 */
footer {
  background-color: #035585;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  font-size: 14px;
}

/* hexin图片裁剪 */
a.hexin {
  display: block;
  max-width: 350px;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 350px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
  justify-self: center;
}
a.hexin img {
  max-width: unset !important;
  width:100%;
  height:100%;
  object-fit: cover !important;
  object-position:center !important;
}
.product-center {
  max-width: 1200px;
  margin: 0 auto;
}
.title-section {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.title-section::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background-color: #f8d7da;
  border-radius: 50%;
  opacity: 0.5;
  z-index: -1;
}
.title-section::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 38%;
  width: 12px;
  height: 12px;
  background-color: #f8a8a8;
  border-radius: 50%;
}
.title-section h1 {
  font-size: 32px;
  color: #333;
  font-weight: normal;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.product-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 20px 10px;
}
.product-item img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}
.product-name {
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
}
.product-en-name {
  font-size: 14px;
  color: #666;
}
.view-more {
  text-align: center;
}
.view-more button {
  background-color: #dc3545;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 14px;
  cursor: pointer;
}
.view-more button:hover {
  background-color: #c82333;
}

/* 响应式适配 */
@media (max-width: 1200px) {
  .container, .header-container {
    width: 95%;
  }
  .strength-grid {
    gap: 20px;
  }
}
@media (max-width: 992px) {
  .strength-grid {
    grid-template-columns: 1fr;
  }
  .carousel, .scroll-container {
    height: 300px;
  }
}
@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }
 /* .banner {
    height: 300px;
  }*/
  .banner h2 {
    font-size: 36px;
  }
  .banner p {
    font-size: 18px;
  }
  .business-grid {
    grid-template-columns: 1fr;
  }
  .advantages-list {
    grid-template-columns: 1fr;
  }
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .intro-content {
    padding: 20px;
  }
  .carousel, .scroll-container {
    height: 250px;
  }
  .scroll-item {
    width: 150px; /* 移动端缩小滚动项宽度 */
  }
}
.container img {
    max-width:100%;
    height:auto !important;
}
