/* =========================
   WORK-PROCESS.CSS – FULLY RESPONSIVE
   Purple background, left header, step cards with number + text
   Grid adapts: 2‑3 columns on desktop, 1 column on mobile
========================= */

.process {
    width: 100%;
    padding: 80px 0;
    background: #1e1029;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 40px);
    box-sizing: border-box;
}

/* ----- HEADER – left aligned, responsive text ----- */
.process .section-header {
    display: block !important;
    text-align: left !important;
    margin-bottom: 60px;
    width: 100%;
}

.process .section-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    justify-content: flex-start;
}

.process .section-tag hr {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #4ade80, #c084fc);
    border: none;
    margin: 0;
}

.process .section-tag h5 {
    color: #c084fc;
    font-size: clamp(0.8rem, 3vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.process .section-header h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 700;
    color: #e2d6f0;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-align: left;
}

.process .section-header p {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #d1e0d6;
    line-height: 1.5;
    max-width: 650px;
    margin-bottom: 0;
    text-align: left;
}

/* ----- STEP GRID – responsive ----- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0 60px;
}

.step {
    background: rgba(10, 31, 26, 0.5);
    backdrop-filter: blur(2px);
    border-radius: 24px;
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 222, 128, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    cursor: default;
}

.step:hover {
    transform: translateY(-8px);
    border-color: #c084fc;
    background: rgba(10, 31, 26, 0.7);
    box-shadow: 0 16px 30px rgba(192, 132, 252, 0.2);
}

.step-number {
    width: clamp(50px, 10vw, 60px);
    height: clamp(50px, 10vw, 60px);
    background: linear-gradient(135deg, #c084fc, #4ade80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 800;
    color: #0a1f1a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease;
    grid-row: span 2;
    align-self: start;
}

.step:hover .step-number {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(192, 132, 252, 0.4);
}

.step h4 {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    font-weight: 700;
    color: #e2d6f0;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
}

.step p {
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    color: #b8c4bc;
    line-height: 1.5;
    margin: 0;
    grid-column: 2;
    grid-row: 2;
}

/* ----- CTA BUTTON (centered, responsive) ----- */
.process-cta {
    text-align: center;
    margin-top: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 32px;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    background: #c084fc;
    color: #0a1f1a;
    border: 2px solid #c084fc;
    box-shadow: 0 0 8px rgba(192, 132, 252, 0.3);
}

.btn-primary:hover {
    background: #a855f7;
    border-color: #a855f7;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.3);
}

/* ========== RESPONSIVE BREAKPOINTS ========== */

/* Tablet (≤ 900px): reduce gap and padding */
@media (max-width: 900px) {
    .process {
        padding: 60px 0;
    }
    .process .section-header {
        margin-bottom: 40px;
    }
    .process-steps {
        gap: 25px;
    }
    .step {
        padding: 20px;
        gap: 12px;
    }
}

/* Mobile (≤ 600px): internal grid may stack? but we keep horizontal layout for clarity */
@media (max-width: 600px) {
    .process-steps {
        grid-template-columns: 1fr;    /* single column */
        gap: 20px;
    }
    .step {
        padding: 18px;
    }
    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    .step h4 {
        font-size: 1.1rem;
    }
    .step p {
        font-size: 0.85rem;
    }
}

/* Small phones (≤ 480px): tighter spacing */
@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    .step {
        padding: 16px;
        gap: 10px;
    }
    .step-number {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    .step h4 {
        font-size: 1rem;
    }
    .step p {
        font-size: 0.8rem;
    }
}

/* Very narrow (≤ 360px) */
@media (max-width: 360px) {
    .step {
        grid-template-columns: auto 1fr;
        gap: 8px;
    }
    .step-number {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}