/**
 * Style for Section: dich-vu-lieu-trinh (Slider)
 */

@import url('https://fonts.googleapis.com/css2?family=Agbalumo&family=Open+Sans:ital,wght@0,400;0,600;1,400;1,600&display=swap');

.dv-sec2-outer {
  background-color: #F2EDDC;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 60px 0;
  box-sizing: border-box;
}

.dv-sec2 {
  background-color: transparent;
  padding-top: 0;
  padding-bottom: 0;
}

.dv-sec2-header {
  text-align: center;
  margin-bottom: 30px;
}

.dv-sec2-header h2 {
  font-family: 'Agbalumo', cursive, sans-serif;
  font-size: 32px;
  line-height: 1.25;
  font-weight: 500;
  color: #205B4F;
  margin-bottom: 5px;
}

.dv-sec2-subtitle {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 600;
  color: #585252;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dv-sec2-wrap {
  display: flex;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  background: #fff;
  overflow: hidden;
  align-items: stretch;
}

.dv-sec2-left {
  width: 45%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: #eee;
}

.dv-slides {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
  flex: 1;
}

.dv-container .dv-slides .dv-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  object-fit: cover;
  border-radius: 0;
  z-index: 1;
}

.dv-container .dv-slides .dv-slide.active {
  opacity: 1;
  z-index: 2;
}

.dv-slider-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 3;
  padding: 0 10px;
  box-sizing: border-box;
  pointer-events: none;
}

.dv-slider-btn {
  background: rgba(0, 0, 0, 0.35) !important;
  color: #fff !important;
  border: none !important;
  outline: none !important;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 4px;
  pointer-events: auto;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: none !important;
}

.dv-slider-btn:hover,
.dv-slider-btn:active,
.dv-slider-btn:focus,
.dv-slider-btn:focus-visible,
.dv-slider-btn.active {
  background: #205B4F !important;
  background-color: #205B4F !important;
  color: #fff !important;
  outline: none !important;
  box-shadow: none !important;
}

.dv-slider-progress-track {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 7px;
  background: #E5DFC9;
  border-radius: 10px;
  overflow: hidden;
  z-index: 3;
  cursor: pointer;
}

.dv-slider-progress-fill {
  height: 100%;
  background: #205B4F;
  border-radius: 10px;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s ease;
}

.dv-sec2-right {
  width: 55%;
  display: flex;
  flex-direction: column;
}

.dv-step-item {
  padding: 22px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.4s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dv-step-item:last-child {
  border-bottom: none;
}

.dv-step-item.active {
  background-color: #C9ECE1;
}

.dv-step-item:not(.active):hover {
  background-color: #f4f9f9;
}

.dv-step-title {
  font-family: 'Agbalumo', cursive, sans-serif;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 600;
  color: #585252;
  margin-bottom: 5px;
  pointer-events: none;
}

.dv-step-desc {
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 400;
  color: #585252;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .dv-sec2-header h2 {
    font-size: 28px !important;
  }
}

@media (max-width: 767px) {
  .dv-sec2-header h2 {
    font-size: 25px !important;
  }
  .dv-sec2-wrap {
    flex-direction: column;
  }
  .dv-sec2-left,
  .dv-sec2-right {
    width: 100%;
  }
  .dv-sec2-left {
    height: 350px;
  }
  .dv-slides {
    min-height: 350px;
  }
}
