/* ========== Value Section ========== */
.value-section {
  padding: 100px 0 ;
  background: var(--color-bg-light);
}

.section-title {
  font-size: var(--big-font-size);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 56px;
}

/* Accordion */
.value-accordion {
  display: flex;
  height: 550px;
  gap: 4px;
  overflow: hidden;
}

.acc-panel {
  display: flex;
  flex: 0 0 52px;
  transition: flex 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
  overflow: hidden;
  cursor: pointer;
}

.acc-panel.active {
  flex: 1;
  cursor: default;
}

/* Left Tab */
.acc-left {
  width: 56px;
  min-width: 56px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 0;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 12px;
}

.acc-left:hover {
  background: #eef1f5;
}

.acc-left-dots {
  width: 24px;
  height: 24px;
  background-image: url(../img/ind-icon-dot.png);
  background-size: 24px 24px;
  background-repeat: no-repeat;
  /* opacity: 0.4; */
  margin-bottom: 20px;
}

.acc-left-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 16px;
  color: var(--color-text-lighter);
  letter-spacing: 2px;
  margin-bottom: 12px;
  flex: 1;
}

/* .acc-left-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px; 
}*/

/* .acc-left-line {
  width: 2px;
  flex: 1;
  background: var(--color-border);
  min-height: 40px;
  margin-bottom: 12px;
} */

.acc-left-num {
  font-size: 20px;
  color: var(--color-primary);
  font-weight: 700;
}

/* Expand Content */
.acc-expand {
  display: flex;
  flex: 0 0 0;
  opacity: 0;
  transition: flex 0.8s cubic-bezier(0.25, 0.1, 0.25, 1), opacity 0.6s ease;
  overflow: hidden;
}

.acc-panel.active .acc-expand {
  flex: 1;
  opacity: 1;
}

.acc-expand-image {
  width: 35%;
  min-width: 300px;
  overflow: hidden;
  border-radius: 12px;
}

.acc-expand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.acc-expand-content {
  width: 65%;
  min-width: 300px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
  border-radius: 60px 12px 12px 12px;
  background-image: url(../img/nav-active-bg.png);
  background-repeat: no-repeat;
  background-size: auto auto;
  background-position: right bottom;
}

.acc-num {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 102, 255, 0.08);
  color: var(--color-primary);
  border-radius: 4px;
  font-size: 20px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 24px;
  position: relative;
}
.num-dot{
  position: absolute;
  left: -8px;
  top: 0;
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 2px;
}
.acc-title {
  font-size: var(--mid-font-size-sub);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 32px;
  line-height: 26px;
}

.acc-desc {
  font-size: 20px;
  line-height: 36px;
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 80%;
  flex: 1;
}

.acc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: white;
  font-weight: 500;
  width: fit-content;
  transition: all 0.3s ease;
}

.acc-btn:hover {
  background: var(--color-primary-dark);
  transform: translateX(4px);
}

/* Strip */
.acc-strip {
  width: 52px;
  min-width: 52px;
  background: #f8f9fb;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 0;
  border-left: 1px solid #e8eaed;
  position: relative;
  transition: background 0.3s ease;
}

.acc-strip:hover {
  background: #eef1f5;
}

.acc-strip-dots {
  width: 20px;
  height: 20px;
  background-image: radial-gradient(circle, var(--color-primary) 2px, transparent 2px);
  background-size: 8px 8px;
  opacity: 0.4;
  margin-bottom: auto;
}

.acc-strip-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 12px;
  color: var(--color-text-lighter);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.acc-strip-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-lighter);
  margin-bottom: auto;
}

.acc-strip-num {
  font-size: 12px;
  color: var(--color-text-lighter);
  font-weight: 500;
  margin-top: auto;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  /* Tablet/mobile: value accordion becomes a full-width carousel */
  .value-accordion {
    flex-direction: column;
    height: auto;
    position: relative;
  }

  .acc-panel {
    display: none;
    flex: none;
    flex-direction: column;
    border-radius: 16px;
    margin-bottom: 0;
    overflow: hidden;
  }

  .acc-panel.active {
    display: flex;
    animation: acc-slide-next 0.45s cubic-bezier(0.25, 0.1, 0.25, 1) both;
  }

  .value-accordion[data-dir="prev"] .acc-panel.active {
    animation-name: acc-slide-prev;
  }

  .acc-panel.active .acc-expand-image img {
    animation: acc-img-in 0.6s ease both;
  }

  .acc-left {
    display: none;
  }

  .acc-strip {
    display: none;
  }

  .acc-expand {
    flex-direction: column;
  }

  .acc-expand-image {
    width: 100%;
    min-width: auto;
    height: 240px;
  }

  .acc-expand-content {
    width: 100%;
    min-width: auto;
  }

  .acc-dots {
    display: flex;
  }
}

@keyframes acc-slide-next {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes acc-slide-prev {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes acc-img-in {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

/* Carousel dots (mobile/tablet only) */
.acc-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.acc-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c5cdd8;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.acc-dot.active {
  width: 22px;
  border-radius: 4px;
  background: var(--color-primary);
}

@media (max-width: 768px) {
  .acc-expand-image{
    border-radius: 12px 12px 0 0;
  }
  .acc-expand-content {
    padding: 24px;
    border-radius: 0 0 12px 12px;
  }

  .acc-title {
    font-size: 24px;
  }
}

/* ========== Stats Section ========== */
.stats-section {
  padding: 80px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 40px 24px;
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.stat-item:nth-child(1) { transition-delay: 0s; }
.stat-item:nth-child(2) { transition-delay: 0.15s; }
.stat-item:nth-child(3) { transition-delay: 0.3s; }

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 80px;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 80px;
  display: inline;
}

.stat-suffix {
  font-size: var(--mid-font-size);
  font-weight: 700;
  color: var(--color-primary);
  display: inline;
}

.stat-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 24px 0;
}

.stat-dots::before,
.stat-dots::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.3;
}

.stat-dots::before {
  opacity: 1;
}

.stat-label {
  font-size: 20px;
  color: var(--color-text-light);
  font-weight: 400;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding: 30px 0;
  }

  /* .stat-item:last-child {
    border-bottom: none;
  } */

  .stat-number {
    font-size: var(--big-font-size);
  }

  .stat-suffix {
    font-size: 36px;
  }
}
