/* ================= WHY CHOOSE US ================= */
.why-choose {
  padding: 80px 6%;
  background: #f5f7fa;
}

/* HEADER */
.why-header {
  text-align: center;
  margin-bottom: 36px;
}

.why-header h2 {
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 36px;
}

.why-desc {
  max-width: 680px;
  margin: 0 auto 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

/* Explore More */
.why-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e6cff;
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.3s ease;
}

.why-btn:hover {
  gap: 14px;
}

/* SLIDER */
.why-slider {
  position: relative;
  height: 480px;
  border-radius: 28px;
  overflow: hidden;
  background: #000;
}

/* PROGRESS */
/* PROGRESS */
.why-progress {
  position: absolute;
  left: 30px;
  top: 30px;
  bottom: 30px;
  width: 20px;              /* 🔥 REQUIRED */
  z-index: 10;
}

/* THE VERTICAL LINE */
.progress-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.9);
}

/* NUMBER — RIGHT OF LINE */
.progress-num {
  position: absolute;
  left: 10px;               /* 2px line + 8px gap */
  transform: translateY(-50%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: top 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

/* SLIDES */
.why-slides {
  position: absolute;
  inset: 0;
}

.why-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.why-slide.active {
  opacity: 1;
}

.why-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.2)
  );
}

/* BOTTOM */
.why-bottom {
  position: absolute;
  left: 80px;
  right: 30px;
  bottom: 30px;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.why-bottom h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.why-bottom p {
  font-size: 14px;
  opacity: 0.9;
}

/* ARROW */
.why-arrow {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.why-arrow:hover {
  background: #1e6cff;
  transform: translateX(3px);
}

/* MOBILE */
@media (max-width: 768px) {
  .why-slider {
    height: 400px;
  }

  .why-bottom {
    left: 50px;
  }
}


/* HEADER ROW LAYOUT */
.why-header-row {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Keep text left-aligned */
.why-header-row .why-desc {
  margin: 0;
  text-align: left;
  flex: 1;
}

/* MOBILE STACK */
@media (max-width: 768px) {
  .why-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .why-btn {
    align-self: flex-start;
  }
}