*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
    font-family: 'Jost', sans-serif;
}

html{
    scroll-behavior: smooth;
    font-size: 62.5%;
}

.body1{
    height: 100vh;
    width: 100%;
    background-image: url('../images/background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: fixed;
}

nav{
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 12vh;
}

.left img{
    width: 20rem; 
}

.midle a{
    color: #000;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 600;
    padding: 0.1rem 1.5rem;
    position: relative;
}

.midle a::after{
    content: '';
    position: absolute;
    width: 0;
    height: 0.2rem;
    bottom: -0.1rem;
    background: #f75023;
    left: 0;
    transition: ease 0.5s;
}



.midle a:hover::after{
    width: 100%;
}


.right{
    width: 20rem;
}

.right a{
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    padding: 0.3rem 1.5rem;
    border: 0.2rem solid #f75023;
    border-radius: 5rem;
    font-weight: 600;
    transition: ease 0.5s;
}

.right a:hover{
    background: #f75023;
    color: #fff;
}

.menu-btn{
    display: none;
}

.main{
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-body{
    width: 40%;
}

.fir{
    color: #f75023;
    font-weight: 450;
}

.left-body h1{
    font-size: 6rem;
    font-weight: 450;
}

.sec{
    font-weight: 450;
    font-size: 1.5rem;
}

.high_light{
    color: #f75023;
}

.left-body p{
    font-size: 1.3rem;
    color: gray;
    padding: 1.5rem 0;
}

.ico a{
    text-decoration: none;
}

.mid{
    padding: 0 1rem;
}

.ico i{
    font-size: 1.5rem;
    color: #fff;
    background: rgb(128, 103, 240, 1);
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: ease 0.5s;
}

.ico i:hover{
    background: rgb(221, 214, 247);
    color: gray;
}

.bottom{
    padding: 2rem 0;
}

.bottom a{
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1.8rem;
    background:  #f75023;
    border-radius: 5rem;
    font-weight: 600;
}

.right_body img{
    width: 50rem;
}

.right_body{
    width: 43%;
}

/* second body */

.cards{
    padding: 8rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner_card{
    text-align: center;
    width: 21rem;
    padding: 1rem 0rem;
    transition: 0.5s ease;
}

.inner_card:hover{
    box-shadow: -1.5rem -1.5rem 1.5rem rgba(0,0,0,0.1),
    1.5rem 1.5rem 1.5rem rgba(0,0,0,0.2);
}

.inner_card h1{
    font-size: 1.7rem;
    padding: 1.2rem 0;
}

.inner_card p{
    font-size: 1.2rem;
    color: gray;
}

.inner_card i img{
    width: 6rem;
}

.mid_card{
    margin: 0 11rem;
}

  /* body 3*/

.body3{
    height: 100vh;
    width: 100%;
    background: #fff;
}

.whole{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 9rem;
}

.part1{
    width: 50%;
}

.part1 img{
    width: 50rem;
}

.part2 p{
    width: 35rem;
    font-size: 1.1rem;
    color: gray;
    padding: 1.2rem 0;
}

.part2 h3{
    font-size: 1.5rem;
    font-weight: 700;
    color: #f75023;
}

.part2 h1{
    font-weight: 600;
    padding-top: 0.3rem;
}

.part2 a{
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1.8rem;
    background:  #f75023;
    border-radius: 5rem;
    font-weight: 600;
}

.uppar{
    padding: 1.5rem 0;
}

.body4{
    width: 100%;
    background: #fff;
}

.title{
    text-align: center;
}

.title h4{
    color: #f75023;
    font-size: 1.6rem;
}

.title h1{
    font-weight: 600;
    font-size: 3rem;
}

.title p{
    font-size: 1.1rem;
    color: gray;
    padding-top: 0.7rem;
}

.all_part{
    padding: 4rem 0;
}

.upper_part img, .bottom_part img{    
    width: 30rem;
    border: 0.2rem solid #000;
    border-radius: 3rem;
    margin: 1.5rem 1.5rem;
}

.bottom_button{
    margin-top: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom_button a{
    text-decoration: none;
    color: #000;
    font-weight: 600;
    font-size: 1.7rem;
    animation: move 2s linear infinite;
}

@keyframes move{
    0%{
        transform: translatey(-0.5rem);
    }

    50%{
        transform: translatey(0.5rem);
    }

   100%{
        transform: translatey(-0.5rem);
    }

}

.upper_part, .bottom_part{
    margin-left: 13%;
}

.body5{
    height: 100vh;
    width: 100%;
    background: #fff;
}

.heading{
    text-align: center;
    padding: 4rem;
}

.heading h4{
    color: #f75023;
    font-size: 1.6rem;
}

.heading h1{
    font-weight: 500;
    font-size: 2.5rem;
}

.heading p{
    font-size: 1.1rem;
    color: gray;
    padding-top: 0.7rem;
}

.scanner{
    display: flex;
    align-items: center;
    justify-content: center;
}

.scanner img{
    width: 30rem;
    height: 30rem;
}

.to-top{
    position: fixed;
    right: 4rem;
    bottom: 4rem;
    opacity: 0;
    pointer-events: none;
    transition: all .4s;
}

.to-top.active{
    pointer-events: auto;
    opacity: 1;
    bottom: 3.2rem;
}

.to-top a img{
    width: 3rem;
    animation: move 2s linear infinite;
}

@keyframes move{
    0%{
                    transform: translatey(-0.7rem);
    }
    50%{
                    transform: translatey(0.7rem);
    }
    100%{
                    transform: translatey(-0.7rem);
    }
}

/* Media Queries for Responsive Design */

/* Small screens (phones) */
@media only screen and (max-width: 600px) {

    .body1{
        height: 100vh;
    }

/*-------------------------------------navigation bar start-------------------------------------------------*/

    nav {
        flex-direction: column;
        height: 8vh;
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
    }

    .midle {
        display: none;
    }

    .right {
        display: none;
    }

    .midle.active{
        display: flex;
    }

    .midle a{
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .menu-btn {
        display: block;
        position: absolute;
        top: 1rem;
        right: 1rem;
        font-size: 1.5rem;
        cursor: pointer;
        color: #000;
    }

    .menu-btn {
        display: block;
        position: absolute;
        top: 2.6rem;
        right: 3rem;
        cursor: pointer;
    }

    .left img{
        width: 40%;
        margin-left: 2rem; 
    }

    .menu-btn img {
        width: 2rem;
    }

    .midle{
        display: none; /* Hide regular navigation links on mobile */
    }

    .midle.active{
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 7vh; /* Adjust the top position as needed */
        right: 1rem;
        background-color: #333; /* Set background color as needed */
        padding: 1rem;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        height: 1000%;
    }

    .midle a {
        padding: 0.5rem;
        text-align: center;
        color: #000; /* Set text color as needed */
        text-decoration: none;
        transition: background-color 0.3s ease;
    }

/*-------------------------------------navigation bar end-------------------------------------------------*/

/*-------------------------------------body start-------------------------------------------------*/

    .main{
        margin-left: 4rem;
        margin-top: 15rem;
    }

    .left-body{
    width: 100%;
    }

    .right_body img {
            display: none;
    }

    .cards {
        flex-direction: column;
    }

    .mid_card {
        margin: 0;
    }

/*-------------------------------------body end-------------------------------------------------*/

/*-------------------------------------about section start-------------------------------------------------*/





.whole{
    flex-direction: column-reverse;
    margin-top: 30rem;
}

.part1 img{
    width: 40rem;
    margin-left: -15rem;
}




/*-------------------------------------about section end-------------------------------------------------*/
}  

/* Large screens (desktops) */
@media only screen and (min-width: 1025px) {
    .left-body, .right_body {
        width: 40%;
    }

    .right_body img {
        width: 100%;
    }

    .cards {
        flex-direction: row;
    }

    .inner_card {
        width: 30%;
        margin: 0 2%;
    }
}