/* 全局样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft YaHei", sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
}

a {
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
}

/* 导航栏 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 50px;
  background: #1f2937;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  user-select: none;
}

.logo {
  font-size: 22px;
  font-weight: bold;
}

.navbar nav a {
  color: white;
  margin: 0 14px;
  text-decoration: none;
  font-size: 15px;
}

.navbar nav a:hover {
  color: #38bdf8;
}

/*轮播图*/
.carousel {
  width: 100%;
  height: 600px;
  overflow: hidden;
  position: relative;
}

.carousel-wrapper {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.8s ease;
}

.slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#banner {
  width: 100%;
  height: 800px;
  background: none;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.switchGroup {
  position: relative;
  height: 800px;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
}

.J_billboardItem {
  position: absolute;
  width: 100vw;
  height: 800px;
  left: 0;
  top: 0;
  display: block;
}

.J_bannerItem {
  width: 100vw;
  height: 800px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 1;
}

/* 装饰层 */
.elemZone {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

/* 左右箭头 */
.imageSwitchBtn_arrow {
  position: absolute;
  z-index: 99;
  top: 50%;
  transform: translateY(-50%);
  width: 71px;
  height: 71px;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}
.arrow_next {
  background: url(./right.png) no-repeat rgba(0, 0, 0, 0.1);
  right: 40px;
}
.arrow_prev {
  background: url(./left.png) no-repeat rgba(0, 0, 0, 0.1);
  left: 40px;
}
.arrow_next:hover {
  background: url(./right.png) no-repeat rgba(0, 0, 0, 0.3);
}
.arrow_prev:hover {
  background: url(./left.png) no-repeat rgba(0, 0, 0, 0.3);
}

/* 服务模块 */
.service {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.service h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #1f2937;
}

.service-content {
  display: flex;
  gap: 30px;
  align-items: center;
}

.service-content .image {
  width: 450px;
  height: 280px;
  background: #dbeafe;
  overflow: hidden;
  border-radius: 8px;
}

.s-img {
  width: 450px;
  height: 280px;
}

.service-content .text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* 评价 */
.reviews {
  background: #fff;
  padding: 50px 20px;
  text-align: center;
}

.reviews h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

/* 容器 */
.testimonials-section {
  //max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

/* 滚动轨道 */
.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scroll 60s linear infinite;
  width: fit-content;
}

/* 反向滚动轨道 */
.testimonials-track.reverse {
  animation-direction: reverse;
  margin-top: 24px;
}

/* 滚动动画 */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* 卡片样式 */
.testimonial-card {
  background-color: #efefef;
  border-radius: 8px;
  padding: 24px;
  min-width: 380px;
  max-width: 380px;
  color: #ffffff;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  user-select: none;
}

.testimonial-card:hover {
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.99);
}

/* 评价内容 */
.testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #433d3d;
  font-weight: 400;
}

/* 用户信息 */
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  object-fit: cover;
  background-color: #222;
}

.user-name {
  font-size: 18px;
  font-weight: 600;
  color: #433d3d;
}

/* 渐变遮罩*/
.testimonials-section::before,
.testimonials-section::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 10;
  pointer-events: none;
}

.testimonials-section::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.testimonials-section::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

/* 响应式适配 */
@media (max-width: 768px) {
  .testimonial-card {
    min-width: 320px;
    padding: 20px;
  }
  .testimonials-section::before,
  .testimonials-section::after {
    width: 60px;
  }
}

.review-box {
  font-size: 18px;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: #f0f9ff;
  border-radius: 10px;
}

/* 合作伙伴 */
.partners {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.partners h2 {
  font-size: 26px;
  margin-bottom: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.item {
  width: 269px;
  height: 175px;
  background: #e5e7eb;
  border-radius: 6px;
}

/* 新闻 */
.news {
  background: white;
  padding: 60px 20px;
  text-align: center;
  user-select: none;
}

.news h2 {
  font-size: 26px;
  margin-bottom: 30px;
}

.news-item {
  max-width: 900px;
  margin: 60px auto;
  text-align: left;
}

.news-item h3 {
  font-size: 18px;
  color: #1f2937;
  margin-bottom: 10px;
}

/* 关于我们 */
.about {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.about div {
  flex: 1;
  min-width: 250px;
}

.about h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.about p {
  line-height: 1.8;
  color: #4b5563;
}
.wx-img {
  width: 200px;
  height: 200px;
  border-radius: 5px;
}

/* 底部 */
footer {
  background: #1f2937;
  color: white;
  text-align: center;
  padding: 25px 0;
  margin-top: 30px;
}
