/* ==========================================================================
   History Slider
   复刻对标站 .testimonial-one 结构
   布局：左 3 列装饰（双引号 + 环形文字）+ 右 9 列轮播
   ========================================================================== */

.history-slider-section {
  position: relative;
  width: 100%;
  background-color: #ebeff3;
  color: var(--history-slider-text-color, #1a1a1a);
  padding: 80px 0 100px;
  overflow: hidden;
  border-top: 1px solid #d9dde2;
}

@media (max-width: 991px) {
  .history-slider-section {
    padding: 60px 0 80px;
  }
}

.history-slider-container {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding-inline: 20px;
}

.history-slider-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

/* ==========================================================================
   左侧装饰区（双引号 SVG + 环形文字）
   ========================================================================== */

.history-slider-decor {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1199px) {
  .history-slider-decor {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 767px) {
  .history-slider-decor {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
  }
}

.history-slider-spinner {
  position: relative;
  width: 280px;
  height: 280px;
  max-width: 100%;
  color: var(--history-slider-accent-color, #4aab3d);
}

@media (max-width: 991px) {
  .history-slider-spinner {
    width: 220px;
    height: 220px;
  }
}

.history-slider-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 991px) {
  .history-slider-icon {
    width: 80px;
    height: 80px;
  }
}

.history-slider-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  opacity: 0.85;
}

.history-slider-rotate-text {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: history-slider-rotate 16s linear infinite;
}

.history-slider-rotate-text circle {
  stroke-dasharray: 1 3;
  opacity: 0.5;
}

.history-slider-rotate-text-content {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 8px;
  fill: currentColor;
  text-transform: uppercase;
}

@keyframes history-slider-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   右侧轮播区
   ========================================================================== */

.history-slider-content {
  flex: 0 0 75%;
  max-width: 75%;
  padding: 0 12px 0 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 1199px) {
  .history-slider-content {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
  }
}

@media (max-width: 767px) {
  .history-slider-content {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 12px;
  }
}

.history-slider-track-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 56px;
}

.history-slider-track {
  list-style: none;
  margin: 0;
  padding: 0;
}

.history-slider-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transform: translate3d(40px, 0, 0);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.history-slider-slide[data-active] {
  display: block;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 0.05s;
}

/* ==========================================================================
   单个 slide 内容
   ========================================================================== */

.history-slider-item {
  max-width: 760px;
}

.history-slider-year {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  color: var(--history-slider-accent-color, #4aab3d);
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
  padding-left: 50px;
}

.history-slider-year::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 36px;
  height: 1px;
  background-color: var(--history-slider-accent-color, #4aab3d);
  transform: translateY(-50%);
}

.history-slider-quote {
  margin: 0;
  padding: 0;
}

.history-slider-quote p {
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #4a4a4a;
  font-style: normal;
  position: relative;
  padding-left: 28px;
}

.history-slider-quote p::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background-color: var(--history-slider-accent-color, #4aab3d);
  border-radius: 2px;
  opacity: 0.3;
}

@media (max-width: 575px) {
  .history-slider-year {
    font-size: 22px;
    margin-bottom: 18px;
    padding-left: 40px;
  }
  .history-slider-year::before {
    width: 28px;
  }
  .history-slider-quote p {
    font-size: 14px;
    line-height: 1.75;
    padding-left: 20px;
  }
}

/* ==========================================================================
   底部 dots 翻页器
   ========================================================================== */

.history-slider-pager {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  z-index: 3;
  padding: 10px 20px;
  background-color: rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.history-slider-pager-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.history-slider-pager-dot.is-active {
  background-color: var(--history-slider-accent-color, #4aab3d);
  transform: scale(1.2);
}

.history-slider-pager-dot:hover {
  background-color: rgba(0, 0, 0, 0.45);
}

.history-slider-pager-dot.is-active:hover {
  background-color: var(--history-slider-accent-color, #4aab3d);
}
