*{
    padding: 0;
    margin: 0;
}
html{
    scroll-behavior: smooth;
}
body{
    background: url('../images/compasses-planscopy.jpg');
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Fixed background scrolling */
    width: 100vw;
    overflow-x: hidden;
}
main{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}
main .box1{
    width: 100%;
    height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0 20px 0;
    gap: 10px;
}
.box1 p{
    font-size: 40px;
}
.box1 span{
    font-size: 30px;
}
.box1 .exp{
    margin-top: 10px;
    font-size: 23px;
    background-color: black;
    padding: 10px 20px;
    color: white;
    border-radius: 10px;
}
.exp a{
    color: white;
    text-decoration: none;
}
main .box2{
    background-color: white;
    width: fit-content;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding-top: 20px;
    border-radius: 10px;
}
.box2 img{
    height: 300px;
}

.title{
    border-bottom: 2px solid #F58121;
    padding-bottom: 20px;
    width: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.box2 div{
    display: flex;
    gap: 20px;
    align-items: center;
}
.box2 span{
    width: 250px;
    font-size: 20px;
}

main .wrap{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 50px 0;
    background-color: rgba(0,0,0, 1);
}
.title2{
    background-color: rgba(245,129,33, 1);
    width: 100%;
    color: white;
    padding: 20px 0;
}
main .box3{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 50px 0;
    background-color: white;
}
.box3 .card{
    height: 400px;
    width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.card1{
    background-color: #f86f00;
}
.card2{
    background-color: #F58121;
}
.card3{
    background-color: #f4964a;
}
.card4{
    background-color: #f2a76b;
}
.card span{
    height: 50px;
    width: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card:hover{
    background-color: black;
    transition: 0.5s ease;
    color: #F58121;
}
.card p{
    width: 80%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

main .maincard{
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    border-bottom: 1px solid black;
    background: url('https://img.freepik.com/free-vector/white-abstract-background_23-2148809725.jpg?t=st=1716180985~exp=1716184585~hmac=dea5626807ed9774c15923df1d3cae185f2c015cb33fb883c527bee78c426a1c&w=1800');
    background-size: cover; /* Cover the entire viewport */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Fixed background scrolling */
}
.maincard span{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 60%;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.maincard img{
    height: 400px;
    border: 2px solid black;
}
.title3{
    font-size: 30px;
}

@media screen and (max-width: 700px){
    main .box1 p{
        font-size: 25px;
    }
    .box1 span{
        font-size: 20px;
    }
    .box1 .exp{
        font-size: 20px;
    }
    main .maincard img{
        height: 300px;
    }
    .title{
        font-size: 23px;
        width: 100%;
    }
    .title2{
        font-size: 23px;
    }
    .title3{
        font-size: 23px;
    }
    .maincard span{
        width: 80%;
    }
    main .box2{
        width: 100%;
        padding: 10px 0;
    }
    .box2 div{
        flex-direction: column;
    }
}