/* 案例展示横幅样式 */
.cases-banner {
  margin-top: 70px;
  position: relative;
  height: 740px;
  overflow: hidden;
}

.cases-banner .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: none;
}

.cases-banner .carousel-slide.active {
  display: block;
}

.cases-banner .carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 1200px;
  z-index: 10;
}

/* .cases-banner .carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
} */

.cases-banner .carousel-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--primary-color);
  text-align: left;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.cases-banner .carousel-content p {
  font-size: 18px;
  margin-bottom: 30px;
  text-align: left;
  color: var(--primary-color);
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* 案例内容样式 */


.case-page-item {
cursor: pointer;

}
.case-page-item:nth-child(odd){
  background: #F2F7FC;
}
.case-page-item:nth-child(even){
  background: white;
}
.case-page-title {
  font-size: 24px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 26px;
  padding-top: 36px;
}

.case-page-image img {
  width: 100%;
  height: auto;
}

.case-stats {
  padding: 30px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.case-stat {
  display: flex;
  flex-direction: row;
  align-items: center;
  min-width: 300px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(22, 93, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.stat-top{
  display: flex;
  flex-direction: row;
  align-items: center;
}

.stat-icon i {
  font-size: 20px;
  color: var(--primary-color);
}

.stat-info p {
  font-size: 16px;
  color: var(--light-text);
  line-height: 1.6;
  max-width: 30vw;
}

.stat-values {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex: 1;
  min-width: 300px;
  margin-top: 20px;
}

.stat-value {
  text-align: center;
}


.stat-value span:first-child {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
}
.stat-unit{
  font-size: 24px;
  color: #333;
  margin-right: 10px;
}
.stat-label {
  font-size: 14px;
  color: var(--light-text);
  display: block;
}

.stat-value i {
  font-size: 16px;
  margin-top: 5px;
}

.stat-value i.fa-arrow-up {
  color: #00b42a;
}

.stat-value i.fa-arrow-down {
  color: #f53f3f;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .case-stats {
    flex-direction: column;
  }
  
  .stat-values {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .cases-banner {
    height: 300px;
  }
  
  .cases-banner .carousel-content h1 {
    font-size: 32px;
  }
  
  .cases-banner .carousel-content p {
    font-size: 16px;
  }
  
  .case-page-item {
    margin-bottom: 50px;
  }
  
  .stat-values {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .cases-banner {
    height: 250px;
  }
  
  .cases-banner .carousel-content h1 {
    font-size: 24px;
  }
  
  .case-page-title {
    font-size: 20px;
  }
  
  .case-stats {
    padding: 20px;
  }
}