.process-steps-grid {
    display: grid;
    width: 100%;
    align-items: stretch;
}

.step-item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Card hover effect */
/* .step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
} */

.step-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.step-number {
    font-weight: bold;
    font-size: 68px;
    line-height: 1;
    margin: 0;
    transition: all 0.3s ease;
    opacity: 0.3;
}

/* Number scale on hover */
/* .step-item:hover .step-number {
    transform: scale(1.1);
    opacity: 0.5;
} */

.step-heading {
    font-weight: bold;
    margin: 0;
    transition: all 0.3s ease;
}

/* .step-item:hover .step-heading {
    transform: translateX(3px);
} */

.step-description {
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
    flex-grow: 1;
}

/* .step-item:hover .step-description {
    opacity: 0.9;
} */

/* Subtle background overlay on hover */
.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

/* .step-item:hover::before {
    opacity: 1;
} */

/* Border animation on hover */
.step-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: inherit;
    transition: border-color 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

/* .step-item:hover::after {
    border-color: rgba(0, 0, 0, 0.1);
} */

/* Responsive - Tablet */
@media (max-width: 1024px) {
    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .step-number {
        font-size: 40px;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .process-steps-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* .step-item:hover {
        transform: translateY(-3px);
    } */
    
    .step-number {
        font-size: 36px;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .step-item,
    .step-item *,
    .step-number {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}