/* Reveal only when this section stylesheet has loaded. */
html.bymr-css-loading .bymr-section.bymr-process { visibility: visible !important; }

/* ==========================================
   PROCESS TIMELINE
========================================== */
.bymr-process {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
    overflow: hidden;
    font-family: "Inter", sans-serif;
    container-type: inline-size;
    box-sizing: border-box;
}

.bymr-process *,
.bymr-process *::before,
.bymr-process *::after {
    box-sizing: border-box;
}

/* ==========================================
   SCROLL AREA
========================================== */
.bymr-process-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.bymr-process-scroll::-webkit-scrollbar {
    display: none;
}

.bymr-process-scroll.is-dragging {
    cursor: grabbing;
}

/* ==========================================
   TRACK
========================================== */
.bymr-process-track {
    display: flex;
    align-items: stretch;
    width: max-content;
    min-width: 100%;
    padding-top: 8px;
    padding-bottom: 0;
    padding-right: 120px;
}

/* ==========================================
   CARD
========================================== */
.bymr-process-card {
    position: relative;
    flex: 0 0 28.5cqw;
    width: 28.5cqw;
    min-width: 0;
    min-height: 275px;
    padding-left: 38px;
    padding-right: 28px;
}

@supports not (width: 1cqw) {
    .bymr-process-card {
        flex-basis: 28.5vw;
        width: 28.5vw;
    }
}

/* ==========================================
   VERTICAL GRADIENT LINE
========================================== */
.bymr-process-line {
    position: absolute;
    left: 1px;
    top: 6px;
    width: 1px;
    height: 270px;
    background: linear-gradient(
        to bottom,
        #0b9eaa 0%,
        #287f9d 20%,
        #537399 38%,
        #9c458e 63%,
        #cf299b 79%,
        rgba(207, 41, 155, 0.08) 100%
    );
}

/* ==========================================
   CYAN BALL
========================================== */
.bymr-process-dot {
    position: absolute;
    left: -3px;
    top: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #0b9eaa;
    z-index: 5;
}

/* ==========================================
   NUMBER BOX
========================================== */
.bymr-process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 39px;
    height: 40px;
    padding: 0 8px;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 4px;
    color: #c82a9d;
    font-family: "Inter", sans-serif;
    font-size: 21px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0;
    margin-bottom: 10px;
}

/* ==========================================
   TITLE
========================================== */
.bymr-process-title {
    margin: 0 0 10px 0;
    padding: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: 0.03em;
    color: #d1d1d1;
    vertical-align: middle;
}

/* ==========================================
   DESCRIPTION
========================================== */
.bymr-process-description {
    margin: 0;
    padding: 0;
    max-width: 245px;
    overflow-wrap: anywhere;
    font-family: "Inter", sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0.03em;
    color: #a7a7a7;
}

/* ==========================================
   TABLET
========================================== */
@media (max-width: 1024px) {
    .bymr-process-card {
        flex: 0 0 42cqw;
        width: 42cqw;
        padding-left: 34px;
        padding-right: 24px;
    }

    @supports not (width: 1cqw) {
        .bymr-process-card {
            flex-basis: 42vw;
            width: 42vw;
        }
    }

    .bymr-process-title {
        font-size: 22px;
        line-height: 31px;
    }

    .bymr-process-description {
        font-size: 17px;
        line-height: 26px;
    }
}

/* ==========================================
   MOBILE — VERTICAL TIMELINE
   Matches the supplied mobile reference.
========================================== */
@media (max-width: 767px) {
    .bymr-process {
        overflow: hidden;
    }

    .bymr-process-scroll {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        cursor: default;
        user-select: auto;
        -webkit-user-select: auto;
        touch-action: auto;
    }

    .bymr-process-scroll.is-dragging {
        cursor: default;
    }

    .bymr-process-track {
        position: relative;
        display: block;
        width: 100%;
        min-width: 0;
        padding: 10px 20px 28px 0;
    }

    /*
     * One continuous mobile spine instead of a separate line per card.
     * The supplied PNG already contains the cyan top dot and the full
     * cyan -> purple -> magenta gradient.
     */
    .bymr-process-track::before {
        content: "";
        position: absolute;
        z-index: 1;
        left: 12px;
        top: 10px;
        bottom: 34px;
        width: 11px;
        background-image: url("https://bymr.yashomparkash.com/wp-content/uploads/2026/10/Png-Left.png");
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 11px 100%;
        pointer-events: none;
    }

    .bymr-process-card {
        position: relative;
        z-index: 2;
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 0;
        flex: none;
        padding: 0 0 0 49px;
        margin: 0 0 30px;
    }

    .bymr-process-card:last-child {
        margin-bottom: 0;
    }

    /* The continuous PNG spine replaces each desktop line/dot. */
    .bymr-process-line,
    .bymr-process-dot {
        display: none;
    }

    .bymr-process-number {
        min-width: 50px;
        height: 50px;
        padding: 0 10px;
        margin: 0 0 16px;
        border-radius: 5px;
        font-size: 27px;
        line-height: 1;
    }

    .bymr-process-title {
        width: 100%;
        max-width: none;
        margin: 0 0 15px;
        font-size: 24px;
        line-height: 1.3;
        letter-spacing: 0.03em;
    }

    .bymr-process-description {
        width: 100%;
        max-width: 315px;
        margin: 0;
        font-size: 18px;
        line-height: 1.55;
        letter-spacing: 0.03em;
    }
}

@media (max-width: 390px) {
    .bymr-process-track {
        padding-right: 16px;
    }

    .bymr-process-track::before {
        left: 12px;
    }

    .bymr-process-card {
        padding-left: 49px;
        margin-bottom: 29px;
    }

    .bymr-process-description {
        max-width: 300px;
    }
}

@media (max-width: 350px) {
    .bymr-process-card {
        padding-left: 45px;
    }

    .bymr-process-number {
        min-width: 46px;
        height: 46px;
        font-size: 24px;
    }

    .bymr-process-title {
        font-size: 22px;
    }

    .bymr-process-description {
        font-size: 16px;
    }
}
