/* =========================================================
   HOW IT WORKS
========================================================= */

.how-it-works {
    background: var(--primary-dark);
    color: #fff;
    padding: 80px 0;
}

.how-label {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.how-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 10px;
    color: #fff;
}

.how-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-top: 15px;
    max-width: 500px;
}

.how-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.how-step {
    text-align: center;
    position: relative;
}

.how-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-step:hover .how-step-number {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(29, 93, 143, 0.5);
}

.how-step h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.how-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Arrow between steps */
.how-step::after {
    content: "→";
    position: absolute;
    right: -22px;
    top: 20px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
}

.how-step:last-child::after {
    display: none;
}

.how-btn {
    display: inline-block;
    margin-top: 50px;
    padding: 14px 30px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.how-btn:hover {
    background: #164a73;
    transform: translateY(-3px);
    color: #fff;
}

/* Responsive */
@media (max-width: 991px) {
    .how-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .how-step::after {
        display: none;
    }
}

@media (max-width: 767px) {
    .how-steps {
        grid-template-columns: 1fr;
    }
}
