.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.slide {
    display: none;
    width: 100vw;
    height: 100vh!important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    display: block;
    opacity: 1;
}

.slide img {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
    transition: transform 0.8s ease-in-out, scale 0.8s ease-in-out;
}

.slide.active img {
    transform: translateX(-50%) scale(1);
}

.slide:not(.active) img {
    transform: translateX(-50%) scale(1.1);
}

/* Content wrapper to center content and progress bar */
.content-wrapper {
    position: relative;
    max-width: 90%;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    width: 90%!important;
    z-index: 2;
    padding: 0 20px;
    color: #fff;
    z-index: 3;
	text-align: left
}

.slide-title,
.slide-description,
.slide-button {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.slider-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: "Houschka Pro";
  }
  
  .btn-text {
    font-weight: 500;
  }
  
  .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
  }
  
  .btn-icon svg {
    position: absolute;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
  }
  
  .slider-btn:hover .btn-icon svg {
    transform: translateX(30px);
  }
  
  .slider-btn .btn-icon svg:nth-child(2) {
    transform: translateX(-30px);
    opacity: 0;
  }
  
  .slider-btn:hover .btn-icon svg:nth-child(1) {
    opacity: 0;
  }
  
  .slider-btn .btn-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    z-index: 1;
  }
  
  /* Add this for the arrow coming in from left effect */
  
  @keyframes slideIn {
    0% {
      transform: translateX(-30px);
      opacity: 0;
    }
  
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
.slider-btn:hover .btn-icon::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'%3E%3C/path%3E%3Cpath d='m12 5 7 7-7 7'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: slideIn 0.3s forwards;
    animation-delay: 0.15s;
}

/* Slider title styles */
.slide-title {
    color: #FFF;
    font-family: "Houschka Pro", sans-serif;
    font-size: 64px;
    font-style: normal;
    font-weight: 500;
    line-height: 115%;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

/* Slider subtitle styles */
.slide-description {
    color: #FFF;
    font-family: "Houschka Pro", sans-serif;
    font-size: 48px;
    font-style: normal;
    font-weight: 300;
    line-height: 115%;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.2s;
}

.slide-button {
    display: inline-flex;
    align-items: center;
    color: #FFF;
    text-decoration: none;
    font-family: "Houschka Pro", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 40px;
}

.slide-button::after {
    content: '';
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M14 5L21 12M21 12L14 19M21 12H3" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    width: 20px;
    height: 20px;
    margin-left: -10px;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.slide-button:hover {
    color: rgba(255, 255, 255, 0.9)!important;
}

.slide-button:hover::after {
    opacity: 1;
    transform: translateX(10px);
    margin-left: 0;
}

.slide.active .slide-title,
.slide.active .slide-description,
.slide.active .slide-button {
    opacity: 1;
    transform: translateY(0);
}


/* Add a dark overlay to make text more readable */
.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 45%, rgba(0, 0, 0, 0.60) 96%), 
                linear-gradient(0deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%);
    z-index: 1;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

.slide.active::before {
    opacity: 1;
}

.progress-bar {
    display: flex;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1400px;
    z-index: 4;
    gap: 15px;
}

.indicator-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
    flex: 1;
}

.indicator-group:hover .indicator-title {
    opacity: 1;
}

/* Add tooltip styles */
.progress-segment::after {
    content: attr(data-title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    margin-bottom: 10px;
}

/* Add preview styles */
.slide-preview {
    position: absolute;
    bottom: calc(100% + 20px);
    left: 0;
    width: 250px;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* Preview triangle pointer */
.slide-preview::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 20px;
    width: 16px;
    height: 16px;
    background: white;
    transform: rotate(45deg);
    border-radius: 2px;
}

.progress-segment:hover + .slide-preview,
.progress-segment:hover .indicator-title {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.indicator-group:hover .slide-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #E38E38 0%, #CF3830 100%);
    transition: width 5s linear;
}

.completed .fill {
    width: 100%;
}

/* Responsive Styles */
/* Responsive Styles */
@media screen and (max-width: 1440px) {
    .progress-bar {
        width: 95%;
    }
    .slide-title {
        font-size: 56px;
    }
    .slide-description {
        font-size: 42px;
    }
}

@media screen and (max-width: 1024px) {
    .indicator-group {
        padding: 0 8px;
        gap: 8px;
    }

    .indicator-title {
        font-size: 12px;
    }

    .slide-preview {
        width: 200px;
        height: 120px;
    }

    .slide-title {
        font-size: 48px;
    }
    .slide-description {
        font-size: 36px;
    }

    .slider-container .slide {
        height: 600px; /* Adjust height for tablets */
    }
}

@media screen and (max-width: 768px) {
    .progress-bar {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        gap: 6px;
        bottom: 20px;
    }

    .indicator-group {
        flex: 0.2;
        transition: flex 0.3s ease;
        padding: 0;
        gap: 0;
    }

    .indicator-group.active {
        flex: 1;
    }

    .indicator-title {
        display: none;
    }

    .progress-segment {
        height: 3px;
    }

    .slide-preview {
        display: none;
    }

    .slide-title {
        font-size: 42px;
    }
    .slide-description {
        font-size: 32px;
    }
}

@media screen and (max-width: 767px) {
    .slider-container .slide {
        height: 400px; /* Adjust height for mobile */
    }
}

@media screen and (max-width: 480px) {
    .progress-bar {
        padding: 0 10px;
        gap: 4px;
        bottom: 15px;
    }

    .indicator-group {
        flex: 0.15;
        padding: 0;
    }

    .indicator-group.active {
        flex: 0.8;
    }

    .progress-segment {
        height: 3px;
    }

    .slide-title {
        font-size: 36px;
    }
    .slide-description {
        font-size: 28px;
    }
    .indicator-title {
        display: none!important;
    }

}

/* For very small devices */
@media screen and (max-width: 320px) {
    .indicator-title {
        display: none!important;
    }

    .progress-bar {
        bottom: 15px;
    }
}

/* Add Ken Burns effect */
@keyframes kenBurns {
    0% {
        transform: translateX(-50%) scale(1);
    }
    100% {
        transform: translateX(-50%) scale(1.1);
    }
}

/* Responsive image styles */
.slider-container .slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

