/* --- Approach Section --- */
.recilens-approach-section {
    padding: 100px 5%;
    background-color: var(--recilens-bg-dark, #0a0a1a);
    position: relative;
    overflow: hidden;
}

.recilens-approach-header {
    text-align: center;
    margin-bottom: 80px;
}

.recilens-approach-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--recilens-text-light, #e0e0ff);
    margin-bottom: 15px;
}

.recilens-approach-subtitle {
    font-size: 1.1rem;
    color: var(--recilens-text-medium, #a0a0c0);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Main Container: Grid Layout --- */
.recilens-approach-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns */
    gap: 60px;
    align-items: flex-start;
}

/* --- Roadmap Layout (Left Column) --- */
.recilens-roadmap {
    position: relative;
    grid-column: 1;
}

.recilens-roadmap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--recilens-primary-blue, #4a69ff), transparent);
    border-radius: 2px;
}

.recilens-roadmap-step {
    display: flex;
    position: relative;
    margin-bottom: 80px;
    opacity: 0; /* Initially hidden for GSAP animation */
    transform: translateX(-30px);
}
.recilens-roadmap-step:last-child {
    margin-bottom: 0;
}

.recilens-roadmap-icon-wrapper {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #101026;
    border: 3px solid var(--recilens-primary-blue, #4a69ff);
    display: grid;
    place-items: center;
    box-shadow: 0 0 20px rgba(74, 105, 255, 0.3);
    z-index: 1;
}

.recilens-roadmap-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--recilens-primary-blue, #4a69ff);
}

.recilens-roadmap-content {
    padding-left: 40px;
}

.recilens-roadmap-step-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--recilens-text-light, #e0e0ff);
    margin-bottom: 10px;
}

.recilens-roadmap-step-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--recilens-text-medium, #a0a0c0);
}

/* --- Image Wrapper (Right Column) --- */
.recilens-roadmap-image-wrapper {
    grid-column: 2;
    position: sticky; /* This makes the image stick */
    top: 150px; /* Stick below the main navigation */
    height: 70vh;
}

.recilens-roadmap-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Responsive adjustments --- */
@media (max-width: 992px) {
    .recilens-approach-container {
        grid-template-columns: 1fr; /* Single column layout */
    }
    .recilens-roadmap-image-wrapper {
        grid-row: 1; /* Image appears on top on mobile */
        position: relative;
        top: 0;
        height: auto;
        width: 100%; /* UPDATED: Allow image to be wider */
        max-width: 400px; /* UPDATED: Increased max size */
        margin: 0 auto 60px auto;
    }
    .recilens-roadmap {
        grid-row: 2;
    }
}

@media (max-width: 576px) {
    .recilens-approach-header {
        margin-bottom: 60px;
    }
    .recilens-roadmap::before { 
        left: 30px; 
    }
    .recilens-roadmap-icon-wrapper { 
        width: 60px; 
        height: 60px; 
    }
    .recilens-roadmap-number { 
        font-size: 1.5rem; 
    }
    .recilens-roadmap-content { 
        padding-left: 25px; 
        text-align: left; /* UPDATED: Ensure text is left-aligned within its container */
    }
    .recilens-roadmap-step-title { 
        font-size: 1.5rem; 
    }
    .recilens-roadmap-step-desc {
        font-size: 0.95rem; /* Slightly smaller for better fit */
    }
     .recilens-approach-container{
        display: block; /* Single column for mobile */
     }
     .element.style{
        transform: translate(0%, -0.072%) !important;
     }
}
