/* ================= HOW IT WORKS ================= */

.how-it-works {
    background: linear-gradient(to bottom, #f6f9f3, #ffffff);
    padding: 100px 20px;
    overflow: hidden;
}

/* Header */
.how-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.how-header h2 {
    font-size: 44px;
    color: #2f4f2f;
    margin-bottom: 10px;
}

.how-header p {
    font-size: 20px;
    color: #6aa84f;
    margin-bottom: 15px;
    font-weight: 500;
}

.how-header span {
    font-size: 17px;
    color: #555;
    line-height: 1.8;
}

/* Steps */
.steps-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

/* Step Card */
.step-card {
    background: #fff;
    padding: 35px 30px 40px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    position: relative;
    transition: all 0.4s ease;
    animation: fadeUp 1s ease forwards;
}

.step-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

/* Step Number */
.step-number {
    position: absolute;
    top: -20px;
    left: 25px;
    background: linear-gradient(135deg, #7bbf4a, #a8e063);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Step Text */
.step-card h3 {
    margin-top: 20px;
    margin-bottom: 12px;
    color: #2f4f2f;
    font-size: 22px;
}

.step-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Why This Matters */
.why-matters {
    background: #6aa84f92;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .how-header h2 {
        font-size: 32px;
    }

    .step-card {
        padding: 30px 25px;
    }
}
