.s2-slider-container {
    /* width: 80%;
    margin: auto;
    position: relative;
    justify-content: center;
    align-items: center; */
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center; /* Center the slides vertically */
    justify-content: center; /* Center the slides horizontally */
}
.s2-slider {
    /* display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center; */
    display: flex;
    transition: transform 0.3s ease;
    height: 100%;
}
.s2-slide {
    /* min-width: 100%;
    display: flex;
    justify-content: space-around; */

    flex-shrink: 0;
    width: 100%;
    height: 100%; /* Match the container height */
    display: flex;
    align-items: center; /* Center images vertically within the slide */
    justify-content: center;
}
.s2-slide img {
    /* width: 80%;
    margin: 0 5px;
    border-radius: 10px;
    transition: transform 0.3s;  */

    max-height: 100%; /* Ensure images do not exceed the container height */
    max-width: 100%; /* Ensure images do not overflow horizontally */
    object-fit: contain;
}
.s2-slide:nth-child(2) img {
    width: 90%; 
}

.s2-progress-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.s2-progress-item {
    width: 22%;
    display: block;
}
/* Arrows */
.arrow-left, .arrow-right {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: #fff;
    background-color: inherit;
    border: none;
    cursor: pointer;
    padding: 10px;
    user-select: none;
  }
  
  .arrow-left {
    left: 20px;
    display: none;
  }
  
  .arrow-right {
    right: 20px;
    display: none;
  }
  
  .s2-slider-container {
    position: relative;
    width: 80%;
    margin: auto;
  }
  
  @media (max-width: 767px) {
    .arrow-left, .arrow-right {
      display: none;
    }
  }
  @media (min-width:768px) and (max-width:1023px){
    .arrow-left {
        left: -20px;
    }
    .arrow-right {
        right: 20px;
    }
    .s2-slide img {
        left: 0;
        width: auto;
        height: 221px;
        object-fit: contain;
        margin-left: -30px;
        justify-content: center;
        align-items: center;
    }
    .s2-slide:nth-child(2) img {
        width: 380px; 
        height: auto; 
        margin-left: -30px;
    }
  }
  

@media (max-width: 767px) {
    .s2-slider-container {
        width: 100%;
        margin: 0 auto;
    }
    .s2-slide {
        justify-content: center; 
        align-items: center; 
        display: flex; 
    }
    .s2-slide img {
        width: 418px;
        height: 221px;
        object-fit: contain;
        margin: 0; 
    }
    .s2-slide:nth-child(2) img {
        width: 320px; 
        height: auto; 
        margin: 0;
    }
    .s2-progress-item {
        width: 100%;
        display: none;
        height: inherit;
    }
    .s2-progress-item.active {
        display: block;
    }
}

.s2-progress-bar {
    height: 8px;
    background-color: #d8d8d8;
    position: relative;
    margin-bottom: 20px;
}

.s2-progress-bar.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: #21db02;
    animation: progress 4s linear forwards;
}

@keyframes progress {
    to {
        width: 100%;
    }
}
.s2-desc-header{
    float: left;
  color: #898989;
  font-size: 22px;
  font-weight: bold;
  margin: 20px 0 20px 0;
  }
  .s2-desc{
    color: #898989;
    font-size: 18px;
    font-weight: 500;
    margin: 20px 0 0 0;
    }
.s2-desc-header.active{
  color: #1a1a1a;
  margin: 20px 0 20px 0;
}
    .s2-desc.active{
        color: #1a1a1a;
        margin: 20px 0 21px 0;
    }