/* ROADMAP SECTION */
#roadmap {
    width: 100%;
    padding: 120px 8vw;
    background: #000;
}

.roadmap-title {
    text-align: center;
    color: white;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 60px;
}

.roadmap-title span {
    color: #FF0000;
    text-shadow: 0 0 12px rgba(255, 0, 0, 0.5);
}

/* MAIN ROADMAP CONTAINER */
.roadmap-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

/* CENTER VERTICAL LINE */
.line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: #FF0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    transform: translateX(-50%);
}

/* ROADMAP STEP */
.roadmap-step {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 50px 0;
    position: relative;
}

.roadmap-step.left .step-box {
    margin-right: auto;
}

.roadmap-step.right .step-box {
    margin-left: auto;
}

/* STEP BOX */
.step-box {
    width: 42%;
    background: #0d0d0d;
    padding: 25px 30px;
    border-radius: 12px;
    border: 1px solid #1a1a1a;
    box-shadow: 0 0 18px rgba(255, 0, 0, 0.25);
    transition: 0.3s ease-in-out;
}

.step-box:hover {
    border-color: #FF0000;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.45);
    transform: translateY(-4px);
}

.step-box h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #FF0000;
    margin-bottom: 10px;
}

.step-box p {
    color: #ddd;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* DOT CONNECTOR */
.dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: #FF0000;
    border-radius: 50%;
    border: 3px solid #000;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.6);
}

/* CHECKPOINT (UPGRADED PREMIUM DSS STYLE) */
.checkpoint {
    position: relative;
    width: 100%;
    text-align: center;
    margin: 50px 0;
}

.checkpoint span,
.checkpoint {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(255, 0, 0, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 0, 0, 0.4);
    border-radius: 50px;
    font-weight: 700;
    color: #ff0000;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 0 12px rgba(255,0,0,0.4);
}

/* DOTS ON BOTH SIDES */
.checkpoint::before,
.checkpoint::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 14px;
    height: 14px;
    background: #ff0000;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(255,0,0,0.8);
    border: 3px solid #000;
}

.checkpoint::before {
    left: calc(50% - 190px);
}

.checkpoint::after {
    right: calc(50% - 190px);
}

/* LINE CONNECTORS */
.checkpoint::after,
.checkpoint::before {
    position: absolute;
}

.checkpoint-line {
    width: 100%;
    height: 2px;
    background: rgba(255,0,0,0.4);
    position: absolute;
    top: 50%;
    left: 0;
    z-index: -1;
}

/* MAKE CHECKPOINT PURE CENTERED */
.checkpoint {
    display: flex;
    justify-content: center;
    align-items: center;
}


.section-heading {
    position: relative;
    text-align: center;
    margin: 70px 0 40px;
    z-index: 5; /* ensures heading is above all */
}

/* MASK to hide vertical line behind heading */
.section-heading::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 40px; /* slightly bigger than heading height */
    background: #000; /* same as your page background */
    z-index: -1;
}

/* TEXT STYLE */
.section-heading span {
    display: inline-block;
    padding: 8px 20px;
    font-size: 1.8rem;
    font-weight: 900;
    color: #ff0000;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255,0,0,0.6);
    letter-spacing: 2px;
}


/* MOBILE RESPONSIVE */
@media (max-width: 850px) {
    
    .line {
        left: 10px;
    }

    .roadmap-step {
        flex-direction: row;
    }

    .step-box {
        width: 80%;
        margin-left: 40px !important;
        margin-right: 0 !important;
    }

    .dot {
        left: 10px;
        transform: none;
    }
}
