html { font-size: 16px; }
body {
  box-sizing: border-box;
  margin: 0;
  padding:
    env(safe-area-inset-top),
    env(safe-area-inset-right) env(safe-area-inset-bottom),
    env(safe-area-inset-left);
  font-family: Inter, sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 1rem;
}


*,
*::before,
*::after {
  box-sizing: inherit;
  font: inherit;
}


img {
    max-width: 100%;
    margin: 0;
}

.container {
    margin-left: auto;
    margin-right: auto;
    max-width: 1280px;
    min-height: 100px;
}



.nav {
    top: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: white;
    .logo {
        max-width: 216px;
        max-height: 90px;
        margin-right: 8px;
    }
    a {
        height: 90px;
        display: flex;
        align-items: center;
        padding: 1rem;
        text-transform: uppercase;
        text-decoration: none;
        color: rgb(0, 38, 62);
        font-family: Poppins, sans-serif;
        font-size: 14px;
        font-weight: 600;

        &:hover {
            color: #FF6B00;
        }
    }
}

.presention {
    position: absolute;
    left: 0;
    background-image: url('house.jpg');
    background-color: rgb(61, 59, 57);
    background-blend-mode: luminosity;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 765px;
    width: 100%;
    color: white;
    padding-left: 320px;
    padding-top: 150px;
    
     h1 {
        margin: 0;
        font-family: Montserrat;
        font-size: 77px;
        font-weight: 700;
        line-height: 78px;
     }

     div {
        margin: 0;
        margin-top: 1.5rem;
        font-family: Montserrat;
        font-size: 24px;
        font-weight: 500;
        line-height: 32px;
     }

     button {
        margin-top: 2.5rem;
        background-color: rgb(255, 107, 0);
        color: white;
        border-radius: 30px;
        padding-inline: 40px;
        font-family: Montserrat;
        font-size: 18px;
        font-weight: 600;
        line-height: 50px;
        transition: background-color 0.5s linear;
        &:hover {
            background-color: rgb(255, 107, 0, 0.2);
            border: 1px solid rgb(255, 107, 0);
        }
     }

}

.services {
    margin-top: calc(765px + 128px);
    background-color: rgb(249, 249, 249);
    border-radius: 32px;
    font-family: Poppins, sans-serif;
    padding: 2rem 3rem;
    h2 {
        font-size: 24px;
        font-weight: 600;
        text-align: center;
        text-transform: uppercase;
        color: rgb(42, 42, 42);
        line-height: 31.5px;
    }
    .card-service-icon {
        display: block;
        min-height: 64px;
    }

    .card-service-title {
        font-size: 20px;
        font-weight: 600;
        text-transform: uppercase;
        color: rgb(42, 42, 42);
        line-height: 31.5px;
    }

    .card-service-description {
        font-family: Raleway, sans-serif;
        font-size: 14px;
        font-weight: 500;
        color: rgb(131, 131, 131);
        line-height: 26px;
    }

    .card-grig-service {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px,1fr));
        gap: 2rem;
        .card-service {

            width: 392px;
            min-height: 222px;
        }
    }
}

.admin-message {
    font-family: Poppins, sans-serif;
    margin-top: 128px;
    width: 100%;
    display: flex;
    gap: 2rem;
    .left {
        width: 50%;
        h2 {
            font-size: 24px;
            font-weight: 600;
            text-align: left;
            text-transform: uppercase;
            color: rgb(42, 42, 42);
            line-height: 31.5px;
        }

        span {
            font-family: Raleway, sans-serif;
            font-size: 14px;
            font-weight: 500;
            color: rgb(131, 131, 131);
            line-height: 26px;
        }

        br {
            margin-top: 1rem;
        }
    }
    .right {
        width: 50%;
        img {
            border-radius: 5px;
        }
    }
}

.vision {
    font-family: Poppins, sans-serif;

    h2 {
        font-size: 24px;
        font-weight: 600;
        text-align: left;
        text-transform: uppercase;
        text-align: center;
        width: 100%;
        color: rgb(42, 42, 42);
        line-height: 31.5px;
    }
    .vision-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px,1fr));
        gap: 1.5rem;
    }
    .card-vision {
        .card-vision-title {
            font-size: 16px;
            font-weight: 600;
            text-transform: uppercase;
            color: rgb(42, 42, 42);
            line-height: 20.8px;
        }
        .card-vision-description {
            font-family: Raleway, sans-serif;
            font-size: 14px;
            font-weight: 500;
            color: rgb(131, 131, 131);
            line-height: 26px;
        }
    }
}

.contact-form {
    font-family: Poppins, sans-serif;
    margin-bottom: 60px;
    h2 {
        font-size: 24px;
        font-weight: 600;
        text-align: left;
        text-transform: uppercase;
        text-align: center;
        width: 100%;
        color: rgb(42, 42, 42);
        line-height: 31.5px;
    }
    .field-input {
        margin-top: 1rem;
        font-weight: 400;
        font-size: 14px;
        color: rgb(131, 131, 131);
        label {
            display: block;
            font-size: 16px;
            font-weight: 600;
            text-transform: uppercase;
            color: rgb(42, 42, 42);
            line-height: 20.8px;
            margin-bottom: 0.5rem;
        }

        input[type="text"] {
            display: block;
            width: 100%;
            padding: 15px 17px;
            border: 1px solid rgb(235, 235, 235);
            background-color: rgb(251, 251, 252);
            &:focus {
                outline-color: rgb(247, 197, 30);
                outline-width: 1px;
            }
        }

        select {
            display: block;
            width: 100%;
            padding: 15px 17px;
            border: 1px solid rgb(235, 235, 235);
            background-color: rgb(251, 251, 252);
            appearance: none;
        }

        textarea {
            display: block;
            width: 100%;
            height: 241px;
            display: block;
            padding: 15px 17px;
            border: 1px solid rgb(235, 235, 235);
            background-color: rgb(251, 251, 252);

            &:focus {
                outline-color: rgb(247, 197, 30);
                outline-width: 1px;
            }
        }
        .terms-and-conditions {
            display: inline-block;
            margin-top: 0.5rem;
        }
    }

    .send {
        background-color: rgb(255, 107, 0);
        color: white;
        text-transform: uppercase;
        font-size: 16px;
        font-weight: 600;
        line-height: 20.8px;
        border: none;
        padding: 15px 45px;
        margin-top: 0.5rem;;
    }
}

footer {
    background-color: rgb(34,34,37);
    .footer-container {
        margin-left: auto;
        margin-right: auto;
        max-width: 1280px;
        padding: 80px 0;
        display: flex;
        flex-wrap: wrap;
        .footer-logo {
            max-width: 100px;
            max-height: 100px;
        }

        .footer-content {
            font-family: Raleway, sans-serif;
            font-size: 14px;
            color: white;
            width: 70%;
            h3 {
                font-weight: 700;
            }
            .footer-email {
                color: rgb(255, 107, 0);
            }

            .map-button {
                display: inline-block;
                margin-top: 1.5rem;
                background-color: rgb(50, 55, 60);
                padding: 1rem;
                border-radius: 30px;
                color: white;
                &:active, &:visited {
                    color: white;
                }
            }
        }
        .footer-social {
            display: flex;
            gap: 0.5rem;
            .link-instagram {
                display: block flex;
                height: 24px;
                width: 24px;
                background-color: rgb(240, 0, 117);
                justify-content: center;
                align-items: center;
                fill: white;
                border-radius: 20px;

            }
            .link-facebook {
                display: block flex;
                height: 24px;
                width: 24px;
                background-color: rgb(8, 102, 255);
                justify-content: center;
                align-items: center;
                fill: white;
                border-radius: 20px;

            }
        }
    }
}

@media (max-width: 1280px) {
    .container {
        margin: 0;
    }
    .nav {
        position: sticky;
        left: 0;
        width: 100%;
        justify-content: center;
    }
    .nav a {
        display: none;
    }
    .presention {
        display: none;
    }
    .services {
        margin: 1rem;
    }
    .admin-message {
        flex-wrap: wrap;
        margin-top: 0;
        padding: 1rem;
        .left{
            width: 100%;
        }
        .right{
            width: 100%;
        }
    }
    .vision {
        padding: 1rem;
    }
    .contact-form {
        margin: 1rem;
        .checkbox-about {
            display: block;
        }
    }
    footer {
        .footer-social {
            width: 100%;
            margin-top: 2rem;
            justify-content: center;
        }
    }
}

.icon-element::before {
    color: rgb(255, 107, 0);
    font-family: Liberation Serif;
    font-size: 56px;
    font-weight: 500;
    font-style: normal;
}

.u-icon::before {
    content: "U";
}


.question-mark-icon::before {
    content: "?";
}

.four-icon::before {
    content: "4";
}

.b-icon::before {
    content: "B";
}

.new {
    display: none !important;
}

.success {
    color: green;
}

.error {
    color: red;
}