/* Roadmap Section Styling */
.roadmap-section {
    background-color: #000000; /* Background color */
    padding: 80px 20px; /* Add some padding */
    text-align: center; /* Center align content */
}

/* Roadmap Heading */
.roadmap-heading {
    font-size: 80px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #ffffff;
    text-transform: uppercase;
}

/* Roadmap Container for Cards */
.roadmap-container {
    display: flex; /* Arrange cards horizontally */
    justify-content: center; /* Center the cards horizontally */
    align-items: center; /* Center the cards vertically */
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px; /* Adds space between the cards */
    position: relative; /* Make this container relative so we can absolutely position the animation */
}

.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it overlays other content */
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px; /* Slight rounding for consistency */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease; /* Smooth zoom-in effect */
}

.memes-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Space between images */
    justify-content: center; /* Center images */
}

.meme-image {
    width: auto;
    height: 200px; /* Max height */
    border-radius: 50%; /* Rounded images */
    object-fit: cover; /* Ensures the image scales properly */
}

/* Phase Cards */
.phase-card {
    background-color: #00000045;
    width: 280px; /* Ensures all cards are the same size */
    height: 300px;
    padding: 30px;
    border: 1px solid #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1; /* Ensures the cards appear above the timeline */
    margin: 10px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content inside the cards */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for hover */
}

/* Phase Card Title */
.phase-card h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

/* Phase Card List Items */
.phase-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.phase-card ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ffffff;
}

/* Hover Effect */
.phase-card:hover {
    transform: translateY(-10px); /* Lift effect on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Deeper shadow */
}

/* Lottie Animation Styling */
.lottie-animation {
    position: absolute;
    right: -175px; /* Position it to the right of the third card */
    top: 50%;
    transform: translateY(-50%); /* Center the animation vertically */
    z-index: 0; /* Place it behind the card */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .roadmap-container {
        flex-direction: column; /* Stack items vertically on smaller screens */
        align-items: center; /* Center the cards */
    }

    .phase-card {
        margin-bottom: 30px; /* Add space between cards */
        width: 90%; /* Make cards more responsive */
        height: auto; /* Allow flexibility on height */
    }

    .roadmap-heading {
        font-size: 30px;
        font-weight: bold;
        margin-bottom: 40px;
        color: #ffffff;
        text-transform: uppercase;
    }

    /* Adjust Lottie animation size for mobile */
    .lottie-animation {
        position: relative;
        top: auto;
        transform: none; /* Remove vertical centering */
        margin-top: 20px; /* Add space above the animation */
    }
}
