/* Premium Starbucks-Inspired Process Steps Styling */
.process-section {
    position: relative;
    padding-top: 0;
    /* Removed all space above as requested */
    padding-bottom: 2rem;
    background-color: transparent;
    /* Maintained transparent background */
    overflow: visible;
    /* Prevents icon clipping */
}

.process-grid {
    display: flex;
    flex-wrap: nowrap;
    /* Keep all cards in a single line */
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    transition: all 0.5s ease;
    padding: 6rem 1rem 5rem;
    /* Moved cards slightly downward */
    margin-inline: -2rem;
    overflow-x: auto;
    /* Allow scrolling on small screens to maintain single line */
    scrollbar-width: none;
}

.process-grid::-webkit-scrollbar {
    display: none;
}

/* Container hover effect to fade neighbors */
.process-grid:hover .process-step {
    opacity: 0.7;
    transform: scale(0.95);
}

.process-step {
    position: relative;
    flex: 0 0 280px;
    /* Fixed width to ensure they stay in line */
    padding: 3.5rem 1.5rem 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 3rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.03);
    z-index: 1;
    opacity: 1;
}

/* Hover state for the active card */
.process-step:hover {
    opacity: 1 !important;
    transform: scale(1.03) translateY(-10px) !important;
    z-index: 10;
    background: linear-gradient(135deg, #d12229 0%, #a31a1f 100%);
    box-shadow: 0 20px 40px -10px rgba(209, 34, 41, 0.2);
    border-color: transparent;
}

.process-icon-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Half inside, half outside */
    width: 90px;
    height: 90px;
    background: #ffffff;
    border-radius: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d12229;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
}

.process-step:hover .process-icon-container {
    background: #d12229;
    color: #ffffff;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
    animation: floatingIcon 3s ease-in-out infinite;
    border: 2px solid #ffffff;
}

.process-icon-container svg {
    width: 36px;
    height: 36px;
}

.process-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
}

.process-step:hover .process-title {
    color: #ffffff;
}

.process-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 1rem;
    transition: all 0.4s ease;
}

.process-step:hover .process-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Floating animation */
@keyframes floatingIcon {
    0% {
        transform: translate(-50%, -50%) translateY(0);
    }

    50% {
        transform: translate(-50%, -50%) translateY(-10px);
    }

    100% {
        transform: translate(-50%, -50%) translateY(0);
    }
}

/* Background Decoration Blobs Removed */
.bg-decoration-blob {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .process-grid {
        justify-content: flex-start;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1200px) {
    .process-step {
        flex: 1;
        max-width: 300px;
    }

    .process-grid {
        overflow-x: visible;
        margin-inline: 0;
    }
}