@import url('https://fonts.googleapis.com/css2?family=Righteous&family=Ubuntu+Condensed&display=swap');

html {
    scroll-behavior: smooth;
}

* {
    margin: 0px;
    padding: 0px;
}

body {
    background-color: rgb(249 242 242);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 13px;
    position: sticky;
    top: 0;
    cursor: pointer;
}

.nav-list {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-radius: 32px
}

.nav-list li {
    list-style: none;
    padding: 21px 39px;
}

.nav-list li a {
    text-decoration: none;
    color: black;
    font-family: "Ubuntu Condensed", sans-serif;
    font-size: 22px;
}

.nav-list li a:hover {
    color: rgb(54, 35, 138);
}

.s-home {
    margin: 20px;
    display: flex;
    justify-content: center;
}

.h-home {
    display: flex;
    margin:20px 0px;
}

.h-dark {
    color: #373766;
    font-family: "Ubuntu Condensed", sans-serif;
    font-size: 35px;
}

.h-light {
    color: blue;
    font-family: "Ubuntu Condensed", sans-serif;
}

.img-home {
    width: 26%;
}

.img-home img {
    width: 100%;
    border-radius: 30px;
}

.b-home {
    margin: 10px;
}

.btn-home {
    border: none;
    margin: 30px 0px;
}

.btn-home a {
    color: blue;
    text-decoration: none;
    font-size: 16px;
    padding:7px 10px;
    border: 2px solid blue;
    border-radius: 21px;
    font-family: "Ubuntu Condensed", sans-serif;
}

.btn-home a:hover {
    cursor: pointer;
    color: white;
    background-color: blue;
}

.info-home {
    display: flex;
}

.i-common {
    margin: 18px;
}

.i-dark {
    margin: 18px 0px;
    padding: 0px 26px;
    border-left: 2px solid gray;
    border-right: 2px solid gray;
}

.s-services {
    background-color: white;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.main-heading {
    margin-top: 25px;
    padding-top: 30px;
    display: flex;
    justify-content: center;
}

.main-part1 {
    justify-items: left;
    font-family: "Ubuntu Condensed", sans-serif;
    margin-right: 250px;
}

.main-part2 {
    justify-items: right;
}

.main-part2 h2 {
    color: blue;
}

.s-secondpart {
    display: flex;
    justify-content: center;
    background-color: white;
}

.service-second-img {
    width: 25%;
}

.service-second-img img {
    width: 100%;
    margin-top: 30px;
    border-radius: 20px
}

.service-second-info {
    width: 35%;
    padding: 30px 45px;
}

.service-second-info h2, p {
    font-family: "Ubuntu Condensed", sans-serif;
}

.service-second-info p {
        margin: 14px 0px;
}

.about-us {
    margin: 20px;
    display: flex;
    justify-content: center;
    background-color: white;
    padding-top: 30px;
}

.about-img {
    width: 25%;
}

.about-img img {
    width: 100%;
    margin: 20px 0px;
    border-radius: 21px;

}

.about-info {
    width: 41%;
    margin: 20px 45px;
}

.about-info p {
    margin: 22px 3px;
}

.h-about {
    margin: 0px 2px;
}

.about-info h2, p {
    font-family: "Ubuntu Condensed", sans-serif;
}

.s-services-part2 {
    margin: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
}

.part2-h {
    width: 32%;
    text-align: center;
    display: block;
    margin: auto;
}

.part2-h h2, p {
    font-family: "Ubuntu Condensed", sans-serif;
}

.part2-h p {
    margin: 8px 11px;
    text-align: center;
}

.s-home {
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.information {
    flex: 1 1 480px;
    max-width: 720px;
    min-width: 260px;
}

.img-home {
    flex: 1 1 320px;
    max-width: 420px;
    min-width: 180px;
}

.service-second-img,
.about-img {
    flex: 1 1 300px;
    max-width: 420px;
}

.service-second-info,
.about-info {
    flex: 1 1 360px;
    max-width: 720px;
}

.info-home {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.s-contact {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

.s-contact h2 {
    
}

.contact-info {
    display: flex;
    width: 70%;
}

.contact-input {
    width: 40%;
    margin: 6px;
}

/* Tablet / small laptop */
@media (max-width: 900px) {
    .nav-list {
        width: 90%;
    }

    .nav-list li a {
        font-size: 18px;
    }

    .main-part1 {
        margin-right: 0px;
    }

    .service-second-img,
    .service-second-info,
    .about-img,
    .about-info {
        max-width: 720px;
        width: 90%;
    }

    .part2-firsthalf {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .nav-list {
        width: 95%;
        padding: 6px 8px;
        border-radius: 18px;
        overflow-x: auto;
    }

    .nav-list li {
        padding: 10px 14px;
    }

    .nav-list li a {
        font-size: 16px;
    }

    .s-home {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .img-home,
    .information,
    .service-second-img,
    .service-second-info,
    .about-img,
    .about-info {
        width: 95%;
        max-width: none;
        margin: 0 auto;
    }

    .part2-firsthalf {
        flex-direction: column;
        align-items: center;
    }

    .card1 {
        width: 92%;
        margin: 10px auto;
    }

    .contact-info h2 {
        width: 100%;
        padding: 0 8px;
    }

    footer {
        padding: 14px 8px;
        text-align: center;
    }
}