.slider-wrapper {
    display: flex;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.card-track {
    cursor: grab;
    user-select: none;
}


.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: brightness(0.5);
    transition: opacity 0.8s ease, transform 1s ease;
    transform: scale(1.1);
    opacity: 0;
}


.left-content {
    width: 70%;
    color: white;
    padding: 60px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.text-content {
    width: 50%;
}

.timeline-list {
    width: 10%;
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    font-size: 0.5rem;
    font-weight: 500;
    align-items: flex-start;
}

.timeline-list span {
    opacity: 0.5;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    cursor: default;
    border: rgb(235 195 103 / 60%) 1px solid;
    border-radius: 50%;
    padding: 6px 10px;
    position: relative;
}

.timeline-list span:after {
    left: 50%;
    bottom: -12px;
    width: 1px;
    height: 12px;
    content: "";
    position: absolute;
    background-color: rgb(235 195 103 / 60%);
    transform: translate(-50% -50%);
}

.timeline-list span:last-child:after {
    position: static;
}

.timeline-list .active {
    color: #fff;
    opacity: 1;
    font-weight: bold;

}

.timeline-list span.active {
    background-color: rgb(255 255 255 / 20%);
}


.left-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: #F3CC6E;
    background: linear-gradient(225deg, rgba(243, 204, 110, 1) 50%, rgba(179, 125, 45, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.left-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}



.right-carousel {
    width: 30%;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.card-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.card {
    min-width: 300px;
    height: 380px;
    margin: 0 10px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.arrow-btn {

    background: rgb(235 195 103 / 60%);
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
}

.arrow-btn:hover {
    background: rgb(235 195 103);
}

.arrow-left {
    left: 10px;
}

.arrow-right {
    right: 10px;
}

.btns {
    position: absolute;
    bottom: 15%;
    right: 10px;
    transform: translateY(-50%);
}

@keyframes slideFromTop {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideFromBottom {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-content h2 {
    animation: slideFromTop 1s ease forwards;
}

.text-content p {
    animation: slideFromBottom 0.5s ease forwards;

}