/* CSS for Steps flexible section */ 
/* Import main style */

.steps__cards {
    border-top: 2px solid var(--color-muted);
}

.steps__cards .col-md-6:nth-child(odd) {
    border-right: 1px solid var(--color-muted);
    position: relative;
}

.steps__cards .col-md-6:nth-child(even) {   
    border-left: 1px solid var(--color-muted);
    position: relative;
}

.steps__card-border {
    position: absolute;
    width: 4px;
    height: 20%;
    background-color: var(--color-secondary);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.steps__cards .col-md-6:nth-child(odd) .steps__card-border {
    right: 0;
}

.steps__cards .col-md-6:nth-child(even) .steps__card-border {
    left: 0;
}

.steps__card-number {
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-1) var(--spacing-3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    color: var(--color-secondary);
    font-weight: var(--font-weight-bold);
}

.steps__card-image {
    width: 90%;
    height: 90%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    overflow: hidden;
}
    .steps__card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 10px;
        overflow: hidden;
    }

@media (max-width: 768px) {
    .steps__cards .col-md-6 {
        border: none!important;
    }

    .steps__card-border {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1300px) {
    .steps__cards .col-md-6:nth-child(odd) {
        border-right: none!important;
    }

    .steps__cards .col-md-6:nth-child(even) {
        border-left: none!important;
    }

    .steps__card-border {
        display: none;
    }

    .steps__card .col-md-6 { 
        padding: 20px!important;
    }

    .steps__card-content {
        padding: 0!important;
    }

    .steps__cards {
        padding-top: var(--spacing-4);
    }
}