#steps {
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    padding: 0;
    margin-top: 50px;
    margin-bottom: 100px;
}
#stepsPara {
    text-align: center;
    color: rgb(0, 63, 63);
}
#steps .stepBox {
    background-color: whitesmoke;
    height: 500px;
    width: 90%;
    border-radius: 10px;
    max-width: 350px;
    box-shadow: 0px 2px 10px rgba(0, 0 , 0 , 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out, box-shadow 0.5s ease-in-out, transform 0.3s ease;
}

#steps .stepBox img {
    height: 300px;
    width: 100%;
    max-width: 300px;
    background-size: cover;
    margin-top: 20px;
    margin-bottom: 5px;
}

#stepsHeading {
    margin-top: 350px;
    text-align: center;
    filter: drop-shadow(3px 3px 3px rgb(94, 89, 89));
}

#steps .stepBox h1 {
    filter: drop-shadow(2px 2px 2px rgb(94, 89, 89));
}

#steps .stepBox p {
    text-align: center;
    margin-top: 25px;
}

#steps .stepBox.visible {
    opacity: 1;
}

#steps .stepBox:hover {
    box-shadow: 0px 5px 30px #ffbb34dc;
    border-radius: 10px;
    border: none;
    transform: translate(0, 0) scale(1.05);
    transform-origin: center;
}
/* ...............................................Responsive Design................................................... */
/* Media Queries for Different Screen Sizes */
@media (max-width: 767px) {
    #stepsHeading {
        margin-top: 600px;
    }
    #steps .stepBox {
        height: 250px; /* Adjusted height for medium screens */
        width: 45%; /* Adjusted width for medium screens */
        margin-bottom: 20px;
    }
    #steps .stepBox img {
        margin-top: 5px;
        width: 90%;
        height: 50%; /* Adjusted height for images */
        background-position: cover;
    }
    #steps #menu p {
        margin-top: 5px;
        font-size: 11.2px;
    }
    #steps #menu h1 {
        margin-top: 5px;
        font-size: 13px;
    }
    #steps .stepBox h1 {
        margin-top: 0;
        margin-bottom: 5px;
        text-align: center;
        font-size: 16px;
    }
    #steps #place {
        margin-top: 10px;
    }
    #steps .stepBox p {
        font-size: 12px;
    }
    #steps {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #steps {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    #steps .stepBox {
        height: 400px; /* Adjusted height for medium screens */
        width: 45%; /* Adjusted width for medium screens */
        margin-bottom: 20px;
    }
    #steps .stepBox img {
        height: 60%; /* Adjusted height for images */
    }
}

@media (min-width: 1024px) and (max-width: 1400px) {
    #steps {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    #steps .stepBox {
        height: 500px;
        width: 30%; /* Adjusted width for larger screens */
        margin-bottom: 20px;
    }
    #steps .stepBox img {
        height: 300px;
        width: 100%;
    }
}

@media (min-width: 1401px) {
    #steps {
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
    #steps .stepBox {
        height: 500px;
        width: 30%;
        margin-bottom: 20px;
    }
    #steps .stepBox img {
        height: 300px;
        width: 100%;
    }
}
