* {
    box-sizing: border-box;
    margin: 0;
    scroll-behavior: smooth;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    padding: 0 8px;
}

a {
    text-decoration: none;
}

h2 {
    font-size: 2.9rem;
    font-weight: 300;
}

section {
    margin: 5rem 0;
    padding: 6rem 0rem;
}

.btn {
    padding: 18px 50px;
    border: none;
    border-radius: 46px;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
}

.btn_secondary {
    background-color: transparent;
    border: 1px solid white;
}

.btn_with_icon {
    display: flex;
    align-items: center;
    gap: 10px;

    img {

        width: 30px;
    }

}


.nav_wrapper {
    width: 100vw;
    display: flex;
    justify-content: center;
}

.nav {
    z-index: 10;
    background-color: red;
    border-radius: 10px;
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    margin: 10px auto;
    max-width: 1200px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    color: white;
    padding: 10px 18px;

    .logo {
        img {
            height: 70px;
        }
    }

    nav {
        display: flex;
        gap: 23px;

        a {
            text-decoration: none;
            color: white;
            text-transform: uppercase;
        }
    }

    #mobile_menu {
        display: none;
    }
}

.hero {
    max-width: 1400px;
    background-image: url("../images/hero.webp");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 10px auto;
    border-radius: 20px;
    padding: 16rem 10px;
    background-color: black;
    color: white;

    h1 {
        font-size: 4rem;
        font-weight: 300;

        span {}
    }

    p {
        font-size: 24px;
    }

    .buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 24px;
    }
}

.overview {
    display: flex;
    justify-content: center;
    background-color: black;
    color: white;
    margin: 9rem auto;
    max-width: 1400px;
    border-radius: 50px;

    p {
        font-size: 28px;
        max-width: 800px;
        text-align: center;
        line-height: 130%;
    }
}

.services {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0.1rem auto;
    text-align: center;

    .cards {
        display: grid;
        grid-template-columns: auto auto auto;
        gap: 32px;
        text-align: left;

        .card {
            display: flex;
            flex-direction: column;
            gap: 10px;
            /* width: 390px; */
            /* padding: 14px; */
            border-radius: 20px;
            border: 1px solid #d5d7da;
            /* background-color: #fafafa; */
            background-color: darkred;
            color: white;

            img {
                width: 100%;
                height: 230px;
                object-fit: cover;
                border-radius: 12px;
            }

            .content {
                padding: 20px;
                margin-bottom: 20px;

                h3 {
                    font-weight: bold;
                    font-size: 25px;
                }
            }

            p {
                line-height: 25px;
                /* color: #252827; */
            }

            h3 {
                margin: 10px 0;
            }
        }
    }
}

.mobile {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;

    p {
        margin-top: 10px;
    }

    .cards {
        margin: 40px 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;

        .features {
            text-align: left;
            padding: 60px 30px;
            border-radius: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            background-color: black;
            color: white;
            height: fit-content;

            h3 {
                font-size: 30px;
            }

            ul {
                display: flex;
                flex-direction: column;
                gap: 12px;

                li {
                    font-size: 20px;
                }
            }

            .call {
                background-color: red;
                border-radius: 12px;
                display: flex;
                flex-direction: column;
                gap: 10px;
                padding: 12px 8px;

                p,
                h4 {
                    font-size: 18px;
                    text-align: center;
                }
            }
        }

        .image {
            border-radius: 20px;
            overflow: hidden;
        }
    }
}

.about {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;

    .about__main {
        p {
            font-size: 26px;
            margin: 10px 0;
        }

        .red {
            color: red;
        }
    }

    .cards {
        margin: 40px 0;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 25px;

        .features {
            text-align: left;
            padding: 60px 30px;
            border-radius: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            background-color: black;
            color: white;
            height: fit-content;

            h3 {
                font-size: 30px;
            }

            p,
            li {
                font-size: 20px;
            }

            ul {
                display: flex;
                flex-direction: column;
                gap: 12px;
            }
        }
    }
}

.contact {
    max-width: 1400px;
    margin: 0 auto;
    gap: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;

    .details {
        display: flex;
        flex-direction: column;
        gap: 20px;

        p {
            font-size: 20px;
            margin: 6px 0;
        }

        .group {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            border-bottom: 1px solid red;
            padding-bottom: 10px;

            .icon {
                display: flex;
                align-items: center;
                gap: 10px;

                p {
                    color: red;
                    text-transform: uppercase;
                    font-weight: bold;
                    font-size: 14px;
                }

                img {
                    padding: 10px;
                    width: 40px;
                    background-color: red;
                    border-radius: 50%;
                }
            }
        }

        .hours {
            display: block;
        }
    }

    .form_container {
        padding: 50px;
        border: 1px solid #d5d7da;
        border-radius: 20px;
        /* background-color: #fafafa; */
        background-color: darkred;
        color: white;

        form {
            display: flex;
            flex-direction: column;
            gap: 20px;

            input,
            select,
            textarea {
                padding: 12px;
                border-radius: 8px;
                outline: none;

                border: 1px solid #d5d7da;
                font-size: 18px;
            }

            .group {
                /* flex-wrap: wrap; */
                display: flex;
                gap: 10px;
            }

            .fields {
                width: 100%;
                display: flex;
                flex-direction: column;
                gap: 8px;
            }

            button {
                background-color: black;
                color: white;
            }
        }
    }
}

footer {
    background-color: black;
    color: white;
    padding: 7rem 20px;

    h3 {
        text-transform: uppercase;
        font-size: 22px;
    }

    .copy {
        border-top: 1px solid white;
        padding-top: 2rem;
        margin-top: 5rem;
        text-align: center;
        text-transform: uppercase;
    }

    p {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .content {
        max-width: 1400px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;

        h3 {
            margin-bottom: 16px;
        }

        .contacts {
            text-align: center;
        }

        .links {
            text-align: right;
            display: flex;
            flex-direction: column;
            align-items: end;

            nav {
                display: flex;
                justify-content: end;
                flex-wrap: wrap;
                gap: 28px;

                a {
                    font-size: 18px;
                    text-transform: uppercase;
                    text-decoration: none;
                    color: red;
                }
            }
        }
    }
}

.whatsapp {
    display: flex;
    background-color: white;
    align-items: center;
    font-size: 18px;
    gap: 10px;
    padding: 12px 43px;
    border-radius: 40px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    width: fit-content;
    margin-top: 20px;

    img {
        width: 40px;
    }
}

.locator {
    /* margin: 30px 0; */
    padding: 40px 0;
}

@media only screen and (max-width: 948px) {
    form {
        .group {
            flex-wrap: wrap;
        }
    }

    footer {
        .content {
            grid-template-columns: 1fr 1fr;

            .links {
                text-align: center;
                align-items: center;

                nav {
                    justify-content: center;
                }
            }
        }
    }
}

@media only screen and (max-width: 768px) {
    .nav {
        width: 90vw;
        top: 15px;

        .logo {
            img {
                height: 35px;
            }
        }

        nav {
            display: none;
        }

        #mobile_menu {
            display: flex;

            img {
                height: 40px;
            }
        }
    }

    .hero {
        padding: 12rem 10px;

        h1 {
            font-size: 2rem;
        }

        p {
            font-size: 18px;
        }

        .buttons {
            flex-direction: column;
        }
    }

    .overview {
        padding: 5rem 30px;

        p {
            font-size: 20px;
        }
    }

    .services {
        .cards {
            grid-template-columns: 1fr;
        }
    }

    .mobile {
        .cards {
            grid-template-columns: 1fr;
        }

        .image {
            height: 400px;
        }
    }

    .about {
        .about__main {
            p {
                font-size: 20px;
            }
        }

        .cards {
            grid-template-columns: 1fr;
        }
    }

    .contact {
        display: flex;
        flex-direction: column;
        gap: 50px;

        .details {
            p {
                font-size: 18px;
            }
        }

        .form_container {
            padding: 50px 20px;
        }

        form {
            width: 100%;

            .group {
                flex-direction: column;
            }
        }
    }

    footer {
        .logo {
            display: flex;
            justify-content: center;

            img {
                width: 200px;
            }
        }

        .content {
            grid-template-columns: 1fr;
            gap: 60px;

            .links {
                text-align: center;
                align-items: center;

                nav {
                    justify-content: center;
                    flex-wrap: wrap;
                    gap: 16px;

                    a {
                        font-size: 16px;
                    }
                }
            }
        }
    }
}

.mobile_menu {
    display: none;
    position: absolute;
    top: 68px;
    width: 90vw;
    left: 0;
    right: 0;
    padding: 40px 10px;
    border-radius: 10px;
    background-color: red;
    flex-direction: column;
    justify-content: center;
    gap: 20px;

    .links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 19px;
        text-align: center;

        a {
            color: white;
            text-transform: uppercase;
            font-weight: bold;
        }
    }

    .whatsapp_container {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

@media only screen and (max-width: 640px) {}
