/* 成功案例外层区域样式设置 */
#cases {
  background:#ffffff;
  padding: 100px 0 60px 0;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  text-align: center;
}
#cases::-webkit-scrollbar {
  display: none;
}

#cases h2 {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

#cases p.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}

#cases .case-tabs {
  display: none;
}

#cases .cases-slider-wrap {
  width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

#cases .cases-slider {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollAuto 25s linear infinite;
  will-change: transform;
}

#cases .cases-slider-wrap:hover .cases-slider {
  animation-play-state: paused;
}

@keyframes scrollAuto {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

#cases .case-card {
  width: 246px;
  flex: 0 0 auto;
  background:#ffffff;
  border-radius: 14px;
  transition: all 0.7s cubic-bezier(0.22,1,0.22,1);
  position: relative;
  z-index: 1;
  height: 525px;
  overflow: visible;
  margin-top: 40px;
}

#cases .case-card:hover {
  background-color:#00B2B2;
  transform: scale(1.15);
  z-index: 10;
}

#cases .case-image {
  width: 100%;
  height: 525px;
  background:#ffffff;
  overflow: visible;
}

#cases .case-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#cases .case-card h4,
#cases .case-card p {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

#cases .case-nav {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 0 !important;
}

#cases .case-dots {
  display: flex;
  gap: 8px;
}

#cases .case-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background:#ccc;
  transition: all 0.3s ease;
  cursor: pointer;
}

#cases .case-dots span.active {
  background:#00B2B2;
  transform: scale(1.2);
}