.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    position: relative;
    padding-top: 1rem;
}

@media (max-width: 1100px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 2rem;
    }
}

.process-step {
    text-align: center;
    padding: 2rem 0.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

@media (max-width: 1100px) {
    .process-step {
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    position: relative;
    border: 2px solid rgba(44, 95, 45, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    z-index: 2;
}

@media (max-width: 1100px) {
    .step-icon {
        width: 60px;
        height: 60px;
        margin: 0;
        font-size: 1.4rem;
    }
}

.process-step:hover .step-icon {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: #333;
    border-radius: 50%;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.process-step h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.process-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Connecting lines for desktop */
@media (min-width: 1101px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 72px;
        left: 50%;
        width: calc(100% + 1rem);
        /* 100% width + grid gap */
        height: 2px;
        background: rgba(44, 95, 45, 0.1);
        z-index: 0;
    }
}

/* Vertical connecting line for mobile/tablet */
@media (max-width: 1100px) {
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 30px;
        /* Center of 60px icon */
        top: calc(1.5rem + 30px);
        /* 1.5rem padding + 30px half-height */
        width: 2px;
        height: 100%;
        background: rgba(44, 95, 45, 0.1);
        z-index: 0;
    }
}

/* Dark mode tweaks */
[data-theme="dark"] .step-number {
    color: #000;
}