.layout-wrapper {
  display: flex;
  min-height: 100vh;
  overflow: auto;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.layout-wrapper .title {
    position: relative;
    z-index: 3;
    padding: 85px 85px 0 !important;
    max-width: 1920px;
    margin: 0 auto 0 auto;
    width: 100%;
}

.layout-wrapper .title h2 {
    font-size: 46px;
    line-height: 50px;
    /* margin-bottom: 20px; */
    color: #fff;
    font-family: 'Brevia';
    font-weight: 800;
}

.layout-wrapper .disclamer {
    position: relative;
    z-index: 3;
    /* padding-left: 100px; */
    padding-bottom: 0px;
    bottom: 0;
    padding: 0px 85px 50px!important;
    max-width: 1920px;
    margin: 0 auto 0 auto;
    width: 100%;
}

.layout-wrapper .disclamer p {
    font-size: 12px;
    line-height: 1.5;
    color: #fff;
}

.layout-wrapper .img-kn-prod {
    position: absolute;
    z-index: 3;
    /* padding-right: 100px;
    padding-bottom: 30px; */
    bottom: 0;
    right: 0;
    padding: 0 85px !important;
    max-width: 1920px;
    margin: 0 auto 0 auto;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.layout-wrapper .img-kn-prod img {
    max-width: 100%;
    width: 500px;
    height: auto;
}

.layout-wrapper:before {
  content: '';
  height: 10%;
  width: 100%;
  background: linear-gradient(to top, #002F87 0%, #002f8700 100%);
  color: white;
  position: absolute;
  z-index: 2;
  bottom: 0;
}

.progress-list {
  /* width: 50%; */
  width: 40%;
  /* background: linear-gradient(to right, #002F87 50%, #002f8700 100%); */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 40px;
  position: relative;
  z-index: 2;
  /* padding-left: 100px; */

  padding: 50px 85px 40px !important;
  max-width: 1920px;
  margin: 0 auto 0 auto;
  width: 100%;
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.progress-list::before,
.progress-list::after {
  content: '';
  position: absolute;
  left: 89px;
  width: 2px;
  z-index: 0;
}
@media (max-width:1366px){
	.progress-list::before,
	.progress-list::after {
		left: 64px;
	}
}

.progress-list::before {
  background-color: rgba(255, 255, 255, 0.3);
}

.progress-list::after {
  background-color: white;
  z-index: 1;
  transition: height 0.5s ease-in-out;
}

/* Custom scrollbar for progress list */
.progress-list::-webkit-scrollbar {
  width: 6px;
}

.progress-list::-webkit-scrollbar-track {
  background: transparent;
}

.progress-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
}

.progress-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

.progress-item {   
  cursor: pointer;
  padding-left: 40px;
  position: relative;
  font-family: "Roundelay" ;
  transition: color 0.3s ease-in-out;
  z-index: 5;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.progress-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid white;
  /* background-color: transparent; */
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  z-index: 3;
}

.progress-item.active .item-wrapper .item-content,
.progress-item.completed .item-wrapper .item-content {
  opacity: 1;
}

.progress-item .item-wrapper .item-content {
    opacity: 0.5;
}

.progress-item.active::before,
.progress-item.completed::before {
  background-color: white;
  box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0.3);
}

.progress-item.active {
  color: #FFD700;
  font-weight: bold;
}

.progress-item.completed {
  color: rgba(255, 255, 255, 0.9);
}

.carousel-wrapper {
  flex-grow: 1;
  position: absolute;
  background-size: cover;
  background-position: center right;
  transition: background-image 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  height: 100%;
  will-change: background-image;
  top: 0;
  left: 0;
}

.dl-product-key-features::before{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 70%;
  height: 100%;
  background: linear-gradient(to right, #002F87 50%, #002f8700 100%);
  z-index: 2;
}

section.wrapper {
  width: 100%;
  height: 100%;
  background-size: cover;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 1;
  background-position-x: 130px;
  will-change: opacity;
  
}

.progress-item .item-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.progress-item .item-wrapper .item-content h3 {
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    margin: 0;
    color: #fff;
}

.progress-item .item-wrapper .item-content p {
    font-size: 16px;
    line-height: 20px;
    font-weight: 300;
    color: #fff;
}

.progress-item .item-wrapper .img-item {
    max-width: 150px;
    height: auto;
}

@media screen and (max-width: 1366px) {
    .layout-wrapper .title {
      padding: 85px 60px 0 !important;
    }

    .progress-list {
      padding: 50px 60px 40px !important;
      gap: 35px;
      /* max-height: 65vh; */
      max-height: 100%;
    }

    .layout-wrapper .img-kn-prod {
      padding: 0 60px !important;
    }
    .layout-wrapper .disclamer {
      padding: 0px 60px 50px!important;
    }
}

/* Mobile responsive styles - improved version */
@media screen and (max-width: 1024px) {
  .layout-wrapper {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
  }
  
  .layout-wrapper .title {
    position: relative;
    z-index: 5;
    background: linear-gradient(to bottom, rgba(0, 47, 135, 0.8) 0%, rgba(0, 47, 135, 0) 100%);
    width: 100%;
    padding: 30px 25px 0px !important;
    background: #002F87;
    order: 2;
  }
  
  .layout-wrapper .title h2 {
    font-size: 28px;
    line-height: 34px;
    color: white;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
    margin: 0;
  }
  
  .progress-list {
    width: 100%;
    padding: 25px 20px;
    gap: 25px;
    background: #002F87;
    order: 2;
    position: relative;
    z-index: 3;
    /* box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2); */
    padding: 50px 25px 40px !important;
    max-height: none;
    overflow-y: visible;
    justify-content: flex-start;
  }
  
  .progress-list::before,
  .progress-list::after {
    left: 31px;
  }
  
  .progress-item {
    padding-left: 30px;
    margin-bottom: 5px;
    min-height: 50px;
  }
  
  .progress-item::before {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }
  
  .progress-item .item-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  
  .progress-item .item-wrapper .img-item {
    max-width: 60px;
    height: auto;
    border-radius: 50%;
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);*/
  }
  
  .progress-item .item-wrapper .item-content {
    flex: 1;
  }
  
  .progress-item .item-wrapper .item-content h3 {
    font-size: 18px;
    line-height: 22px;
    margin: 0 0 5px 0;
    font-weight: 600;
  }
  
  .progress-item .item-wrapper .item-content p {
    font-size: 14px;
    line-height: 18px;
    margin: 0;
    opacity: 0.85;
  }
  
  .carousel-wrapper {
    height: 50vh;
    order: 1;
    position: relative;
  }
  
  section.wrapper {
    background-position: center top;
  }
  
  .layout-wrapper .disclamer {
    padding: 15px 20px;
    position: relative;
    order: 3;
    background-color: #002F87;
    width: 100%;
    box-sizing: border-box;
    padding: 0px 25px 20px !important;
  }
  
  .layout-wrapper .disclamer p {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
  }
  
  .layout-wrapper .img-kn-prod {
    position: relative;
    z-index: 4;
    right: unset;
    top:25%;
    padding: 0 25px !important;
    align-items: flex-start;
    order:1;
	  background:var( --e-global-color-primary );
	  justify-content:center;
  }
  
  .layout-wrapper .img-kn-prod img {
    width: 300px;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
  }
  
  .layout-wrapper:before {
    display: none;
  }
  
  .progress-item.active::before,
  .progress-item.completed::before {
    box-shadow: 0 0 8px 5px rgba(255, 255, 255, 0.2);
  }
  
  .progress-item.active .item-wrapper .item-content h3 {
    color: #fff;
  }
  
  .progress-item .item-wrapper .item-content {
    opacity: 0.7;
    transition: opacity 0.3s ease;
  }
  
  .progress-item.active .item-wrapper .item-content,
  .progress-item.completed .item-wrapper .item-content {
    opacity: 1;
  }
  .dl-product-key-features::before{
    display: none !important;
  }
  .carousel-wrapper::after{
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 20%;
    z-index: 2;
    background: linear-gradient(to top, rgb(0 47 135) 0%, rgba(0, 47, 135, 0) 100%);
  }
  .layout-wrapper .img-kn-prod img{
    object-fit: contain !important;
  }
}
