.journey-section {
  min-height: 300vh;
  position: relative;
  padding: 0px 0;
}

.content-container {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0 50px;
}

.images-container {
  flex: 0.7;
  position: relative;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding-left: 20px;
}

.image-item {
  position: absolute;
  width: 350px;
  height: 350px;
  overflow: hidden;
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-item img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.image-item.top {
  transform: translateY(-150px) scale(0.8);
  opacity: 0.6;
  z-index: 1;
}

.image-item.center {
  transform: translateY(0) scale(1.1);
  opacity: 1;
  z-index: 3;
  /* box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2); */
  border: 5px solid #fff;
}

.image-item.bottom {
  transform: translateY(150px) scale(0.8);
  opacity: 0.4;
  z-index: 1;
}

.text-container {
  flex: 1;
  padding: 110px 80px;
  position: relative;
}

.text-content {
  position: absolute;
  opacity: 0;
  transform: translateY(30px);
  width: 101%;
  top: 0;
  left: 0;
}

.text-content.active {
  opacity: 1;
  transform: translateY(0);
}

.text-content h2 {
  font-family: "Urbanist", Sans-serif;
  font-size: 40px;
  font-weight: 300;
  line-height: 1.2;
  color: #292929;
  margin-bottom: 50px;
  letter-spacing: 2.8px;
}

.text-content .subtitle {
  font-family: "Urbanist", Sans-serif;
  font-size: 16px;
  color: #292929;
  margin-bottom: 20px;
  font-weight: 300;
  letter-spacing: 1.12px;
  max-width: 34%;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.progress-indicator {
  position: absolute;
  right: 0px;
  bottom: 42%;
  /*transform: translateY(-50%);*/
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.progress-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  transition: all 0.3s ease;
  cursor: pointer;
}

.progress-dot.active {
  background: #8b4513;
  transform: scale(1.3);
}

.scroll {
  position: absolute;
  z-index: 5;
  left: -15%;
  writing-mode: sideways-lr;
  /*text-orientation: upright;*/
  text-transform: uppercase;
  color: #000;
  font-size: 11px;
  letter-spacing: 4px;
  word-spacing: 10px;
  font-family: "Urbanist", Sans-serif;
}

/*@media (max-width: 1024px) {*/
/*    .content-container {*/
/*        padding: 0 20px;*/
/*    }*/
    
/*    .images-container {*/
/*        flex: 1;*/
/*    }*/
    
/*    .image-item {*/
/*        width: 250px;*/
/*    }*/
    
/*    .text-content h2 {*/
/*        font-size: 30px;*/
/*    }*/
    
/*    .text-content .subtitle {*/
/*        font-size: 14px;*/
/*    }*/
/*}*/

@media (max-width: 1024px) {
  .content-container {
    flex-direction: column;
    padding: 120px 20px 20px 20px;
  }

  .images-container {
    flex: none;
    height: 50vh;
    margin-bottom: 20px;
    width: 100vw;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .image-item {
    width: 80vw;
    height: 450px;
    position: absolute;
    top: 100%;
    left: 90%;
    transform: translate(-50%, -50%);
  }

  /*.image-item.top {*/
  /*  transform: translateY(-100px) scale(0.7);*/
  /*}*/

  /*.image-item.bottom {*/
  /*  transform: translateY(100px) scale(0.7);*/
  /*}*/
  
  /* Mobile-specific positioning classes */
  .image-item.mobile-left {
    transform: translate(-300%, -50%) scale(0.8);
    opacity: 0;
    z-index: 1;
  }

  .image-item.mobile-center {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    z-index: 3;
  }

  .image-item.mobile-right {
    transform: translate(200%, -50%) scale(0.8);
    opacity: 0;
    z-index: 1;
  }

  .image-item.mobile-hidden {
    transform: translate(350%, -50%) scale(0.6);
    opacity: 0;
    z-index: 0;
  }

  .text-container {
    padding: 0 20px;
    width: 100%;
    flex: none;
  }
  
  .text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .text-content h2 {
    font-size: 3.5vw;
    margin-bottom: 20px;
    text-align: center;
  }

  .text-content .subtitle {
    font-size: 12px;
    max-width: 100%;
    text-align: center;
  }
  
  .progress-indicator {
    position: absolute;
    bottom: 10%;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    gap: 12px;
  }
  
  .scroll {
      display: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .image-item {
    width: 420px;
    height: 600px;
    left: 75%;
  }

  .text-content h2 {
    font-size: 25px;
    max-width: 80%;
  }

  .text-content .subtitle {
    font-size: 14px;
    max-width: 70%;
  }
}
