/* ==========================================================================
   ITGI Insurance Process Stepper Component Styles
   ========================================================================== */

.itgi-process-stepper-wrapper {
    background-color: #ebf9e8;
    padding: 40px 30px;
    border-radius: 12px;
    margin: 25px 0;
    font-family: inherit;
}

.itgi-stepper-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* Grid Layout */
.itgi-stepper-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Left Timeline Column */
.itgi-stepper-timeline {
    position: relative;
    flex: 1.2;
    padding-left: 5px;
}

/* Vertical Dashed Line behind numbers */
.itgi-stepper-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 25px;
    bottom: 35px;
    border-left: 2px dashed #a5cba1;
    z-index: 1;
}

/* Individual Step Item */
.itgi-step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.itgi-step-item:last-child {
    margin-bottom: 0;
}

/* Step Number Box */
.itgi-step-badge {
    width: 42px;
    height: 42px;
    background-color: #d1f2cf;
    color: #2b5428;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

/* Step Text Content */
.itgi-step-body {
    flex: 1;
}

.itgi-step-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c4233;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.itgi-step-desc {
    font-size: 14px;
    color: #586e5f;
    line-height: 1.5;
    margin: 0;
}

/* Right Media Illustration Column */
.itgi-stepper-media {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.itgi-stepper-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Bottom CTA Button Section */
.itgi-stepper-cta-block {
    margin-top: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itgi-stepper-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #FF7900;
    color: #ffffff !important;
    padding: 10px 12px 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.itgi-stepper-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(29, 78, 216, 0.4);
    color: #ffffff;
    text-decoration: none;
}



.itgi-cta-icon {
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    color: #1d4ed8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Viewports */
/* Responsive Viewports */
@media (max-width: 991px) {
    .itgi-stepper-grid {
        flex-direction: column;
        gap: 30px;
    }

    /* Move the image to the top on mobile view */
    .itgi-stepper-media {
        width: 100%;
        order: -1; /* Moves this block above the timeline */
    }

    .itgi-stepper-timeline {
        width: 100%;
    }

    .itgi-stepper-cta-block {
    display: flex;
    align-items: center;
    justify-content: center;
    }
}

@media (max-width: 576px) {
    .itgi-process-stepper-wrapper {
        padding: 25px 15px;
    }

    .itgi-step-item {
        gap: 14px;
    }

    .itgi-step-badge {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .itgi-stepper-timeline::before {
        left: 22px;
    }

    .itgi-step-title {
        font-size: 16px;
    }

    .itgi-step-desc {
        font-size: 13px;
    }
}