/*======================================
Theme Name: Canvas
Theme URI:https://canvas.rise-creators.com/
Author: Rise Themes
Author URI: https://risethemes.net/
Template: Divi
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
======================================*/

/* ===== NOTES ==================================================================
 *
 * Discover our premium Divi products: https://elvarstudios.com/
 * =============================================================================== */


 /* Let Lenis control smoothing. */
  html.lenis,
  html.lenis body {
    scroll-behavior: auto !important;
  }



/* =========================================
   PROCESS TIMELINE FOR HOME
========================================= */

.process-timeline {
    position: relative;
}

/* Main horizontal line */
.process-timeline::before {
    content: "";

    position: absolute;

    left: 10%;
    right: 10%;
    top: 22px;

    height: 1px;

    background: #d5d5d5;

    z-index: 0;

    transform-origin: left center;
    transform: scaleX(var(--timeline-progress, 1));
}


/* Individual item */
.process-item {
    position: relative;
    z-index: 1;

    text-align: left;
}


/* Number */
.process-number {
    position: relative;
    z-index: 2;

    width: 44px;
    height: 44px;

    margin-left: auto;
    margin-right: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #bfc3c5;
    border-radius: 50%;

    background: #ffffff;

    box-sizing: border-box;

    font-size: 13px;
    line-height: 1;

    color: #333333;
}


/* Vertical line under circle */
.process-number::after {
    content: "";

    position: absolute;

    width: 1px;
    height: 18px;

    left: 50%;
    top: 100%;

    transform: translateX(-50%);

    background: #d5d5d5;
}


/* Title */
.process-title {
    margin-top: 15px;

    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    color: #222222;
}


/* Description */
.process-description {
    margin-top: 6px;

    font-size: 14px;
    line-height: 1.35;

    color: #777777;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 980px) {

    .process-title {
        font-size: 15px;
    }

    .process-description {
        font-size: 13px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .process-timeline {
        display: block;
    }

    /* Change horizontal line into vertical line */
    .process-timeline::before {
        left: 22px;
        right: auto;

        top: 22px;
        bottom: 22px;

        width: 1px;
        height: auto;
    }

    .process-item {
        display: grid;

        grid-template-columns: 44px 1fr;

        column-gap: 20px;

        margin-bottom: 35px;

        text-align: left;
    }

    .process-number {
        grid-column: 1;
        grid-row: 1 / 4;

        margin: 0;
    }

    .process-number::after {
        display: none;
    }

    .process-title {
        grid-column: 2;
        margin-top: 0;
    }

    .process-description {
        grid-column: 2;
        margin-top: 6px;
    }

}
 
 
