@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background-color: aliceblue;
    color: #333;
}

.nav {
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: left;
    border-bottom: 1px solid black;
    padding: 0 40px;
}

.navbody {
    width: 100%;
    align-items: center;
    justify-content: center;
    display: flex;
    justify-content: space-between;
}

.logo {
    width: 20%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: left;
}

.logo img {
    max-width: 140px;
    width: 40px;
    height: auto;
    border-radius: 10px;
    display: flex;
    margin-right: 20px;

}

.navbody ul {
    display: flex;
    gap: 50px;
    flex: 1;
    justify-content: end;
}

.navbody li {
    list-style: none;
}

.right a {
    text-decoration: none;
    color: black;
    font-weight: 250;
    font-size: 1em;
}

#mobile-menu{
    position: absolute;
    background-color: aliceblue;
    width: 100%;
    padding: 6px;
}

.bg {
    width: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(assets/images/bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bgflex {
    display: flex;
    width: 800px;
    height: 100px;
    border: 2px solid black;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    justify-content: space-around;
    align-items: center;
    padding: 10px;
}

.flex-item1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 28%;
    height: 100%;
    border-right: 2px solid black;
}

.flex-item2 {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 28%;
    height: 80%;
    border-right: 2px solid black;
}

.flex-item3 {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 28%;
    height: 80%;
    border-right: 2px solid black;
}

.flex-item4 {
    justify-content: center;
    display: flex;
    align-items: center;
    width: auto;
    height: 80%;
}


.flex-item input {
    width: 90%;
    padding: 5px;
    border-radius: 10px;
    border: 1px solid #ccc;
    text-align: center;

}

.button button {
    width: 100px;
    height: 40px;
    color: black;
    background-color: rgb(177, 91, 144);
    border-radius: 250px;
    margin-top: 25px;
}

.boxes {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
}

.box {
    width: 1300px;
    height: 300px;
    display: flex;
    border: 1px solid #ccc;
    border-radius: 15px;
    overflow: hidden;
}

.imgbot {
    display: flex;
    height: 302px;
    border-radius: 15px;
}

.imgbot img {
    width: 350px;
    height: auto;
}

.box-content1 {
    display: flex;
    width: 45%;
    height: 100%;
    flex-direction: column;
    border-right: 1px solid #ccc;
}

.box-content {
    width: 100%;
    height: 50%;
    display: flex;
    padding: 10px;
    flex-direction: column;
}

.box-content p {
    margin: 0px;
    padding: 0px;
}

.p {
    font-weight: bold;
}

.star {
    width: 15px;
    aspect-ratio: 1;
    background: #333;
    clip-path: polygon(50% 0,
            calc(50%*(1 + sin(.4turn))) calc(50%*(1 - cos(.4turn))),
            calc(50%*(1 - sin(.2turn))) calc(50%*(1 - cos(.2turn))),
            calc(50%*(1 + sin(.2turn))) calc(50%*(1 - cos(.2turn))),
            calc(50%*(1 - sin(.4turn))) calc(50%*(1 - cos(.4turn))));
}

.stars {
    display: flex;
}

.opinions {
    display: flex;
}

.opinions1 {
    display: flex;
}

.rating {
    justify-content: center;
    display: flex;
    width: 50px;
    background-color: rgb(17, 170, 119);
    border-radius: 6px;
    margin-right: 5px;
}

.opinion {
    color: #333;
}

.icon {
    padding: 1px
}

.clients {
    color: #333;
    margin-left: 50px;
}

.fullbox {
    width: 100%;
    height: auto;
    display: flex;
    padding: 10px;
    flex-direction: column;
}

.flex-itembot {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: left;
}

.bottom-box {
    width: 80%;
    display: flex;
    justify-content: space-between;
}

.lastbox {
    display: flex;
    flex: 1;
}

.lastboxcontent {
    padding: 10px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: end;
    justify-content: flex-start;
    flex-direction: column;
    gap: 5px;
}

.achievment {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 2px;
    gap: 4px;
}

.text {
    font-weight: bold;
}

.flex {
    margin-top: 65px;
    display: flex;
}

.flex1 {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: smaller;
}

.flex2 {
    font-size: smaller;
}

.lastbutton {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.custom-button {
    background-color: rgb(236, 85, 85);
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.custom-button:hover {
    background-color: rgb(200, 50, 50);
}

footer {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    padding: 100px 0;
    border-top: 1px #ccc solid;
    margin-top: 25px;
}

.foot {

    display: flex;
    height: auto;
    flex-direction: column;
    align-items: center;
}

.footyfoot {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.bigfoot {
    font-size: 1.8em;
}

.icons {
    padding: 1px;
    justify-content: left;
}

.icons a {
    text-decoration: none;
    color: #333;
}

.bigfot {
    font-size: 1.3em;
}
.bars{
    display: none;
}

@media (max-width: 768px) {
    .nav ul{
        display: none;
    }
    .bars{
        display: flex;
        justify-content: end;
        flex: 1;
    }
    .bgflex {
        flex-direction: column;
        width: auto;
        height: auto;
        gap: 15px;
        border-radius: 15px;
    }

    .flex-item3 {
        border-right: none;
        width: auto;
    }

    .flex-item2 {
        border-right: none;
        width: auto;
    }

    .flex-item1 {
        border-right: none;
    }

    .boxes{
        padding: 0 20px;
    }
    
    .box {
        flex-direction: column;
        width: auto;
        height: auto;
    }

    .box-content1 {
        width: auto;
        height: auto;
        flex-direction: column;
        border: none;
    }

    .box-content {
        width: auto;
        height: auto;
        gap: 3px;
    }

    .imgbot {
        width: auto;
        height: auto;
        justify-content: center;
    }

    .imgbot img {
        width: 100%;
    }

    .bottom-box {
        height: auto;
        width: auto;
        flex-direction: column;
    }

    .lastboxcontent {
        height: auto;
        width: auto;
        flex-direction: column;
    }

    .clients {
        margin: 0px 0px;
    }

    .lastbox {
        display: block;
    }

    .flex {
        margin: 0px 0px;
    }

    .nav {
        border: none;
    }
    .footyfoot{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    }
    .foot{
        align-items: start;
    }
}