.process-section {
    background-color: var(--tj-color-bg-dark);
    border-radius: 20px;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
}

.process-section .sec-title {
    font-size: 56px;
    max-width: 700px;
    margin: 0 auto;
}

/* Shape decorations */
.process-shape {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.process-shape-tl {
    top: 0;
    left: 0;
    width: 500px;
    opacity: 0.4;
}

.process-shape-tr {
    top: 0;
    right: 0;
    width: 800px;
    transform: rotate(180deg);
}

.process-shape-bl {
    bottom: 0;
    left: 0;
    width: 500px;
}

.process-shape-br {
    bottom: 0;
    right: 0;
    width: 500px;
    opacity: 0.4;
}

.process-heading {
    text-align: center;
    margin-bottom: 100px;
}

.process-wrapper {
    position: relative;
    max-width: 1400px;
    /* Increased width */
    margin: 0 auto;
    padding: 40px 40px;
}

/* Zigzag Layout (Horizontal) */
.process-items {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
    align-items: flex-start;
}

.process-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Specific Staggering to allow for more space */
.process-item[data-step="1"] {
    margin-top: 0;
}

.process-item[data-step="2"] {
    margin-top: 80px;
    /* More vertical distance */
}

.process-item[data-step="3"] {
    margin-top: 160px;
    /* More vertical distance */
}

.process-indicator {
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 60px;
    /* Increased distance to card */
    display: inline-block;
    transition: all 0.3s ease;
    z-index: 2;
}

.process-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    /* Slightly wider */
    min-height: 280px;
    /* Uniform height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.process-card .step-num {
    font-size: 60px;
    font-weight: 700;
    color: var(--tj-color-theme-primary);
    opacity: 0.15;
    line-height: 1;
    position: absolute;
    top: 30px;
    right: 30px;
    transition: all 0.4s ease;
}

.process-card .title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
}

.process-card .desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    position: relative;
}

/* Hover Effects */
.process-item:hover .process-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--tj-color-theme-primary);
    transform: translateY(-5px);
}

.process-item:hover .process-indicator {
    border-color: var(--tj-color-theme-primary);
    color: var(--tj-color-theme-primary);
    background: rgba(38, 186, 164, 0.05);
}

/* Lines Styling */
.process-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.line-svg {
    width: 100%;
    height: 100%;
    /* Ensure the stroke is visible */
    overflow: visible;
}

.dashed-path {
    stroke-dasharray: 2 4;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.glow-path {
    stroke-width: 3;
    stroke-dasharray: 3 5;
    /* Very frequent, small dashes like buttons */
    filter: drop-shadow(0 0 5px var(--tj-color-theme-primary));
}

.mask-path {
    transition: stroke-dashoffset 0.8s ease-in-out;
}

/* Responsive */
@media (max-width: 1199px) {
    .process-wrapper {
        max-width: 960px;
    }

    .process-card {
        padding: 30px;
        min-height: 240px;
    }
}

@media (max-width: 991px) {
    .process-items {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .process-item[data-step] {
        align-items: center;
        margin: 0;
        width: 100%;
    }

    .process-card {
        max-width: 500px;
        min-height: auto;
    }

    .process-line {
        display: none !important;
    }

    .process-section .sec-title {
        font-size: 24px;
        max-width: 500px;
        margin: 0 auto;
    }

    .process-heading {
        margin-bottom: 50px;
    }
}

@media (max-width: 768px) {
    .process-line {
        display: none !important;
    }
}