/* 通用样式重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.6;
}
.hero-slide-item {
  height: 400px;
}
/* 标题统一样式 */
h2 {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin: 40px 0 20px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 15px 0 10px;
}
/* 公司介绍 */
.company-intro {
  padding: 20px 10%;
  overflow: hidden;
}

.intro-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px; /* 左右模块间距 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 10px;
}

.intro-list {
  flex: 1;
  min-width: 300px;
}

.intro-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.item-icon {
  flex-shrink: 0;
  margin-right: 15px;
}

.item-text {
  font-size: 14px;
  color: #666;
}

.intro-img {
  flex: 1;
  display: flex;
  justify-content: center;
}

.intro-img img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 创新技术模块 */
.tech-section {
  padding: 20px 10%;
  overflow: hidden;
}

.tech-section p {
  text-align: center;
  margin-bottom: 30px;
  color: #666;
}

.tech-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.tech-card {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
}

.card-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

/* 响应式适配（小屏幕堆叠） */
@media (max-width: 768px) {
  .intro-content {
    flex-direction: column;
  }

  .tech-cards {
    flex-direction: column;
    align-items: center;
  }

  .tech-card {
    width: 100%;
    max-width: 400px;
  }
}

/* 全流程服务体系 */
/* 全流程服务体系模块 */
.service-system {
  padding: 20px 10%;
  overflow: hidden;
}

/* 标题样式 */
.service-system h2 {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

/* 内容容器：图片+文字并排 */
.service-content {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #ffffff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 左侧图片容器 */
.service-img {
  flex: 1;
  min-width: 300px;
}

/* 图片自适应 */
.service-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

/* 右侧文字区域 */
.service-text {
  flex: 2;
  font-size: 14px;
  color: #666666;
}

/* 段落间距 */
.service-text p {
  margin-bottom: 36px;
  line-height: 1.6;
  font-size: 16px;
}

/* 标签容器：换行布局 */
.service-tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 单个标签样式 */
.service-tags span {
  padding: 6px 12px;
  border: 1px solid #2b96f5;
  border-radius: 4px;
  color: #2b96f5;
  font-size: 13px;
  cursor: default;
  transition: all 0.3s ease;
}

/* 标签悬停效果（可选增强） */
.service-tags span:hover {
  background: #2b96f5;
  color: #ffffff;
}

/* 响应式适配：小屏幕堆叠 */
@media (max-width: 768px) {
  .service-content {
    flex-direction: column;
    align-items: center;
  }
  .service-img {
    min-width: auto;
    max-width: 300px;
  }
  .service-text {
    width: 100%;
  }
}

/* 资质证书模块整体布局 */
.certificate-section {
  padding: 20px 10%;
  overflow: hidden;
}

/* 标题样式 */
.certificate-section h2 {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* 第一行证书布局（自动换行） */
.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 40px;
}

/* 证书卡片通用样式 */
.cert-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 19%;
  text-align: center;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

/* 卡片悬停效果 */
.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 证书图片样式 */
.cert-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 12px;
  display: block;
}

/* 证书文字描述 */
.cert-card p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/*  */
/* 证书滑块模块整体布局 */
.certificate-slider {
  padding: 20px 10%;
  overflow: hidden;
  position: relative;
}

/* 滑块容器：控制溢出和按钮定位 */
.slider-container {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* margin: 0 30px; */
}

/* 证书滚动容器样式 */
.slider-content {
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  scrollbar-width: thin;
  margin: 10px;
}
/* 优化 Chrome/Safari 滚动条样式（可选） */
.slider-content::-webkit-scrollbar {
  height: 6px;
}
.slider-content::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}
.slider-content::-webkit-scrollbar-thumb {
  background: #c0c6cc;
  border-radius: 3px;
}
.slider-content::-webkit-scrollbar-thumb:hover {
  background: #86909c;
}

/* 单个证书项 */
.cert-item {
  flex: 0 0 auto; /* 禁止收缩/拉伸 */
  width: 320px; /* 证书宽度（可调整） */
}
.cert-item img {
  width: 100%; /* 图片自适应 */
  height: auto; /* 保持比例 */
  border-radius: 6px; /* 图片圆角 */
  display: block; /* 消除底部间隙 */
}

/* 切换按钮样式 */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 122, 255, 0.2);
  border: 1px solid #e5e5e5;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 10px;
  color: #666;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  line-height: 10px;
}
/* 按钮悬停效果 */
.slide-btn:hover {
  background: #ffffff;
  color: #2b96f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* 左按钮定位 */
.left-btn {
  left: 230px;
}
/* 右按钮定位 */
.right-btn {
  right: 230px;
}

/* 底部说明文字 */
.cert-note {
  text-align: center;
  margin-top: 16px;
  color: #333333;
  font-size: 14px;
  font-weight: bold;
  padding-bottom: 10px;
}

/* 响应式适配（小屏幕优化） */
@media (max-width: 768px) {
  .cert-item {
    width: 240px; /* 缩小证书宽度 */
  }
  .slide-btn {
    width: 36px; /* 缩小按钮尺寸 */
    height: 36px;
    font-size: 18px;
  }
}

/* 地图 */

/* 联系我们模块整体布局 */
.contact-section {
  padding: 20px 10%;
  overflow: hidden;
}

/* 标题样式 */
.contact-section h2 {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

/* 容器布局：信息+地图并排 */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

/* 左侧信息区 */
.contact-info {
  /* flex: 1;
  min-width: 280px; */
  /* justify-content: space-between;   */
}
.contact-us {
  flex: none !important;
  min-width: 60%;
}

/* 单个信息项 */
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

/* 图标样式（SVG 矢量图标） */
.icons {
  width: 40px;
  height: 40px;
  background-color: #2196f3; /* 品牌蓝色 */
  border-radius: 50%;
  margin-right: 16px;
  flex-shrink: 0;
  position: relative;
}
/* 电话图标 */
.phone-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none"><path d="M16 12a4 4 0 1 1-8 0 4 4 0 0 1 8 0zm0-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4z" fill="#fff"/></svg>')
    no-repeat center;
  background-size: contain;
  transform: translate(-50%, -50%);
}
/* 地址图标 */
.location-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9a2 2 0 1 1 0-4 2 2 0 0 1 0 4z" fill="#fff"/></svg>')
    no-repeat center;
  background-size: contain;
  transform: translate(-50%, -50%);
}
/* 邮箱图标 */
.email-icon::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none"><path d="M4 4v16l16-8-16-8z" fill="#fff"/></svg>')
    no-repeat center;
  background-size: contain;
  transform: translate(-50%, -50%);
}

/* 信息文字样式 */
.info-text {
  font-size: 14px;
  color: #666;
}
.info-text strong {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

/* 右侧地图区 */
.contact-map {
  flex: 1;
  min-width: 300px;
  height: 300px; /* 地图高度 */
  border-radius: 8px;
  overflow: hidden; /* 隐藏地图API的默认滚动条 */
}

/* 响应式适配（小屏幕堆叠） */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
  .contact-map {
    height: 250px; /* 缩小地图高度 */
  }
}
