/* How It Works Section CSS */

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    background-color: #ffffff;
}
.how-it-works-section .container {
    max-width: 1415px !important;
}

.how-it-works-subtitle {
    font-size: 1rem;
    font-weight: 400;
    color: #9CA3AF;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.how-it-works-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #707070;
    margin-bottom: 0;
    line-height: 1.2;
}

.step-card {
    padding: 60px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.step-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 50vh;
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 1;
}

.step-card-1::after {
    background-image: url('../assets/images/how-it-works/Mask Group 41.png');
}

.step-card-2::after {
    background-image: url('../assets/images/how-it-works/Mask Group 42.png');
}

.step-card-3::after {
    background-image: url('../assets/images/how-it-works/Mask Group 43.png');
}

.step-label {
    margin-bottom: 0.25rem;
    text-align: center;
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
}

.step-text {
    font-size: 1.5rem;
    font-weight: 300;
    color: #9CA3AF;
    display: inline;
}

.step-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000000;
    display: inline;
    background: none;
    border: none;
    padding: 0;
    margin-left: 0.25rem;
}

.step-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #000000;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    text-align: center;
}

.step-card p {
    color: #000000;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 400;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
}

.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-bottom: 180px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 60px 0;
    }
    
    .how-it-works-title {
        font-size: 2rem;
    }
    
    .how-it-works-subtitle {
        font-size: 0.9rem;
    }
    
    .step-card {
        padding: 1.25rem 1rem 0;
        margin-bottom: 2rem;
        min-height: 320px;
    }
    
    .step-card::after {
        width: 90%;
        height: 50vh;
    }
    
    .step-content {
        padding-bottom: 140px;
    }
    
    .step-label {
        margin-bottom: 0.2rem;
        text-align: center;
    }
    
    .step-text {
        font-size: 1.25rem;
        display: inline;
    }
    
    .step-number {
        font-size: 1.25rem;
        display: inline;
        background: none;
        border: none;
        padding: 0;
        margin-left: 0.2rem;
    }
    
    .step-card h4 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }
    
    .step-card p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        text-align: center;
    }
}
