/* ============================================================
   PROCESS TIMELINE SECTION
   ============================================================ */

.process-timeline {
    width: 100%;
}

.process-timeline__header {
    text-align: center;
    margin-bottom: 56px;
}

.process-timeline__title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
    color: var(--color-trust-blue);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 16px 0;
    padding-top: 12px;
}

.process-timeline__subtitle {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--color-soft-grey);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.process-timeline__steps {
    display: flex;
    flex-direction: column;
    gap: 48px; /* Space between the stacked cards */
    max-width: 800px; /* Constrains the width so it reads comfortably */
    margin: 0 auto;
    padding-bottom: 24px;
    position: relative;
}

/* The vertical connecting line running behind the cards */
.process-timeline__steps::before {
    content: '';
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 45px; /* Aligns exactly with the center of the step number circle */
    width: 2px;
    background-color: rgba(31, 138, 112, 0.2); /* Calm Teal, transparent */
    z-index: 1;
}

.process-timeline__step {
    position: relative;
    background-color: var(--color-white);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 0;
    margin: 0;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    transition: transform var(--motion-fast) ease, box-shadow var(--motion-fast) ease;
    z-index: 2; /* Keep card above the connecting line */
}

.process-timeline__step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(11, 60, 93, 0.1);
}

.process-timeline__step-num {
    position: absolute;
    top: -22px;
    left: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-calm-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-white);
    z-index: 3;
    border: 4px solid var(--color-off-white);
}

.process-timeline__step-body {
    padding: 38px 32px 32px; 
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
}

/* Aligns the icon and title horizontally */
.process-timeline__step-header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.process-timeline__step-icon {
    font-size: 24px;
    color: var(--color-calm-teal);
    display: block;
}

.process-timeline__step-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-trust-blue);
    line-height: 1.35;
    margin: 0;
}

.process-timeline__step-duration {
    display: inline-block;
    background-color: rgba(31, 138, 112, 0.1);
    color: var(--color-calm-teal);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 16px;
    margin-bottom: 16px;
}

.process-timeline__step-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-charcoal);
    line-height: 1.7;
    margin: 0;
}

.process-timeline__step--has-connector::after {
    display: none;
}

@media screen and (max-width: 767px) {
    .process-timeline__header {
        margin-bottom: 40px;
    }

    .process-timeline__steps {
        gap: 40px;
    }

    /* Adjust vertical line position for mobile */
    .process-timeline__steps::before {
        left: 41px; 
    }

    .process-timeline__title {
        font-size: 28px;
        padding-top: 0;
    }

    .process-timeline__subtitle {
        font-size: 16px;
        line-height: 1.65;
        padding: 0 8px;
    }

    .process-timeline__step-body {
        padding: 36px 20px 24px;
    }

    .process-timeline__step-title {
        font-size: 18px;
    }

    .process-timeline__step-description {
        font-size: 15px;
    }

    .process-timeline__step-num {
        left: 20px;
    }
}