.sifency-process-wrapper {
    display: grid;
    gap: 30px;
    width: 100%;
}

.sifency-process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateX(20px);
    animation: sifencyFadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes sifencyFadeInUp {
    to { opacity: 1; transform: translateX(0); }
}
.sifency-process-icon-wrap {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.sifency-process-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f9f9f9;
    transition: transform 0.3s ease;
    z-index: 2;
}

.sifency-process-step:hover .sifency-process-icon-box {
    transform: scale(1.05);
}

.sifency-process-icon {
    font-size: 24px;
    color: #333;
}
.sifency-process-count {
    position: absolute;
    top: 15px;
    right: 5px;
    background: #333;
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
    transform: translate(25%, -25%);
    text-align: center;
}

/* Content */
.sifency-process-title {
    margin: 0 0 10px;
    font-size: 18px;
    color: #222;
}
.sifency-process-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}
.sifency-process-wrapper.has-connector .sifency-process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(var(--sifency-icon-size, 120px) / 2);
    left: 50%;
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #ccc;
    z-index: 0;
}
.sifency-process-skin-bubble.has-connector .sifency-process-step:not(:last-child)::after {
    transform-origin: left center;
    transform: rotate(15deg);
    width: 120%;
}
.sifency-process-skin-bubble.has-connector .sifency-process-step:nth-child(even):not(:last-child)::after {
    transform: rotate(-15deg);
    top: calc((var(--sifency-icon-size, 120px) / 2) + 40px);
}
.sifency-process-skin-horizontal.has-connector .sifency-process-step:not(:last-child)::after {
    transform: none;
    border-bottom-style: dashed;
    border-bottom-width: 2px;
}

.sifency-process-skin-vertical.has-connector .sifency-process-step:not(:last-child)::after {
    width: 2px;
    height: 100%;
    top: calc(var(--sifency-icon-size, 120px) / 2);
    left: calc(var(--sifency-icon-size, 120px) / 2);
    border-bottom: none;
    border-left: 2px solid #ccc;
    transform: translateX(-50%);
}
*/
.sifency-process-icon-box {
    position: relative;
    z-index: 2; 
    background: #fff;
}

/* ====================================
   SKIN 3: VERTICAL (Timeline)
   ==================================== */
.sifency-process-skin-vertical .sifency-process-wrapper {
    grid-template-columns: 1fr !important;
    gap: 0;
}

.sifency-process-skin-vertical .sifency-process-step {
    flex-direction: row;
    text-align: left;
    padding-bottom: 40px;
}

.sifency-process-skin-vertical .sifency-process-icon-wrap {
    margin-right: 30px;
    margin-bottom: 0;
}

.sifency-process-skin-vertical.has-connector .sifency-process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px; 
    left: 60px;
    width: 1px;
    height: 100%;
    border-left: 2px solid #ccc;
    z-index: 1;
}

/* ====================================
   SKIN 4: CHESS (ZigZag Vertical)
   ==================================== */
.sifency-process-skin-chess .sifency-process-wrapper {
    grid-template-columns: 1fr 1fr !important;
    gap: 0 50px;
}

.sifency-process-skin-chess .sifency-process-step:nth-child(odd) {
    grid-column: 1;
    text-align: right;
    flex-direction: row-reverse;
}
.sifency-process-skin-chess .sifency-process-step:nth-child(even) {
    grid-column: 2;
    text-align: left;
    flex-direction: row;
    margin-top: 80px;
}

.sifency-process-skin-chess .sifency-process-wrapper {
    position: relative;
}
.sifency-process-skin-chess.has-connector::before {
    content: '';
    position: absolute;
    left: 50%; top: 0; bottom: 0;
    width: 1px;
    background: #e5e5e5;
    transform: translateX(-50%);
}

/* ====================================
   SKIN 5: CARDS (Boxed)
   ==================================== */
.sifency-process-skin-cards .sifency-process-step {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #eee;
    transition: 0.3s;
}
@media (max-width: 767px) {
    .sifency-process-wrapper {
        grid-template-columns: 1fr !important;
    }
    .sifency-process-step { margin-top: 0 !important; margin-bottom: 30px !important; }
    .sifency-process-step::after { display: none; }
}