:root {
    --bg-color: #131732;
    --sec-color: #282c47;
    --sec-color-2: #2a2d35;
    --green: rgb(86, 222, 147);
    --white: #ffffff;
    --border-radius: 12px;
    --shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    --transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --arrow-size: 3rem;
}

.caro-container {
    display: flex;
    width: 100%;
    justify-content: center;
}

.carousel-wrapper {
    position: relative;
    width: 950px;
    display: flex;
    flex-direction: column;
    max-width: 800px;
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    background-color: #131732;
    padding: 20px;
    margin: 20px;
    justify-content: center;
}

.carousel-track-container {
    overflow: hidden;
    width: 750px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    background-color: var(--bg-color);
    position: relative;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.carousel-track-container::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    width: fit-content;
}

.carousel-item {
    width: 750px;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(86, 222, 147, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(86, 222, 147, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(86, 222, 147, 0);
    }
}

.dots-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
}

.dot {
    width: 20px;
    height: 20px;
    background-color: #282c47;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.dot.active {
    background-color: var(--green);
    transform: scale(1.2);
    animation: pulse 1.5s infinite; 
    box-shadow: 0 0 0 0 rgba(86, 222, 147, 0.7);
}

.dot:hover {
    background-color: var(--green);
}

@media (max-width: 600px) {
    .carousel-wrapper {
        scale: 0.7;
    }
}

.timeline-container {
    position: relative;
    padding-left: 0px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5px;
    width: 2px;
    background-color: var(--timeline-line-color);
}

.timeline-item {
    position: relative;
    padding-bottom: 20px;
    padding-left: 30px;
    margin-top: 10px;
    /* Reset text alignment for cleaner flow */
    text-align: left; 
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    left: 0px;
    top: 5px;
    background-color: var(--timeline-line-color);
    border: 2px solid var(--sec-color-2);
    z-index: 1;
}

.timeline-item.active::before {
    background-color: var(--green);
    border-color: var(--green);
    width: 14px;
    animation: pulse 1.5s infinite; 
    height: 14px;
    left: -2px;
    top: 3px;
}

.timeline-date {
    font-weight: bold;
    color: var(--white);
    /* NEW: Set a fixed width to ensure the content following it aligns perfectly */
    display: inline-block;
    width: 160px; /* Increased width to provide good spacing */
}