* {
    box-sizing: border-box;
    margin: 0;
}

:root {
    --Very-Pale-Cyan: hsl(193, 100%, 96%);
    --Very-Dark-Cyan: hsl(192, 100%, 9%);
    --Grayish-Blue: hsl(208, 11%, 55%);
    --Pink: hsl(322, 100%, 66%);
}

body {
    font-family: "Poppins", serif;
}

.header {
    background-image: url(../images/bg-hero-desktop.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-color: var(--Very-Pale-Cyan);
    padding: 2rem;
}

.header .nav {
    display: flex;
    justify-content: space-between;
}

.header .nav button {
    border-radius: 15px;
    background-color: white;
    border-width: 0;
    padding: .5rem 3rem;
    box-shadow: 0px 0px 16px -6px black;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.header .nav button:hover {
    opacity: .7;
    transition: .3s ease;
    cursor: pointer;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -ms-transition: .3s ease;
    -o-transition: .3s ease;
}

.nav img {
    width: 160px;
}

.nav-info {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    align-items: center;
}

.nav-info img {
    width: 100%;
}

.left-nav-info {
    width: 50%;
}

.nav-info h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--Very-Dark-Cyan);
}

.get-start {
    background-color: var(--Pink);
    padding: 1rem 4rem;
    border: none;
    border-radius:2rem ;
    margin-top: 2rem;
    color: white;
    -webkit-border-radius:2rem ;
    -moz-border-radius:2rem ;
    -ms-border-radius:2rem ;
    -o-border-radius:2rem ;
}

.get-start:hover {
    opacity: .7;
    transition: .3s ease;
    cursor: pointer;
    -webkit-transition: .3s ease;
    -moz-transition: .3s ease;
    -ms-transition: .3s ease;
    -o-transition: .3s ease;
}

@media (max-width:1200px) {
    .left-nav-info {
        width: 70%;
    }
    .left-nav-info h1 {
        font-size: 2rem;
    }
    .img {
        width: 95%;
    } 
}

@media (max-width:992px) {
    .nav-info {
        flex-direction: column;
        text-align: center;
    }
    .left-nav-info {
        width: 65%;
    }
}

@media (max-width:620px) {
    .left-nav-info {
        width: 80%;
    }
    .left-nav-info h1 {
        font-size: 1.7rem;
    }
}

@media (max-width:455px) {
    .left-nav-info h1 {
        font-size: 1.4rem;
    }
    .get-start {
        padding: 1rem 2rem;
    }
    .nav img {
        width: 100px;
    }
    header {
        padding: 1rem;
    }
    .header .nav button {
        padding: .5rem 1rem;
    }
}

/*  */

.card, .card-2 {
    box-shadow: black 0px 0px 12px -6px;
    display: flex;
    align-items: center;
    gap: 12rem;
    border-radius: 15px;
    padding: 3rem 2rem 2rem 7rem;
    margin:4rem auto 4rem;
    width: 80%;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

.card img, .card-2 img {
    width: 80%;
}

.card p, .card-2 p {
    margin-top: 1rem;
    color: var(--Grayish-Blue);
    font-size: 16px;
}

@media (max-width:992px) {
    h2 {
        font-size: 1.5rem;
    }
    .card, .card-2 {
        gap: 6rem;
        padding: 2rem 1rem 1rem 6rem;
    }
    .card img {
        width: 75%;
    }
    .card-2 {
        display: flex;
    }
    .card-2 img {
        width: 75%;
    }
}
@media (max-width:780px) {
    .card, .card-2{
        flex-direction: column-reverse;
        text-align: center;
        padding: 1rem;
    }
    .card div, .card-2 div {
        width: 90%;
    }
    .card-2 {
        flex-direction: column;
    }
}

/*  */
.ready {
    box-shadow: black 0 0 12px -6px;
    width: 45%;
    border-radius: 15px;
    padding:3rem 3rem ;
    text-align: center;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    position: absolute;
    left: 50%;
    translate: -50%;
    top: -40%;
    background-color: white;
    color: black;
}

footer {
    position: relative;
    margin-top: 15rem;
    background-color: var(--Very-Dark-Cyan);
    color: white;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr ;
    gap: 8rem;
    padding: 5rem 1rem 2rem 4rem;
}



.nav-1 .location, .phone, .email {
    display: flex;
    margin-bottom: 2rem;
}

.nav-1 .location img, .phone img, .email img {
    height: 100%;
    margin-right: 2rem;
}

.nav-2 div, .nav-3 div {
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.nav-4 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
.social i {
    margin-right: 1rem;
}

@media (max-width:1200px) {
    footer {
        gap: 6rem;
    }
    .ready {
        width: 55%;
    }
}

@media (max-width:992px) {
    footer {
        gap:5rem ;
    } 
    .ready {
        padding: 2rem 2rem;
        width: 70%;
        top: -25%;
    }
    .nav-4 {
        grid-column-start: 2;
        grid-column-end: 4;
    }
}

@media (max-width:676px) {
    footer {
        padding-top:6rem ;
        display: block;
    }
    .ready {
        width: 93%;
        top: -13%;
        padding: 1rem;
    }
    .ready h2 {
        font-size: 1.2rem;
    }
}