:root {
    /* --uj-color-primary: #c7203a; 
    --uj-color-secondary: #FEED01;
    --uj-color-text: #243F82; 
    --uj-color-line: #e0e0e0; 
    --uj-color-background: #fcfcfd; 
    --uj-font-family: 'Inter', sans-serif; */

    --uj-color-primary: #fd7086; 
    --uj-color-secondary: #faf064;
    --uj-color-text: #243F82; 
    --uj-color-line: #e0e0e0; 
    --uj-color-background: #fcfcfd; 
    --uj-color-grey: #e7e7e7;
    --uj-font-family: 'Inter', sans-serif;
}

/* body {
    font-family: var(--uj-font-family);
    background-color: var(--uj-color-background);
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
} */



/* Interation 1 */

/*
.uj-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.uj-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 20px 0;
}

.uj-header h1 {
    font-size: 3rem;
    color: var(--uj-color-text);
    font-weight: 800;
    margin-bottom: 10px;
}

.uj-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.uj-timeline-container {
    position: relative;
    padding-bottom: 50px;
}


.uj-timeline-container::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--uj-color-line);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 1;
}

.uj-timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px; 
    position: relative;
    align-items: center;
}


.uj-content-wrapper,
.uj-image-wrapper {
    width: calc(50% - 50px);
    padding: 0 20px;
    box-sizing: border-box;
}

.uj-timeline-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}


.uj-timeline-bullet {
    width: 55px;
    height: 55px;
    background-color: var(--uj-color-primary);
    border: 4px solid var(--uj-color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--uj-color-white);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 0 0 5px rgba(199, 32, 58, 0.1);
    transition: all 0.3s ease-in-out;
}

.uj-timeline-item:hover .uj-timeline-bullet {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 0 8px rgba(199, 32, 58, 0.2);
}


.uj-content-box {
    background-color: var(--uj-color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(36, 63, 130, 0.05); 
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.uj-timeline-item:hover .uj-content-box {
    box-shadow: 0 20px 50px rgba(36, 63, 130, 0.1);
    transform: translateY(-5px);
}

.uj-content-box h2 {
    color: var(--uj-color-primary); 
    margin-top: 0;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.uj-content-box p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}


.uj-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    object-fit: cover;
}

.uj-timeline-item:hover .uj-image {
    transform: scale(1.02);
}





.uj-timeline-item:nth-child(odd) {
    flex-direction: row;
}

.uj-timeline-item:nth-child(odd) .uj-content-box::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--uj-color-white);
    filter: drop-shadow(2px 0px 1px rgba(0,0,0,0.05));
}



.uj-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.uj-timeline-item:nth-child(even) .uj-content-box::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--uj-color-white);
    filter: drop-shadow(-2px 0px 1px rgba(0,0,0,0.05));
}






@media screen and (max-width: 768px) {
    .uj-header h1 {
        font-size: 2.2rem;
    }

    
    .uj-timeline-container::before {
        left: 20px;
        margin-left: 0;
    }

    .uj-timeline-item {
        flex-direction: column !important; 
        align-items: flex-start;
        padding-left: 40px;
        margin-bottom: 50px;
    }

    
    .uj-content-wrapper,
    .uj-image-wrapper {
        width: 100%;
        padding: 0;
        margin-bottom: 25px; 
    }

    
    .uj-timeline-center {
        left: 20px;
        top: 0;
        transform: translate(-50%, -20px);
    }

    
    .uj-content-wrapper { order: 2; }
    .uj-image-wrapper { order: 1; }

    
    .uj-content-box::after {
        content: none !important;
    }
}

*/

.uj-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

.uj-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 20px 0;
}

.uj-header h1 {
    font-size: 3rem;
    color: var(--uj-color-text);
    font-weight: 800;
    margin-bottom: 10px;
}

.uj-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.uj-timeline-container {
    position: relative;
    padding-bottom: 50px;
}

/* Modern Central Vertical Line (Light and thin) */
.uj-timeline-container::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--uj-color-line);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
    z-index: 1;
}

.uj-timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 100px; /* Increased spacing */
    position: relative;
    align-items: center;
}

/* Standardize the wrappers */
.uj-content-wrapper,
.uj-image-wrapper {
    width: calc(50% - 50px);
    padding: 0 20px;
    box-sizing: border-box;
}

.uj-timeline-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* Modern Bullet styles */
.uj-timeline-bullet {
    width: 55px;
    height: 55px;
    background-color: var(--uj-color-primary);
    border: 4px solid var(--uj-color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--uj-color-grey);
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 0 0 5px rgba(199, 32, 58, 0.1);
    transition: all 0.3s ease-in-out;
}

.uj-timeline-item:hover .uj-timeline-bullet {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 0 8px rgba(199, 32, 58, 0.2);
}

/* Content Box Styling (Floating Card) */
.uj-content-box {
    background-color: var(--uj-color-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(36, 63, 130, 0.05); /* Soft shadow based on blue color */
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.uj-timeline-item:hover .uj-content-box {
    box-shadow: 0 20px 50px rgba(36, 63, 130, 0.1);
    transform: translateY(-5px);
}

.uj-content-box h2 {
    /* color: var(--uj-color-primary); */ /* Use Primary for titles for pop */
    color: var(--uj-color-text); /* Use Primary for titles for pop */
    margin-top: 0;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.uj-content-box p {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
}

/* Image Styling */
.uj-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: block;
    object-fit: cover;
}

.uj-timeline-item:hover .uj-image {
    transform: scale(1.02);
}


/* --- DESKTOP LAYOUT CONTROL --- */

/* Odd Items (1, 3, 5): Content LEFT, Image RIGHT. (Default row direction is correct) */
.uj-timeline-item:nth-child(odd) {
    flex-direction: row;
}
/* Pointer for Content (on Left) points right, towards the line */
.uj-timeline-item:nth-child(odd) .uj-content-box::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--uj-color-white);
    filter: drop-shadow(2px 0px 1px rgba(0,0,0,0.05));
}


/* Even Items (2, 4): Image LEFT, Content RIGHT. (Need to reverse content/image wrappers) */
.uj-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}
/* Pointer for Content (on Right) points left, towards the line */
.uj-timeline-item:nth-child(even) .uj-content-box::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: var(--uj-color-white);
    filter: drop-shadow(-2px 0px 1px rgba(0,0,0,0.05));
}


/* ------------------------------------- */
/* --- RESPONSIVENESS (MOBILE VIEW) --- */
/* ------------------------------------- */

@media screen and (max-width: 768px) {
    .uj-header h1 {
        font-size: 2.2rem;
    }

    /* Shift central line to left-side line for mobile */
    .uj-timeline-container::before {
        left: 20px;
        margin-left: 0;
    }

    .uj-timeline-item {
        flex-direction: column !important; /* Force stack */
        align-items: flex-start;
        padding-left: 50px; /* Increased padding to push content right of the line */
        margin-bottom: 50px;
    }

    /* Reset the column widths and padding */
    .uj-content-wrapper,
    .uj-image-wrapper {
        width: 100%;
        padding: 0;
        margin-bottom: 25px; /* Space between content and image on mobile */
    }

    /* Reposition the center bullet to the left line */
    .uj-timeline-center {
        left: 20px;
        top: 0;
        transform: translate(-50%, -20px);
    }

    /* Ensure image is always placed above content on mobile for clean flow */
    .uj-content-wrapper { order: 2; }
    .uj-image-wrapper { order: 1; }

    /* Mobile: Remove all desktop pointer styling */
    .uj-content-box::after {
        content: none !important;
    }
}