:root {
    --roadmap-header-color: #1a1a1a;
    --roadmap-body-text-color: #4e4b66;
    --roadmap-body-text-color-white: #fafbfc;
    --roadmap-topper-font-size: clamp(0.8125rem, 1.6vw, 1rem);
    --roadmap-header-font-size: clamp(1.9375rem, 3.9vw, 3.0625rem);
    --roadmap-body-font-size: 1rem;
    --roadmap-section-padding: clamp(3.75rem, 7.82vw, 6.25rem) 1rem;
}

/* ===================================================================
   Base Layout & Containers
=================================================================== */

.comparison-section {
    position: relative;
    max-width: 1400px;
    margin: auto;
    padding: 3rem 1rem;
}

.rm-container {
    width: 100%;
    max-width: 55rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(3rem, 6vw, 4rem);
}

.bg-white {
    background-color: #ffffff;
}

/* ===================================================================
   Component Styles (Headers, Rows, Content Blocks)
=================================================================== */

.split-header {
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 999;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    margin-bottom: 2rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
}

.comparison-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.comparison-content img {
    width: 50%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}

.arrow-contained {
    width: 50px;
    height: 50px;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.arrow-contained::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    border-top: 3px solid #777;
    border-right: 3px solid #777;
    transform: rotate(45deg);
    margin-left: -3px;
}


/* ===================================================================
   Typography Styles
=================================================================== */

.title-side {
    flex: 0 0 42%;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #3296a5;
}

.result-heading {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.rm-topper {
    font-size: var(--roadmap-topper-font-size);
    line-height: 1.2em;
    text-transform: uppercase;
    text-align: inherit;
    letter-spacing: .1em;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
    display: block;
}

.rm-title {
    font-size: var(--roadmap-header-font-size);
    font-weight: 900;
    line-height: 1.2em;
    text-align: inherit;
    max-width: 55rem;
    margin: 0 0 1rem 0;
    color: var(--roadmap-header-color);
    position: relative;
}

.rm-text {
    font-size: var(--roadmap-body-font-size);
    line-height: 1.5em;
    text-align: inherit;
    width: 100%;
    max-width: 40.625rem;
    margin: 0 0 1rem 0;
    color: var(--roadmap-body-text-color);
}

.rm-text:last-of-type {
    margin-bottom: 2rem;
}

.comparison-content h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.comparison-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    padding: 0 1rem; /* This was the cause of the unwanted space */
}

.content-section h5 {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    line-height: 1.6;
    color: #242442;
    font-weight: 400;
    margin-bottom: 2rem;
}


/* ===================================================================
   Responsive Styles (Mobile)
=================================================================== */

@media (max-width: 992px) {
    .title-side {
        display: none;
    }

    /* --- FINAL ADJUSTMENTS FOR INTRO SECTION ON MOBILE --- */
    .intro-content {
        align-items: flex-start;
        text-align: left;
    }

    .intro-content .rm-title {
        font-size: 1.75rem; /* Adjusted for mobile hierarchy */
    }

    .intro-content .rm-text {
        font-size: 1rem !important;/* Matches font size of other mobile paragraphs */
        padding-left: 0;    /* Removes unwanted space from general rule */
        padding-right: 0;   /* Removes unwanted space from general rule */
    }
    /* --- END OF FINAL ADJUSTMENTS --- */


    .comparison-row {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding-bottom: 1rem;
    }

    .comparison-row::after {
        content: '';
        display: block;
        height: 1px;
        background: linear-gradient(to right, #ccc, #eee, #ccc);
        margin-top: 1.5rem;
        width: 100%;
    }

    .old-way::before,
    .new-way::before {
        font-weight: bold;
        margin-bottom: 5px;
        color: var(--primary); 
        display: block;
        font-size: 1.75rem;
    }

    .old-way::before {
        content: "Old Way";
    }

    .new-way::before {
        content: "Omega Way";
    }

    .arrow-contained {
        transform: rotate(90deg);
        width: 45px;
        height: 45px;
    }
}