
/* ============================================
   MODERN PROCESS SECTION STYLES - REFINED
   ============================================ */
.modern-process-section {
    position: relative;
    padding: 60px 0;
    background: #f1f5f9; /* Slightly darker background for better contrast */
    background-image: 
        radial-gradient(circle at 2px 2px, #e2e8f0 1px, transparent 0);
    background-size: 40px 40px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.process-subtitle {
    display: inline-block;
    color: #ff2d55 !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.process-title-main {
    font-size: 38px;
    font-weight: 900;
    color: #0f172a !important;
    margin-bottom: 50px;
    line-height: 1.1;
    position: relative;
}

.process-steps-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: nowrap; /* Force single line */
}

.process-card-item {
    flex: 1;
    min-width: 0; /* Allow cards to shrink below their content size if needed */
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
}

.process-icon-box {
    width: 120px;
    height: 120px;
    background: #ffffff !important;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12) !important;
    margin-bottom: 25px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

.process-icon-box img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.process-card-body {
    background: #ffffff !important;
    border-radius: 30px;
    padding: 50px 25px 35px;
    text-align: center;
    width: 100%;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08) !important;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03) !important;
    height: 100%;
    transition: all 0.4s ease;
    z-index: 2;
}

.process-step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff !important;
    color: #ff2d55 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    box-shadow: 0 10px 25px rgba(255, 45, 85, 0.25) !important;
    border: 3px solid #fff;
    z-index: 10;
}

.process-card-body h4 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a !important;
    margin-bottom: 20px;
    line-height: 1.3;
}

.process-card-body p {
    font-size: 15px;
    color: #475569 !important; /* Darker slate for better legibility */
    line-height: 1.8;
    margin-bottom: 0;
}

/* Hover States */
.process-card-item:hover .process-icon-box {
    transform: translateY(-20px) scale(1.05);
    background: #ff2d55 !important;
    box-shadow: 0 35px 70px rgba(255, 45, 85, 0.35) !important;
}

.process-card-item:hover .process-icon-box img {
    filter: brightness(0) invert(1);
}

.process-card-item:hover .process-card-body {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(255, 45, 85, 0.2) !important;
}

.process-card-item:hover .process-step-number {
    background: #ff2d55 !important;
    color: #ffffff !important;
    transform: translateX(-50%) scale(1.2);
}

@media (max-width: 991px) {
    .process-steps-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
    .process-card-item {
        max-width: 45%;
        margin-bottom: 40px;
    }
}

@media (max-width: 575px) {
    .process-card-item {
        max-width: 100%;
    }
    .process-title-main {
        font-size: 32px;
    }
}
