@use "../utilities" as *;

/**----------------------------------------
    START: Process CSS
----------------------------------------*/

.process-section{
    background: linear-gradient(180deg, #032E6F 39.59%, #0344A8 100%);
    position: relative;
    z-index: 1;
    padding-top: 150px;
    padding-bottom: 150px;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
    @include breakpoint(lg){
        clip-path: polygon(0 3%, 100% 0, 100% 100%, 0% 100%);
    }
    @include breakpoint(md){
        clip-path: polygon(0 0%, 100% 0, 100% 100%, 0% 100%);
        padding-top: 70px;
        padding-bottom: 70px;
    }
    @include breakpoint(sm){
        padding-top: 50px;
        padding-bottom: 50px;
    }
    &:before{
        background-color: var(--bz-color-common-white);
        content: "";
        width: 100%;
        height: 75px;
        position: absolute;
        bottom: -1px;
        left: 0;
        clip-path: polygon(0 100%, 100% 0, 100% 100%, 0% 100%);
        @include breakpoint(md){
            display: none;
        }
        
    }
    .shapes{
        @include breakpoint(md){
            display: none;
        }
        .shape{
            position: absolute;
            z-index: -1;
            &.shape-1{
                top: 0;
                left: 135px;
            }
            &.shape-2{
                top: 0;
                right: 105px;
            }
            &.shape-3{
                bottom: 75px;
                left: 40px;
            }
            &.shape-4{
                bottom: 0;
                right: 0;
            }
        }
    }
}

.process-wrap{
    &>div:nth-child(2n+2){
        margin-top: 60px;
    }
}

.process-card{
    position: relative;
    .arrow{
        position: absolute;
        top: 20px;
        right: -20%;
        @include breakpoint(lg){
            right: -27%;
        }
        @include breakpoint(sm){
            display: none;
        }
    }
    .icon{
        background-color: var(--bz-color-common-white);
        position: relative;
        height: 130px;
        width: 130px;
        border-radius: 50%;
        @include flex-center;
        margin: 0 auto;
        .number{
            background-color: var(--bz-color-theme-primary);
            font-family: var(--bz-ff-heading);
            color: var(--bz-color-common-white);
            font-size: 16px;
            font-weight: 700;
            height: 45px;
            width: 45px;
            border-radius: 50%;
            border: 5px solid #073b8b;
            position: absolute;
            top: 0;
            right: 0;
            @include flex-center;
        }
    }
    .content{
        margin-top: 30px;
        .title{
            color: var(--bz-color-common-white);
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 15px;
        }
        p{
            color: #76A0E0;
            max-width: 285px;
            width: 100%;
            margin: 0 auto;
            margin-bottom: 0;
        }
    }
    &.card-2{
        .arrow{
            @include breakpoint(md){
                display: none;
            }
        }
    }
}

// {rpcess 2

.process-item{
    .process-thumb{
        position: relative;
        height: 240px;
        border-radius: 15px 15px 0 15px;
        @include breakpoint(lg){
            border-radius: 15px 15px 0 0;
        }
        img{
            object-fit: cover;
            width: 100%;
            height: 100%;
        }
        span{
            background-color: var(--bz-color-theme-red);
            font-family: var(--bz-ff-heading);
            color: var(--bz-color-common-white);
            position: absolute;
            bottom: 0;
            left: 0;
            font-size: 16px;
            font-weight: 700;
            text-transform: uppercase;
            padding: 10px 30px;
            border-radius: 0 15px 0 15px;
            @include breakpoint(lg){
                border-radius: 0 15px 0 0;
            }
        }
    }
    .process-content{
        background: var(--bz-color-common-white);
        box-shadow: 0px 4px 46px rgba(0, 0, 0, 0.08);
        border-radius: 0 0 15px 15px;
        padding: 25px 30px;
        max-width: 90%;
        width: 100%;
        margin-left: auto;
        @include breakpoint(lg){
            max-width: 100%;
        }
        .title{
            font-size: 24px;
            font-weight: 600;
        }
        p{
            margin-bottom: 0;
        }
    }
}

// Service Process 

.service-process-card{
    background-color: var(--bz-color-grey-1);
    padding: 40px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    @include transition(all 0.3s ease-in-out);
    &:before{
        background-color: var(--bz-color-theme-primary);
        content: "";
        width: 100%;
        height: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: -1;
        @include transition(all 0.4s ease-in-out);
    }
    .number{
        font-family: var(--bz-ff-heading);
        background-color: var(--bz-color-theme-primary);
        display: inline-block;
        height: 45px;
        width: 45px;
        @include flex-center;
        color: var(--bz-color-common-white);
        font-size: 16px;
        font-weight: 700;
        border-radius: 50%;
        margin-bottom: 20px;
        @include transition(all 0.3s ease-in-out);
    }
    .title{
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 15px;
        @include transition(all 0.3s ease-in-out);
    }
    p{
        margin-bottom: 0;
        @include transition(all 0.3s ease-in-out);
    }
    &:hover{
        transform: translateY(-5px);
        &:before{
            height: 100%;
        }
        .number{
            background-color: rgba(255, 255, 255, 0.1);
        }
        .title, 
        p{
            color: var(--bz-color-common-white);
        }
    }
}

/* !END: Process CSS */
