/* ===========================
   ======== WALKTHROUGH ======
   =========================== */
#works {
    padding: 4em 5em;
    background: #f2fcff;
    border-bottom: 1px solid black;
}
#work-mbox {
    padding: 4em 5em;
    background: #f2fcff;
    border-bottom: 1px solid black;
}

.wo-heading {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
}

.wo-subheading {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.2em;
    color: #2c2c2c;
    background-color: #f5a063;
    border:1px solid  #fd7b1d;
    padding: 1em 2em;
    margin: 1em 25em;
    border-radius: 20px;;
}
.wo-subheading>a{
    color: #0d6efd;
    font-weight: 700;
}
.wo-subheading>a:hover{
    color: #1c4577;
    font-weight: 700;
}

.wo-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5em;
    padding: 1em 3em;
}

.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 500px;
}

.step-list li {
    padding: 0.5em;
    border-radius: 12px;
    margin-bottom: 0em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-list li:hover {
    transform: translateY(-5px);
}

.step-list li.active-step {
    background: #0a2342;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
}

.step-list li .step {
    display: inline-block;
    background: #ff6f00;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.step-list li h5 {
    font-size: 20px;
    margin: 8px 0;
    font-weight: 600;
}

.step-list li .op {
    font-size: 20px;
    margin: 8px 0;
    font-weight: 600;
}

.step-list li p {
    font-size: 16px;
    margin: 0;
}

.wo2 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4em 0;
}

.gallery {
    position: relative;
    width: 550px;
    height: auto;
    perspective: 1200px;
}

.gallery-figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: scale(0.95) translateY(20px);
    opacity: 0;
    visibility: visible;
    transition: all 0.5s ease;
    z-index: 1;
}

.gallery-figure img {
    width: 40em;
    border-radius: 12px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
}

.active-step {
    transform: scale(1) translateY(0);
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.mobile-steps-buttons {
    display: none;
    margin-bottom: 20px;
    text-align: center;
}

.mobile-steps-buttons button {
    background-color: #0a2342;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin: 5px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
}

.mobile-steps-buttons button.active-button {
    background-color: #ff6f00;
}
@media (max-width: 1440px) {
    #works {
        padding: 2em 3em;
    }
    #work-mbox{
        padding: 2em 3em;
    }
    .wo-heading {
        font-size: 2rem;
    }
    .wo-subheading {
        font-size: 1rem;
        margin: 0.5em 28em;
    }
    .wo-row {
        gap: 1em;
        padding: 0.5em;
    }
    .gallery-figure img {
        width: 30em;
        height: auto;
    }
}
@media (max-width: 1024px) {
    #works {
        padding: 0;
    }
    #work-mbox{
        padding: 0;
    }
    .wo-subheading{
        margin:0.5em 20em;
    }
    .wo-row{
        gap:0.5em;
        padding: 0.5em;
    }
    .gallery-figure img {
        width: 27em;
        height: 16em;
    }
}

@media (max-width:768px) {
    #works {
        padding: 1em;
        border-bottom: 1px solid black;
    }
    #work-mbox{
        padding: 1em 1em 7em 1em;
        border-bottom: 1px solid black;
    }

    .wo-heading {
        font-size: 1em;
    }

    .wo-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 0;
    }

    .gallery {
        width: 20em;
        height: 7em;
        position: relative;
        margin: 1em 0;
        align-items: center;
    }

    .wo2 {
        justify-content: center;
        align-items: center;
        padding: 1em 0;
    }

    .gallery-figure img {
        width: 17em;
        margin-left: 1.7em;
        height: auto;
        border-radius: 12px;
        box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    }

    .mobile-steps-buttons {
        display: block;
        padding: 0;
        margin-bottom: 0;
    }

    .step-list li {
        display: none;
    }

    .step-list li.active-step {
        display: block;
    }
    .wo-subheading {
        text-align: center;
        margin-bottom: 50px;
        font-size: 0.8em;
        color: #2c2c2c;
        background-color: #ffa7a7;
        border:1px solid #fd7777;
        padding: 1em;
        margin:0.5em 12em;
        border-radius: 20px;;
    }
    .wo-subheading>a{
        color: #0a2342;
        font-weight: 700;
    }
    .wo-subheading>a:hover{
        color: #1c4577;
        font-weight: 700;
    }
}

@media (max-width: 468px) {
    .wo-heading {
        font-size: 1.5em;
    }

    .wo-subheading {
        font-size: 0.7em;
        margin: 0.5em 2em;
    }
}