
/* ── How-to Stepper ─────────────────────────────────────────── */
.stepper-badge {
     box-shadow: 0 4px 16px rgba(23, 179, 204, 0.4);
}

/* ── Mobile / tablet (<lg): badge → line → image → title → caption ── */
@media (max-width: 991.98px) {
    /* no full-height stepper line on mobile */
    .how-to-stepper::before { display: none; }

    /* each step stacks vertically, badge centred */
    .how-to-step {
        display: flex;
        flex-direction: column;
        align-items: center;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .how-to-step.step-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* badge centred, pops in */
    .stepper-badge-wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex-shrink: 0;
        transform: scale(0);
        transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s;
    }

    .how-to-step.step-visible .stepper-badge-wrap {
        transform: scale(1);
    }

    /* short connector line from badge down to image */
    .stepper-badge-wrap::after {
        content: '';
        display: block;
        width: 2px;
        height: 28px;
        background: var(--primary-gradient1);
        border-radius: 1px;
        margin-top: 4px;
    }
}

/* ── Desktop (≥lg): center timeline with scroll animations ─── */
@media (min-width: 992px) {
    /* vertical connecting line — starts collapsed, draws on scroll */
    .how-to-stepper::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 2px;
        background: var(--primary-gradient1);
        transform: translateX(-50%) scaleY(0);
        transform-origin: top center;
        z-index: 0;
        transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .how-to-stepper.line-visible::before {
        transform: translateX(-50%) scaleY(1);
    }

    /* badge — centred between the two columns, pops in */
    .stepper-badge-wrap {
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 2;
        margin: 0 !important;
        transform: translate(-50%, -50%) scale(0);
        transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s;
    }

    .how-to-step.step-visible .stepper-badge-wrap {
        transform: translate(-50%, -50%) scale(1);
    }

    /* step content: fade + slide up on scroll */
    .how-to-step {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.55s ease, transform 0.55s ease;
    }

    .how-to-step.step-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* body wrapper not needed on desktop */
    .how-to-step-body { display: contents; }
}

@media (min-width: 991.98px) and (max-width: 1399.98px) {
    .hero .hero-screen-wrapper .ez-ad-software{
       width: 120px;
    }
}

@media (max-width: 991.98px) {
  .rotate-90-lg{
    transform: rotate(90deg);
  }
}

