/* =========================================================
   SV ELECTRICALS
   WORKFLOW PAGE
========================================================= */

.sv-workflow-page {
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index:99;
    padding: 25px 0 20px;
    background: #082b49;
    color: #fff;
}


/* =========================================================
   BACKGROUND
========================================================= */

.sv-workflow-pattern {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(
            90deg,
            rgba(255,255,255,0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            0deg,
            rgba(255,255,255,0.035) 1px,
            transparent 1px
        );

    background-size: 70px 70px;
    opacity: .45;
}


/* diagonal pattern */

.sv-workflow-page::before {
    content: "";
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        repeating-linear-gradient(
            30deg,
            transparent 0px,
            transparent 70px,
            rgba(255,255,255,.045) 71px,
            rgba(255,255,255,.045) 100px,
            transparent 101px,
            transparent 145px
        );

    opacity: .65;
}


/* =========================================================
   GLOW
========================================================= */

.sv-workflow-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.sv-workflow-glow-one {
    width: 320px;
    height: 320px;

    left: -180px;
    top: 180px;

    background: rgba(0,150,255,.08);
}

.sv-workflow-glow-two {
    width: 350px;
    height: 350px;

    right: -180px;
    bottom: 100px;

    background: rgba(0,170,255,.07);
}


/* =========================================================
   WRAPPER
========================================================= */

.sv-workflow-wrapper {
    position: relative;
    z-index: 5;

    width: 100%;
    max-width: 1500px;

    margin: 0 auto;

    padding: 0 35px;
}


/* =========================================================
   HEADER
========================================================= */

.sv-workflow-header {
    position: relative;
    z-index: 5;

    max-width: 850px;

    margin: 0 auto 25px;

    text-align: center;
}


/* label */

.sv-workflow-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #28a9e9;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}


/* heading */

.sv-workflow-header h1 {
    margin: 0;

    color: #fff !important;

    font-size: 32px;
    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -1px;
}


/* blue word */

.sv-workflow-header h1 span {
    display: block;

    color: #087fc8 !important;
}


/* underline */

.sv-workflow-heading-line {
    position: relative;

    width: 78px;
    height: 4px;

    margin: 25px auto 25px;

    border-radius: 10px;

    background: #249fdf;
}

.sv-workflow-heading-line::after {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 100%;
    height: 100%;

    transform: translate(-50%, -50%);

    background: #249fdf;

    border-radius: 10px;

    filter: blur(7px);

    opacity: .35;
}


/* description */

.sv-workflow-header p {
    margin: 0 auto;

    max-width: 800px;

    color: rgba(255,255,255,.72) !important;

    font-size: 16px !important;

    line-height: 1.7 !important;

    font-weight: 400;
}


/* =========================================================
   WORKFLOW AREA
========================================================= */

.sv-workflow-process {

    position: relative;

    display: flex;

    align-items: flex-start;

    justify-content: center;

    width: 100%;

    padding-top: 5px;
}


/* =========================================================
   CONNECTING LINE
========================================================= */

.sv-workflow-connect-line {

    position: absolute;

    left: 5%;
    right: 5%;

    top: 72px;

    height: 2px;

    background: rgba(43,157,211,.55);

    z-index: 1;
}


.sv-workflow-progress {

    display: block;

    width: 100%;
    height: 100%;

    background: #169bd9;

    box-shadow:
        0 0 10px rgba(22,155,217,.6);
}


/* =========================================================
   WORKFLOW ITEM
========================================================= */

.sv-workflow-item {

    position: relative;

    z-index: 4;

    flex: 1;

    max-width: 220px;

    min-width: 150px;

    text-align: center;

    /* IMPORTANT:
       Items are visible by default */
    opacity: 1;

    transform: translateY(0);

    transition:
        transform .45s ease,
        opacity .45s ease;
}


/* =========================================================
   CIRCLE
========================================================= */

.sv-workflow-circle {

    position: relative;

    width: 142px;
    height: 142px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    border: 2px solid #1d82b8;

    background: #082b49;

    box-shadow:
        0 0 0 7px #082b49,
        0 0 0 9px rgba(32,143,196,.55);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


/* =========================================================
   INNER CIRCLE
========================================================= */

.sv-workflow-circle-inner {

    width: 116px;
    height: 116px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #137db7,
            #18a2df
        );

    box-shadow:
        inset 0 2px 5px rgba(255,255,255,.12),
        0 7px 20px rgba(0,0,0,.2);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


/* =========================================================
   ICON
========================================================= */

.sv-workflow-circle-inner i {

    color: #fff !important;

    font-size: 31px;

    line-height: 1;

    transition:
        transform .4s ease;
}


/* =========================================================
   HOVER
========================================================= */

.sv-workflow-item:hover .sv-workflow-circle {

    transform: translateY(-8px);

    box-shadow:
        0 0 0 7px #082b49,
        0 0 0 10px rgba(30,158,218,.65),
        0 10px 30px rgba(15,148,210,.25);
}


.sv-workflow-item:hover
.sv-workflow-circle-inner {

    transform: scale(.95);

    box-shadow:
        inset 0 2px 5px rgba(255,255,255,.18),
        0 8px 25px rgba(0,150,220,.35);
}


.sv-workflow-item:hover
.sv-workflow-circle-inner i {

    transform: scale(1.12);
}


/* =========================================================
   STEP NUMBER
========================================================= */

.sv-workflow-step-number {

    margin-bottom: 10px;

    color: #37b7ef !important;

    font-size: 13px !important;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   TITLE
========================================================= */

.sv-workflow-item h3 {

    margin: 0 0 10px !important;

    color: #fff !important;

    font-size: 18px !important;

    line-height: 1.3 !important;

    font-weight: 700 !important;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.sv-workflow-item p {

    width: 100%;

    max-width: 200px;

    margin: 0 auto !important;

    color: #fff !important;

    font-size: 15px !important;

    line-height: 1.65 !important;

    font-weight: 400 !important;
}


/* =========================================================
   ARROW
========================================================= */

.sv-workflow-arrow {

    position: relative;

    z-index: 6;

    flex: 0 0 38px;

    width: 38px;

    height: 142px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* triangle */

.sv-workflow-arrow span {

    display: block;

    width: 0;
    height: 0;

    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;

    border-left: 11px solid #159dd9;

    filter:
        drop-shadow(
            0 0 5px rgba(21,157,217,.45)
        );

    animation:
        svWorkflowArrow 2s infinite;
}


@keyframes svWorkflowArrow {

    0% {
        opacity: .45;
        transform: translateX(-3px);
    }

    50% {
        opacity: 1;
        transform: translateX(3px);
    }

    100% {
        opacity: .45;
        transform: translateX(-3px);
    }
}


/* =========================================================
   FINAL STAGE
========================================================= */

.sv-workflow-bottom {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;

    margin-top: 30px;

    text-align: center;
}


.sv-workflow-bottom-line {

    width: 180px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(36,159,219,.5)
        );
}


.sv-workflow-bottom-line:last-child {

    background:
        linear-gradient(
            90deg,
            rgba(36,159,219,.5),
            transparent
        );
}


.sv-workflow-bottom-content span {

    display: block;

    margin-bottom: 8px;

    color: #24a8e8;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 0px;
}


.sv-workflow-bottom-content strong {

    display: block;

    margin-bottom: 5px;

    color: #fff;

    font-size: 18px;

    font-weight: 700;
}


.sv-workflow-bottom-content p {

    max-width: 550px;

    margin: 0 auto;

    color: #fff;

    font-size: 15px;

    line-height: 1.6;
}


/* =========================================================
   ANIMATION CLASS
========================================================= */

.sv-workflow-item.sv-workflow-show {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   LARGE LAPTOP
========================================================= */

@media (max-width: 1250px) {

    .sv-workflow-wrapper {
        padding: 0 20px;
    }

    .sv-workflow-item {
        max-width: 185px;
    }

    .sv-workflow-circle {
        width: 125px;
        height: 125px;
    }

    .sv-workflow-circle-inner {
        width: 102px;
        height: 102px;
    }

    .sv-workflow-circle-inner i {
        font-size: 27px;
    }

    .sv-workflow-arrow {
        flex-basis: 28px;
        width: 28px;
    }

    .sv-workflow-item h3 {
        font-size: 14px !important;
    }

    .sv-workflow-item p {
        font-size: 12px !important;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .sv-workflow-page {
        padding: 75px 0;
    }

    .sv-workflow-header {
        margin-bottom: 55px;
    }

    .sv-workflow-header h1 {
        font-size: 44px;
    }

    .sv-workflow-header p {
        font-size: 14px !important;
    }


    /*
       Horizontal scrolling workflow
    */

    .sv-workflow-process {

        justify-content: flex-start;

        overflow-x: auto;

        padding:
            10px
            20px
            40px;

        scrollbar-width: thin;
    }


    .sv-workflow-item {

        flex: 0 0 180px;

        max-width: 180px;
    }


    .sv-workflow-arrow {

        flex: 0 0 35px;

        width: 35px;
    }


    .sv-workflow-connect-line {

        left: 105px;

        right: auto;

        width: 1260px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .sv-workflow-page {
        padding: 65px 0;
    }

    .sv-workflow-wrapper {
        padding: 0 15px;
    }


    /* HEADER */

    .sv-workflow-header {
        margin-bottom: 50px;
    }

    .sv-workflow-label {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .sv-workflow-header h1 {
        font-size: 34px;

        letter-spacing: -.5px;
    }

    .sv-workflow-header p {
        font-size: 13px !important;
    }


    /* =====================================================
       MOBILE VERTICAL WORKFLOW
    ===================================================== */

    .sv-workflow-process {

        display: block;

        overflow: visible;

        padding:
            0
            0
            0
            65px;
    }


    /* vertical line */

    .sv-workflow-connect-line {

        position: absolute;

        left: 28px;

        top: 0;
        bottom: 0;

        width: 2px;

        height: auto;
    }


    .sv-workflow-progress {

        width: 100%;
        height: 100%;
    }


    /* item */

    .sv-workflow-item {

        width: 100%;

        max-width: none;

        min-width: 0;

        margin-bottom: 45px;

        text-align: left;
    }


    /* circle */

    .sv-workflow-circle {

        position: absolute;

        left: -65px;

        top: 0;

        width: 55px;
        height: 55px;

        margin: 0;

        border-width: 1px;

        box-shadow:
            0 0 0 5px #082b49,
            0 0 0 7px rgba(32,143,196,.55);
    }


    .sv-workflow-circle-inner {

        width: 43px;
        height: 43px;
    }


    .sv-workflow-circle-inner i {
        font-size: 17px;
    }


    /* content */

    .sv-workflow-step-number {
        margin-bottom: 8px;

        font-size: 10px !important;
    }


    .sv-workflow-item h3 {

        font-size: 19px !important;

        margin-bottom: 8px !important;
    }


    .sv-workflow-item p {

        max-width: none;

        font-size: 13px !important;
    }


    /* hide arrows */

    .sv-workflow-arrow {
        display: none;
    }


    /* final stage */

    .sv-workflow-bottom {

        display: block;

        margin-top: 20px;

        padding: 25px 10px 0;

        border-top:
            1px solid rgba(255,255,255,.12);
    }

    .sv-workflow-bottom-line {
        display: none;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .sv-workflow-header h1 {
        font-size: 29px;
    }

    .sv-workflow-header p {
        font-size: 12px !important;
    }

    .sv-workflow-process {
        padding-left: 60px;
    }

    .sv-workflow-connect-line {
        left: 26px;
    }

    .sv-workflow-circle {
        left: -60px;

        width: 52px;
        height: 52px;
    }

    .sv-workflow-circle-inner {
        width: 40px;
        height: 40px;
    }

    .sv-workflow-item h3 {
        font-size: 18px !important;
    }

}