/* =========================================================
   REDU ROADMAP PAGE
   Clean Blue + White Theme
   Easy to Edit
========================================================= */


/* =========================================================
   GENERAL
========================================================= */

.roadmap-page {
    background: #ffffff;
    color: #14213d;
    padding-bottom: 70px;
}

.roadmap-page .container {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;
}


/* =========================================================
   HERO SECTION
========================================================= */

.roadmap-hero {
    padding: 75px 0 45px;
    text-align: center;
}

.roadmap-kicker {
    color: #1769e0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.roadmap-hero h1 {
    font-size: 48px;
    line-height: 1.15;
    margin: 0;
    font-weight: 800;
    color: #14213d;
}

.roadmap-hero h1 span {
    color: #1769e0;
}

.roadmap-hero p {
    max-width: 650px;
    margin: 18px auto 0;
    color: #6b7890;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   SEARCH BOX
========================================================= */

.roadmap-search {
    width: 100%;
    max-width: 650px;
    margin: 30px auto 0;

    display: flex;
    align-items: center;
    gap: 12px;

    background: #ffffff;
    border: 1px solid #dfe6f0;
    border-radius: 12px;

    padding: 14px 18px;

    box-shadow: 0 8px 25px rgba(20, 33, 61, 0.06);
}

.roadmap-search span {
    color: #1769e0;
    font-size: 23px;
    font-weight: bold;
}

.roadmap-search input {
    width: 100%;
    border: none;
    outline: none;

    font-size: 14px;
    color: #14213d;

    background: transparent;
}

.roadmap-search input::placeholder {
    color: #9aa6b8;
}


/* =========================================================
   CATEGORY BUTTONS
========================================================= */

.roadmap-categories {
    display: flex;
    align-items: center;
    gap: 10px;

    overflow-x: auto;

    padding: 10px 0 25px;

    scrollbar-width: none;
}

.roadmap-categories::-webkit-scrollbar {
    display: none;
}

.roadmap-category {
    border: 1px solid #dfe6f0;
    background: #ffffff;

    color: #526078;

    padding: 9px 17px;

    border-radius: 30px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    white-space: nowrap;

    transition: 0.2s ease;
}

.roadmap-category:hover {
    border-color: #1769e0;
    color: #1769e0;
}

.roadmap-category.active {
    background: #1769e0;
    border-color: #1769e0;
    color: #ffffff;
}


/* =========================================================
   ROADMAP GRID
========================================================= */

.roadmap-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}


/* =========================================================
   ROADMAP CARD
========================================================= */

.roadmap-card {
    background: #ffffff;

    border: 1px solid #e1e7f0;

    border-radius: 16px;

    padding: 22px;

    cursor: pointer;

    transition: 0.25s ease;
}

.roadmap-card:hover {
    transform: translateY(-4px);

    border-color: #bcd0ef;

    box-shadow: 0 12px 30px rgba(20, 33, 61, 0.08);
}


/* Card Icon */

.roadmap-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #edf4ff;

    color: #1769e0;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 800;

    margin-bottom: 17px;
}


/* Card Title */

.roadmap-card h3 {
    margin: 0 0 8px;

    font-size: 17px;

    color: #14213d;
}


/* Card Description */

.roadmap-card p {
    margin: 0 0 17px;

    color: #718096;

    font-size: 13px;

    line-height: 1.6;
}


/* Card Bottom Text */

.roadmap-meta {
    color: #1769e0;

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.4px;
}


/* =========================================================
   ROADMAP DETAIL SECTION
========================================================= */

.roadmap-detail-section {
    padding: 65px 0;
}


/* Back Button */

.roadmap-back {
    border: none;

    background: transparent;

    color: #1769e0;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    padding: 8px 0;

    margin-bottom: 30px;
}

.roadmap-back:hover {
    text-decoration: underline;
}


/* =========================================================
   DETAIL HEADER
========================================================= */

.roadmap-detail-header {
    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 25px;

    margin-bottom: 30px;
}

.roadmap-detail-header h2 {
    font-size: 36px;

    margin: 5px 0 10px;

    color: #14213d;
}

.roadmap-detail-header p {
    margin: 0;

    color: #718096;

    font-size: 14px;

    line-height: 1.6;
}


/* Status */

.roadmap-status {
    background: #edf4ff;

    color: #1769e0;

    padding: 9px 14px;

    border-radius: 30px;

    font-size: 11px;

    font-weight: 800;

    white-space: nowrap;
}


/* =========================================================
   ROADMAP FLOW
========================================================= */

.roadmap-flow {
    background: #f7f9fc;

    border: 1px solid #e2e8f0;

    border-radius: 18px;

    padding: 28px;
}


/* Individual Step */

.roadmap-step {
    position: relative;

    display: flex;

    gap: 16px;

    padding-bottom: 25px;
}


/* Connecting Line */

.roadmap-step:not(:last-child)::after {
    content: "";

    position: absolute;

    left: 15px;

    top: 34px;

    width: 2px;

    height: calc(100% - 18px);

    background: #cbd8eb;
}


/* Step Number */

.roadmap-step-number {
    width: 32px;
    height: 32px;

    min-width: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #1769e0;

    color: #ffffff;

    border-radius: 50%;

    font-size: 12px;

    font-weight: 800;

    position: relative;

    z-index: 2;
}


/* Step Content */

.roadmap-step-content {
    padding-top: 3px;
}

.roadmap-step-content h4 {
    margin: 0 0 5px;

    font-size: 15px;

    color: #14213d;
}

.roadmap-step-content p {
    margin: 0;

    color: #718096;

    font-size: 12px;

    line-height: 1.6;
}


/* =========================================================
   REDU CONNECTION
========================================================= */

.roadmap-next {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 20px;
}

.roadmap-next-item {
    background: #ffffff;

    border: 1px solid #e0e6ef;

    border-radius: 10px;

    padding: 10px 14px;

    font-size: 12px;

    font-weight: 700;

    color: #43516a;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .roadmap-hero h1 {
        font-size: 40px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .roadmap-page .container {
        width: 92%;
    }


    .roadmap-hero {
        padding: 50px 0 30px;
    }


    .roadmap-hero h1 {
        font-size: 32px;
    }


    .roadmap-hero p {
        font-size: 14px;
    }


    .roadmap-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }


    .roadmap-card {
        padding: 19px;
    }


    .roadmap-detail-section {
        padding: 45px 0;
    }


    .roadmap-detail-header {
        flex-direction: column;
    }


    .roadmap-detail-header h2 {
        font-size: 29px;
    }


    .roadmap-status {
        align-self: flex-start;
    }


    .roadmap-flow {
        padding: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .roadmap-hero h1 {
        font-size: 28px;
    }

    .roadmap-search {
        padding: 12px 14px;
    }

    .roadmap-card h3 {
        font-size: 16px;
    }

}