/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #ffffff;
    color: #333;
    padding: 1em 0;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container img {
    height: 50px;
    width: auto;
}

header h1 {
    font-size: 1.8em;
    margin: 0;
    color: #6c63ff; /* Brand Color */
}

main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

#roadmap h2 {
    text-align: center;
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

#roadmap h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #6c63ff; /* Brand Color */
    margin: 10px auto 0;
    border-radius: 2px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #e0e0e0;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    margin: 30px 0;
    width: calc(50% - 40px); /* Adjusted for spacing */
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: calc(50% + 36px); /* Adjusted for spacing and line width */
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #fff;
    border: 4px solid #6c63ff; /* Brand Color */
    top: 30px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -30px; /* Adjusted for spacing */
}

.timeline-item:nth-child(even)::after {
    left: -30px; /* Adjusted for spacing */
}

.timeline-item h3 {
    margin-top: 0;
    font-size: 1.4em;
    color: #6c63ff; /* Brand Color */
}

.timeline-item p {
    font-size: 0.95em;
    margin-bottom: 10px;
}

.status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.planned {
    background-color: #e0e0e0;
    color: #555;
}

.status.in-progress {
    background-color: #ffeb3b; /* Yellow for In Progress */
    color: #333;
}

.status.completed {
    background-color: #4CAF50; /* Green for Completed */
    color: white;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #f4f7f6;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .timeline::before {
        left: 20px;
        transform: translateX(0);
    }
    .timeline-item {
        width: calc(100% - 60px); /* Adjusted for spacing */
        left: 40px !important; /* Force all items to one side */
        margin-bottom: 30px;
    }
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 40px !important; /* Ensure consistent alignment */
    }
    .timeline-item::after {
        left: -10px !important; /* Adjust dot position */
    }
    header h1 {
        font-size: 1.4em;
    }
    #roadmap h2 {
        font-size: 2em;
    }
}

@media (max-width: 600px) {
    nav {
        flex-direction: column;
        text-align: center;
    }
    .logo-container {
        margin-bottom: 10px;
    }
    header h1 {
        font-size: 1.2em;
    }
    main {
        margin: 20px auto;
        padding: 15px;
    }
    #roadmap h2 {
        font-size: 1.8em;
    }
    .timeline-item {
        padding: 15px 20px;
    }
    .timeline-item h3 {
        font-size: 1.2em;
    }
}

