@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@700&family=Roboto+Slab:wght@700&family=Roboto:wght@300;400;500;700;900&family=Space+Mono:wght@700&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,400&family=Space+Grotesk:wght@300..700&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
    font-family: Space Grotesk, sans-serif;
}

html,
body {
    min-height: 100vh;
}

body {
    font-family: Space Grotesk, sans-serif;
}

header {
    padding: 20px 0;
    border-bottom: 1px solid black;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 999;
}

section {
    min-height: 100vh;
}

nav a {
    & {
        position: relative;
    }

    &::before {
        content: "";
        position: absolute;
        height: 1px;
        width: 0;
        bottom: -2px;
        background-color: black;
        transition: all .3s ease-in-out;
    }

    &:hover {
        &::before {
            width: 100%;
        }
    }
}

a {
    text-decoration: none;
    color: black;
}

input,
button {
    font-family: Space Grotesk, sans-serif;
    border: none;
    outline: none;
}

input {
    border: 0.8px solid black;
}

.container {
    max-width: 1260px;
    padding: 0 20px;
    margin: 0 auto;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

    & .header-left {
        display: flex;
    }

    & .logo {
        font-weight: 500;
        font-size: 32px;
        font-family: Space Grotesk, sans-serif;
    }

    & .header-nav {
        display: flex;
        align-items: center;
        margin-left: 35px;
        gap: 30px;
    }

    & .header-rigth {
        display: flex;
        gap: 20px;
    }

    & .burger {
        display: none;
        cursor: pointer;
    }

    & .responsive-nav_frame {
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 9999;

        & .responsive-nav {
            max-width: 500px;
            height: 100vh;
            background-color: black;
            position: absolute;
            right: -100%;
            transition: all .3s ease-in-out;

            & nav {
                width: 100%;
                display: flex;
                flex-direction: column;
            }

            & a {
                color: white;
                font-size: 32px;
                padding: 20px 30px;
                font-family: Space Grotesk, sans-serif;

                &::before {
                    background-color: white;
                }
            }
        }

        &.active {
            display: block;

            & .responsive-nav {
                right: 0;
            }
        }
    }
}

.btn {
    padding: 8px 20px;
    background-color: transparent;
    border: 1px solid black;
    cursor: pointer;
    font-weight: 500;
    font-size: 15px;
    font-family: Space Grotesk, sans-serif;

    &.btn_black {
        background-color: black;
        color: white;
        font-family: Space Grotesk, sans-serif;
    }
}

.hero_section {
    display: flex;
    align-items: center;
}

.hero-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    & .desc {
        & h1 {
            font-weight: 800;
            font-size: 60px;
            margin-bottom: 24px;
            font-family: Space Grotesk, sans-serif;
        }

        & p {
            font-size: 18px;
            font-family: Space Grotesk, sans-serif;
        }

        & div {
            display: flex;
            gap: 16px;
            margin-top: 32px;

            & button {
                padding: 12px 24px;
                font-size: 16px;
                font-family: Space Grotesk, sans-serif;
            }
        }
    }
}

.img {
    width: 600px;
    height: 500px;
    object-fit: cover;
    margin-right: 20px;
}

.about-container {
    height: 100%;
    display: flex;
    align-items: center;

    & .suptitle {
        margin-bottom: 16px;
        font-weight: 600;
        font-family: Space Grotesk, sans-serif;
    }

    & h1 {
        font-size: 48px;
        font-family: Space Grotesk, sans-serif;
    }

    & .text {
        margin: 24px 0;
        font-size: 18px;
        font-family: Space Grotesk, sans-serif;
    }

    ul {
        list-style: none;
        display: flex;
        flex-direction: column;
        gap: 16px;

        & li {
            display: flex;

            & i {
                flex-shrink: 0;
                width: 24px;
                height: 24px;
                margin-right: 16px;
            }
        }
    }

    & div {
        margin-top: 32px;

        & button {
            padding: 12px 24px;
            font-size: 16px;
            font-family: Space Grotesk, sans-serif;
        }
    }
}

.services_section {
    margin-top: 20px;
    position: relative;

    & .bgc-img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        position: absolute;
        top: 0;
        z-index: -1;
    }
}

.services-container {
    & .top {
        display: flex;
        justify-content: flex-end;
        padding-top: 100px;

        & img {
            width: 310px;
            height: 310px;
            object-fit: cover;
        }
    }

    & .bottom {
        margin-top: 50px;
        display: flex;
        justify-content: space-between;

        & h1 {
            font-size: 56px;
            font-family: Space Grotesk, sans-serif;
        }

        & p {
            width: 600px;
            font-size: 18px;
            margin-bottom: 32px;
            font-family: Space Grotesk, sans-serif;
        }

        & .buttons {
            display: flex;
            gap: 16px;

            & button {
                padding: 12px 24px;
                font-size: 16px;
                font-family: Space Grotesk, sans-serif;
            }
        }
    }
}

.contact-container {
    padding-top: 20px;

    & .supTitle {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 15px;
        font-family: Space Grotesk, sans-serif;
    }

    & .title {
        font-size: 48px;
        margin-bottom: 24px;
        font-family: Space Grotesk, sans-serif;
    }

    & .text {
        font-size: 18px;
        margin-bottom: 80px;
        font-family: Space Grotesk, sans-serif;
    }

    .links_frame {
        display: flex;
        flex-wrap: wrap;
        gap: 25px;
    }

    .link-box {
        & svg {
            width: 48px;
            height: 48px;
            margin-bottom: 24px;
        }

        & h1 {
            font-size: 32px;
            margin-bottom: 16px;
        }


        & p {
            width: 285px;
            margin-bottom: 24px;
        }

        & a {
            text-decoration: underline;
        }
    }
}

.footer-container {
    padding: 80px 20px;

    & .footer-links {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px 0;
        padding-bottom: 80px;
        border-bottom: 2px solid black;

        .left {
            display: flex;
        }

        & .footer-logo {
            font-size: 30px;
            font-weight: 800;
            margin-right: 150px;
            font-family: Space Grotesk, sans-serif;
        }

        & .colums {
            --width: 500px;
            display: flex;
            gap: 32px;

            & div {
                width: calc(var(--width) / 3);
            }

            & .column {
                display: flex;
                flex-direction: column;

                & h3 {
                    font-weight: 600;
                    margin-bottom: 16px;
                }

                & a {
                    padding: 8px 0;
                    font-size: 14px;
                    line-height: 21px;
                }
            }
        }

        & .second_column {
            width: 100%;
            & h3 {
                margin-bottom: 16px;
                font-size: 16px;
                font-weight: 600;
                font-family: Space Grotesk, sans-serif;
            }

            & p {
                font-size: 14px;

                margin-bottom: 16px;
                font-family: Space Grotesk, sans-serif;
            }

            & form {
                margin-bottom: 12px;
                display: flex;
                gap: 16px;

                & input {
                    width: 100%;
                    padding: 8px 12px;
                }
            }

            & span {
                font-size: 12px;
                line-height: 18px;
                font-family: Space Grotesk, sans-serif;

            }
        }
    }

    & .footer-end {
        display: flex;
        justify-content: space-between;
        padding-top: 32px;
        flex-wrap: wrap;
        gap: 20px 0;

        & .footer-end__links {
            display: flex;
            gap: 24px;

            & a {
                text-decoration: underline;
                font-size: 16px;
            }
        }

        & .footer-end__social {
            display: flex;
            gap: 12px;

            & a {
                display: flex;
                align-items: center;

                & svg {
                    width: 24px;
                    height: 24px;
                }
            }
        }
    }
}

.privacy-terms-section {
    padding: 112px 0;

    & h1 {
        font-size: 56px;
        line-height: 67px;
        margin-bottom: 24px;
        font-family: Space Grotesk, sans-serif;
    }

    & p {
        max-width: 768px;
        font-size: 18px;
        line-height: 27px;
        font-family: Space Grotesk, sans-serif;
    }
}

@media screen and (max-width: 1200px) {
    .footer-container {
        & .footer-links {
            gap: 64px 0;

            & .left {
                width: 100%;
                flex-direction: column;
                gap: 32px;
            }

            & .colums {
                --width: 100%;
            }
        }
    }
}

@media screen and (max-width: 1070px) {
    .container {
        padding: 0 40px;
    }

    .hero-container {
        flex-direction: column;
        gap: 64px;
        padding-top: 96px;
        padding-bottom: 96px;

        & .desc {
            width: 100%;
        }
    }

    .img {
        width: 100%;
        margin: 0;
    }

    .about-container {
        gap: 48px;

        & h1 {
            font-size: 44px;
        }

        & img {
            width: 225px;
            height: 225px;
        }

        & div>div {
            display: flex;
            gap: 16px;
        }
    }

    .services-container {
        & .bottom {
            gap: 48px;

            & h1 {
                width: 50%;
                font-size: 52px;
                font-family: Space Grotesk, sans-serif;
            }

            &>div {
                width: 50%;

                & p {
                    width: 100%;
                    font-family: Space Grotesk, sans-serif;
                }
            }
        }
    }

    .contact-container {
        & .text {
            margin-bottom: 70px; 
        }
    }
}

@media screen and (max-width: 1000px) {
    .contact-container {
        & .links_frame {
            justify-content: space-around;
        }
    }
}

@media screen and (max-width: 970px) {
    .header-container {

        & .header-nav,
        & .header-rigth {
            display: none;
        }

        & .burger {
            display: block;
        }
    }

    .services_section {
        & .bgc-img {
            height: 300px;
        }

        & .top {
            & img {
                width: 250px;
                height: 250px;
            }
        }
    }

    .privacy-terms-section {
        padding: 96px 0;
    }
}

@media screen and (max-width: 800px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-container {
        padding-top: 110px;
        padding-bottom: 64px;
    }

    .about-container {
        flex-direction: column;

        & .suptitle {
            margin-bottom: 12px;
        }

        & h1 {
            font-size: 36px;
            font-family: Space Grotesk, sans-serif;
        }

        & .text {
            margin: 20px 0;
            font-size: 16px;
            font-family: Space Grotesk, sans-serif;
        }

        & img {
            width: 100%;
            height: 350px;
        }
    }

    .services_section {
        & .bgc-img {
            height: 250px;
        }

        & .top {
            & img {
                width: 200px;
                height: 200px;
            }
        }
    }

    .services-container {
        & .bottom {
            margin-top: 10px;
            flex-direction: column;
            gap: 20px;

            & h1 {
                width: 100%;
                font-size: 40px;
                font-family: Space Grotesk, sans-serif;
            }

            &>div {
                width: 100%;

                & p {
                    font-size: 16px;
                    margin-bottom: 24px;
                    font-family: Space Grotesk, sans-serif;
                }
            }
        }
    }

@media screen and (max-width: 650px) {
    .contact-container {
        & .links_frame {
            justify-content: start;
            gap: 32px;

            & .link-box {
                width: 100%;

                & svg {
                    margin-bottom: 20px;
                }

                & h1 {
                    font-size: 24px;
                    font-family: Space Grotesk, sans-serif;
                }

                & p {
                    width: 100%;
                    font-family: Space Grotesk, sans-serif;
                }
            }
        }
    }

    .contact-container {
        & .supTitle {
            margin-bottom: 10px;
            font-family: Space Grotesk, sans-serif;
        }

        & .title {
            margin-bottom: 20px;
            font-size: 36px;
            font-family: Space Grotesk, sans-serif;
        }

        & .text {
            margin-bottom: 48px;
        }
    }

    .footer-container {
        margin-top: 50px;
    }
}

@media screen and (max-width: 600px) {
    .img {
        height: 350px;
    }

    .hero-container {
        gap: 48px;

        & .desc {
            & h1 {
                font-size: 40px;
                margin-bottom: 20px;
            }

            & p {
                font-size: 16px;
            }

            & div {
                margin-top: 24px;
            }
        }
    }
}