
/*------------------*/
/* WORKFLOW SECTION */
.workflow-section{
    width:100%;
    padding:20px 8%;
    background:#000;
    position:relative;
}

/* BOTTOM LINE */
.workflow-section::before,
.workflow-section::after{
    content:'';
    position:absolute;
    left:3%;
    width:94%;
    height:1px;
    background:linear-gradient(to right, #B028D6, #3D46D4, #B028D6);
}

.workflow-section::before{
    top:0;
}

.workflow-section::after{
    bottom:0;
}

/* TITLE */
.workflow-title{
    text-align:center;
    margin-bottom:30px;
}
.workflow-mini-title {
    color: #c026d3;
    letter-spacing: 4.5px;
    font-size: 18px;
    font-weight: 600;
}

.workflow-title h2{
    color:#fff;
    font-size:30px;
    font-weight:500;
}

.workflow-title h2 span{
    background:linear-gradient(90deg, #B028D6, #3D46D4);

    /* Use standard property first for broader compatibility, then vendor prefix */
    background-clip: text;
    -webkit-background-clip: text;
    /* Make text transparent to show the background gradient through the text */
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* DESCRIPTION */
.workflow-description{
    max-width:800px;
    margin:auto;
    display:block;
    color:#fff;
    font-size:14px;
    line-height:1.4;
}

/* CONTAINER */
.workflow-container{
    position:relative;
    display:grid;
    grid-template-columns:repeat(6,minmax(120px,1fr));
    gap:35px;
}

/* CENTER LINE */
.workflow-line{
    position:absolute;
    top:35px;
    left:8%;
    width:84%;
    height:3px;
    border-top:3px dotted #7e22ce;
    z-index:0;
}

/* BOX */
.workflow-box{
    position:relative;
    z-index:2;
    text-align:center;
}

/* ICON */
.workflow-icon{
    width:63px;
    height:63px;
    margin:auto auto 10px;
    border:2px solid #9333ea;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#000;
    box-shadow:0 0 25px rgba(168,85,247,0.2);
    transition:0.4s ease;
}

/* ICON */
.workflow-icon img{
    width: 26px;
    height: 26px;
    filter: brightness(0) saturate(100%) invert(35%) sepia(95%) saturate(1800%) hue-rotate(260deg);
}

/* TITLE */
.workflow-box h3{
    color:#fff;
    font-size:16px;
    margin-bottom:18px;
    font-weight:500;
}

/*------------------*/
/* WORKFLOW ANIMATION */
/*------------------*/

/* TITLE ANIMATION */
.workflow-title{
    opacity:0;
    transform:translateY(60px);

    transition:
    opacity 1s ease,
    transform 1s ease;
}

/* SHOW */
.workflow-title.show{
    opacity:1;
    transform:translateY(0);
}

/*------------------*/
/* WORKFLOW BOX */
/*------------------*/

.workflow-box{
    opacity:0;
    transform:translateY(70px) scale(0.9);

    transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* SHOW */
.workflow-box.show{
    opacity:1;
    transform:translateY(0) scale(1);
}

/* DELAY */
.workflow-box:nth-child(2){
    transition-delay:0.1s;
}

.workflow-box:nth-child(3){
    transition-delay:0.2s;
}

.workflow-box:nth-child(4){
    transition-delay:0.3s;
}

.workflow-box:nth-child(5){
    transition-delay:0.4s;
}

.workflow-box:nth-child(6){
    transition-delay:0.5s;
}

.workflow-box:nth-child(7){
    transition-delay:0.6s;
}

/*------------------*/
/* ICON HOVER */
/*------------------*/

.workflow-icon{
    transition:
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* ICON HOVER */
.workflow-box:hover .workflow-icon{

    transform:
    translateY(-8px)
    scale(1.08);

    border-color:#B028D6;

    box-shadow:
    0 0 15px rgba(176,40,214,0.5),
    0 0 30px rgba(61,70,212,0.35);
}

/* ICON IMAGE */
.workflow-icon img{
    transition:0.4s ease;
}

/* IMAGE HOVER */
.workflow-box:hover .workflow-icon img{

    transform:
    rotate(-10deg)
    scale(1.12);
}

/*------------------*/
/* TITLE HOVER */
/*------------------*/

.workflow-box h3{
    transition:0.4s ease;
}

.workflow-box:hover h3{

    background:linear-gradient(
        90deg,
        #B028D6,
        #3D46D4
    );

    background-clip:text;
    -webkit-background-clip:text;

    color:transparent;
    -webkit-text-fill-color:transparent;
}

/*------------------*/
/* LINE ANIMATION */
/*------------------*/

.workflow-line{
    overflow:hidden;
}

.workflow-line::after{
    content:'';

    position:absolute;
    top:-2px;
    left:-20%;

    width:20%;
    height:3px;

    background:linear-gradient(
        90deg,
        transparent,
        #B028D6,
        #3D46D4,
        transparent
    );

    animation:lineMove 4s linear infinite;
}

/* LINE MOVE */
@keyframes lineMove{

    0%{
        left:-20%;
    }

    100%{
        left:100%;
    }

}

/*------------------*/
/* MINI TITLE GLOW */
/*------------------*/

.workflow-mini-title{
    animation:workflowGlow 3s ease infinite;
}

@keyframes workflowGlow{

    0%{
        opacity:0.7;
        text-shadow:none;
    }

    50%{
        opacity:1;

        text-shadow:
        0 0 10px rgba(176,40,214,0.6),
        0 0 20px rgba(61,70,212,0.4);
    }

    100%{
        opacity:0.7;
        text-shadow:none;
    }

}


/* ===================================
   WORKFLOW - TABLET
=================================== */
@media (max-width: 1024px) {

    .workflow-section{
        padding:50px 5%;
    }

    .workflow-title{
        margin-bottom:40px;
    }

    .workflow-mini-title{
        font-size:16px;
        letter-spacing:3px;
    }

    .workflow-title h2{
        font-size:28px;
    }

    .workflow-description{
        max-width:650px;
        font-size:14px;
    }

    .workflow-container{
        grid-template-columns:repeat(6,1fr);
        gap:35px;
    }

    .workflow-line{
        overflow: hidden;
    }
}


/* ===================================
   WORKFLOW - MOBILE
=================================== */
@media (max-width: 768px) {

    .workflow-section{
        padding:50px 6%;
    }

    .workflow-title{
        margin-bottom:35px;
    }

    .workflow-mini-title{
        font-size:14px;
        letter-spacing:2px;
    }

    .workflow-title h2{
        font-size:26px;
    }

    .workflow-description{
        max-width:100%;
        font-size:14px;
        line-height:1.7;
    }

    .workflow-description br{
        display:none;
    }

    .workflow-container{
        grid-template-columns:repeat(2,1fr);
        gap:30px;
    }

    .workflow-line{
        display:none;
    }

    .workflow-icon{
        width:60px;
        height:60px;
    }

    .workflow-icon img{
        width:24px;
        height:24px;
    }

    .workflow-box h3{
        font-size:15px;
        line-height:1.5;
    }

}


/* ===================================
   WORKFLOW - SMALL MOBILE
=================================== */
@media (max-width: 480px) {

    .workflow-section{
        padding:45px 20px;
    }

    .workflow-mini-title{
        font-size:12px;
        letter-spacing:1.5px;
    }

    .workflow-title h2{
        font-size:22px;
    }

    .workflow-description{
        font-size:13px;
        line-height:1.8;
    }

    .workflow-container{
        grid-template-columns:1fr;
        gap:0px;
    }

    .workflow-box{
        padding:10px 0;
    }

    .workflow-icon{
        width:58px;
        height:58px;
    }

    .workflow-icon img{
        width:22px;
        height:22px;
    }

    .workflow-box h3{
        font-size:15px;
        margin-bottom:0;
    }

}