/* ===== GMB PROCESS SECTION ===== */
.gmb-process-section {
    padding: 80px 0 20px 0; /* Reduced bottom padding */
    background-color: #ffffff;
    background-image: radial-gradient(rgba(40, 120, 255, 0.08) 2px, transparent 2px);
    background-size: 30px 30px;
    animation: moveDots 30s linear infinite;
    overflow: hidden;
    position: relative;
}

@keyframes moveDots {
    from { background-position: 0 0; }
    to { background-position: 60px 60px; }
}

.process-header {
    margin-bottom: 60px;
}

.process-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(40, 120, 255, 0.1);
    color: #2878FF;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.process-badge .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2878FF;
}

.process-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 15px;
    line-height: 1.2;
}

.process-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
}

/* Timeline Layout */
.process-timeline-wrap {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 20px;
}

.process-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-image: linear-gradient(to bottom, #bfdbfe 50%, transparent 50%);
    background-size: 2px 14px;
    background-repeat: repeat-y;
    transform: translateX(-50%);
    z-index: 1;
    animation: marchY 1s linear infinite;
}

@keyframes marchY {
    from { background-position: 0 0; }
    to { background-position: 0 14px; }
}

.process-step {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    margin-bottom: 60px;
    z-index: 2;
}
.process-step:last-child {
    margin-bottom: 0;
}

.process-step.right-step {
    justify-content: flex-end;
}

.step-card {
    width: calc(50% - 60px);
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Gradient Wave Effect */
.step-card .card-wave {
    position: absolute;
    top: 100%; 
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, #2878FF, #10b981);
    border-radius: 40%; 
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

/* Ensure content stays above the wave */
.step-card .step-icon-box,
.step-card .step-card-title,
.step-card .step-card-desc {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease, background 0.4s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(40, 120, 255, 0.15);
    border-color: transparent;
}

.step-card:hover .card-wave {
    top: -50%; 
    transform: rotate(15deg);
}

.step-card:hover .step-card-title,
.step-card:hover .step-card-desc {
    color: #ffffff;
}

.step-card:hover .step-icon-box {
    background: rgba(255,255,255,0.2) !important;
    color: #ffffff !important;
}

.step-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.step-icon-box svg {
    width: 28px;
    height: 28px;
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

.step-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}
.step-card-desc {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.step-node {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 2px solid #2878FF;
    color: #2878FF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px #ffffff;
    animation: pulseNode 2.5s infinite;
}

@keyframes pulseNode {
    0% { box-shadow: 0 0 0 4px #ffffff, 0 0 0 4px rgba(40, 120, 255, 0.4); }
    70% { box-shadow: 0 0 0 4px #ffffff, 0 0 0 15px rgba(40, 120, 255, 0); }
    100% { box-shadow: 0 0 0 4px #ffffff, 0 0 0 4px rgba(40, 120, 255, 0); }
}

.step-connector {
    height: 2px;
    background-image: linear-gradient(to right, #bfdbfe 50%, transparent 50%);
    background-size: 10px 2px;
    background-repeat: repeat-x;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    animation: marchX 1s linear infinite;
}

@keyframes marchX {
    from { background-position: 0 0; }
    to { background-position: -10px 0; } /* Negative moves lines outwards to the cards */
}

.left-step .step-connector {
    right: calc(50% + 20px);
    width: 40px;
}

.right-step .step-connector {
    left: calc(50% + 20px);
    width: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .process-line {
        left: 30px;
        transform: none;
    }
    .process-step {
        justify-content: flex-end;
    }
    .step-card {
        width: calc(100% - 80px);
    }
    .step-node {
        left: 30px;
        transform: translateX(-50%);
    }
    .left-step .step-connector, 
    .right-step .step-connector {
        left: 50px;
        right: auto;
        width: 30px;
    }
    .process-title {
        font-size: 2rem;
    }
}
