
:root {
    --primary: #4464AD;
    --primarylight: #92C0DD;
    --secondary: #E7D09F;
    --third: #B49A67;
    --font: #000000;
    --h1Font: calc(2rem + 2vw);
    --h2Font: calc(1rem + 1vw);
    --pFont: calc(1rem + 0.5vw);
    --border: 9.5px;
}
*, *:before, *:after {
    box-sizing: border-box;
}
/** {
    border: solid red 1px !important;
}*/
body {
    font-family: arial;
    font-size: 16px;
    margin: 0;
    padding: 0;
    max-width: 100vw;
    position: relative;
}
.button {
    border-radius: 50px;
    box-shadow: 5px 5px 7px var(--primarylight);
    background-color: var(--secondary);
    font-weight: 600;
    padding: 5px 20px;
    width: auto;
    color: var(--font);
    font-size: 1.5rem;
    border: none;
    text-decoration: none;
    text-align: center;
}
.button:hover {
    background-color: var(--primary);
    transition: background-color .4s;
    cursor: pointer;
}
#navigation {
    position: sticky;
    top: 0;
    z-index: 100;
}
.cards {
    margin: 0 auto;
    margin-top: 90px;
}
.cards p {
    padding: 0 15px;

}
.cards picture {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -40px 0 0 -55%;
}
.cards img {
    filter: invert(100);
}
.cards li:hover {
    background-color: var(--primary);
    color: #fff;
    transform: scale(1.05);
}
.one:hover img, .one:hover .icon {
    filter: invert(0);
    background-color: var(--primarylight);
}
.two:hover img, .two:hover .icon {
    filter: invert(0);
    background-color: var(--primarylight);
}
.three:hover img, .three:hover .icon {
    filter: invert(0);
    background-color: var(--primarylight);
}
.four:hover img, .four:hover .icon {
    filter: invert(0);
    background-color: var(--primarylight);
}
.five:hover img, .five:hover .icon {
    filter: invert(0);
    background-color: var(--primarylight);
}
.six:hover img, .six:hover .icon {
    filter: invert(0);
    background-color: var(--primarylight);
}
.cards .call-button {
    display: flex;
    justify-content: center;
}




                  /*Mobile menu iPad $ iPhone*/

@media only screen and (max-width: 63.9375rem) {

#navigation .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-items: center;
    box-shadow: 0 0 10px var(--primarylight);
    border-radius: 13px;
    background-color: white;
    margin-top: 15px;
    padding: 10px 0;
}

.menu {
    display: none;
}
.mobile-menu .menu {
    display: grid;
    grid-column-start: span 2;
    background-color: var(--primarylight);
    width: 95vw;
    padding-left: 2vw;
    border-radius: 13px;
    text-align: center;
    position: absolute;
    top: clamp(102px, 13.9vw, 120px);
    margin: 0 2.5vw;
}
.nav-menu {
    padding-top: 20px;
}
.nav-menu li {
    padding: 10px 0;
    margin-right: 40px; 
}   
.box:hover {
    cursor: pointer;
}

#navigation .logo img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 5px 5px 7px var(--primarylight);
}
.container .logo {
    width: clamp(80px, 11.3vw, 100px);
    margin-left: -5vw;
}
.dropdown {
    visibility: hidden;
}
.open .dropdown {
      visibility: visible;
       border-radius: 13px;
  }
.open .dropdown a {
    color: var(--primary);
}
.caret {
    width: 1rem;
    margin-left: 6px;
    transform: translateY(4px);
}
.menu .drop-text:hover {
     cursor: pointer;
}
.menu .text {
    list-style: none;
    font-size: 1.7rem;
    font-weight: 600;
}
.menu a {
    text-decoration: none;
    color: var(--font);
}
.text-cta, .contact {
    list-style: none;
    margin-top: -97px;
}
.open .text-cta, .contact {
    margin-top: 0px;
    font-size: 1.7rem;
    font-weight: 600;
}
.box {
    display: inline-block;
    width: clamp(50px, 5vw, 60px);
    height: clamp(50px, 5vw, 60px);
    background-color: var(--primary);
    position: relative;
    border-radius: 10px;
    margin-right: -5vw;
}
.box .line {
    background-color: #fff;
    width: 75%;
    height: 11%;
    border-radius: 5px;
    margin: 23% 0 0 12.5%;
    position: absolute;
}
.box .line2 {
    position: absolute;
    margin: 44.5% 0 0 12.5%;
}

.box .line3 {
    position: absolute;
    margin: 65% 0 0 12.5%;
}
.mobile-menu .line1 {
    top: 20%;
    transform: rotate(45deg);
    transition: transform .6s;
}
.mobile-menu .line2 {
    display: none;
}
.mobile-menu .line3 {
    top: -20%;
    transform: rotate(-45deg);
    transition: transform .6s;
}


                 /*landing page*/

.landing-hero {
    height: 67.6vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
.landing-hero h1:before {
    content: '';
    position: absolute;
    top: clamp(120px, calc(40px + 11vw), 140px);
    left: 0;
    right: 0;
    height: 63.9vw;
    background-color: rgba(146, 192, 221, 0.58);
    z-index: -1;
}
.landing-hero picture {
    position: absolute;
    top: clamp(120px, calc(40px + 11vw), 140px);
    left: 0;
    width: 98vw;
    z-index: -2;
}
.landing-hero picture img {
    object-fit: cover;
    object-position: center;
    width: 98vw;
}
.landing-hero h1 {
    padding: 0 10px;
    margin-top: 0px;
    text-align: center;
    font-size: var(--h1Font);
}
.landing-hero p {
    width: 34vw;
    align-self: flex-start;
    margin: -8vw 0 0 6vw;
    font-size: var(--pFont);
}
.landing-hero .button {
    align-self: flex-start;
    margin: 0 0 50px calc(10vw + 25px);
    box-shadow: 5px 5px 7px rgba(146, 192, 221, 0.37);
}
.landing {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}
.landing h3{
    align-self: flex-start;
    text-transform: uppercase;
    font-size: var(--pFont);
    margin-top: 2.1rem;
}
.landing h1 {
    align-self: flex-start;
    font-size: var(--h1Font);
    margin-top: -40px;
}
.landing p {
    font-size: 1rem;
    margin-top: 0px;
}
.landing img {
    width: 90vw;
}
.landing .button {
    width: auto;
    margin: 0 auto;
}
.cards ul {
    padding: 0;
    margin: 7vh 3vw;
    display: grid;
    grid-template-columns: repeat(auto-fill,
     minmax(306px, 1fr));
    justify-content: center;
    grid-column-gap: 3vw;
    grid-row-gap: 60px;
}
.cards li {
    list-style: none;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
    border-radius: var(--border);
    min-height: 300px;
}
.bio {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bio h1 {
    font-size: var(--h1Font);
    margin-top: 50px;
    text-align: center;
}
.bio p {
    padding: 0 25px;
    font-size: var(--pFont);
}
.bio img {
    width: 75vw;
    border-radius: 50px;
}
#pricing {
    margin: 50px auto;
}



}


/*        mobile iPhone only */

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

.landing-hero {
    height: clamp(608px, 116.6vw, 695px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
.landing-hero h1:before {
    content: '';
    position: absolute;
    top: 119px;
    left: 0;
    right: 0;
    height: clamp(590px, 114vw, 674px);
    background-color: rgba(146, 192, 221, 0.58);
    z-index: -1;
}
.landing-hero picture {
    position: relative;
    order: 3;
    top: 0;
    left: 0;
    width: 98vw;
    z-index: -2;
}
.landing-hero picture img {
    object-fit: cover;
    object-position: center;
    width: 98vw;
    z-index: -2;
}
.landing-hero h1 {
    order: 1;
    margin-top: 15px;
    text-align: center;
    padding: 0 15px;
}
.landing-hero p {
    order: 2;
    width: 85vw;
    align-self: center;
    margin: 0 0 0 0;
    padding-bottom: 20px;
}
.landing-hero .button {
    order: 4; 
    align-self: flex-start;
    margin: clamp(-120px, -18vw, -63px) 0 0 4.3vw;
}
.landing h3 {
    margin-top: 75px;
}
.landing .button {
    font-size: calc(1rem + 0.8vw);
}
.cards li {
    margin: 0 7vw;
}


}


/*                 Laptop/Desktop*/

@media only screen and (min-width: 64rem) {

.mobile-nav {
    display: none;
}
.container {
    box-shadow: 0 0 10px var(--primarylight);
    width: 100%;
    padding: 10px 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    background-color: white;
    margin-top: 15px;
}

#navigation .logo img{
    width: 100%;
    height: 100%;
    border-radius: 15px;
    box-shadow: 5px 5px 7px var(--primarylight);
}
.container .logo {
    width: 100px;
}

nav .nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    list-style: none;
    margin: 0 0 0 -5vw;
    position: relative;
}
.menu .text {
    margin-left: 3vw;
    font-weight: 600;
}
.menu .text:hover {
    cursor: pointer;
}
.menu a {
    text-decoration: none;
    color: var(--font);
}
.caret {
    width: 1rem;
    margin-left: 7px;
    margin-top: -15px;
    transform: translateY(4px);
}
.dropdown {
    visibility: hidden;
    position: absolute;
}

.open .dropdown {
    visibility: visible;
    width: 170px;
    transform: translate(calc(100vw / 33), 75px);
    background-color: var(--primarylight);
    list-style: none;
    border-radius: 0 0 13px 13px;
}
.open .dropdown li {
    padding: 7px;
    font-size: 1.2rem;
    text-align: center;
    margin-left: -5px;
}
.open .dropdown li:nth-last-child(2) {
    margin-top: 15px;
}
.open .dropdown li:nth-last-child(1) {
    padding-bottom: 20px;
}
.open .dropdown span {
    position: absolute;
    height: 5px;
    width: 170px;
    background-color: var(--primary);
}

nav .contact:hover {
    background-color: var(--primary);
    transition: background-color .4s;
}

nav .contact {
    border-radius: 50px;
    box-shadow: 5px 5px 7px var(--primarylight);
    background-color: var(--secondary);
    display: inline-block;
    text-align: center;
    width: 170px;
    margin-left: 30%;
    font-weight: 600;
    padding: 5px 0;
}

         /*   ---Landing section---*/

.landing-hero {
    height: 66.6vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
.landing-hero h1:before {
    content: '';
    position: absolute;
    top: 140px;
    left: 0;
    right: 0;
    height: 64.6vw;
    background-color: rgba(146, 192, 221, 0.58);
    z-index: -1;
}
.landing-hero picture {
    position: absolute;
    top: 140px;
    left: 0;
    width: 98vw;
}
.landing-hero picture img {
    object-fit: cover;
    object-position: center;
    position: absolute;
    width: 99vw;
    z-index: -2;
}

.landing-hero h1 {
    font-size: var(--h1Font);
    text-align: center;
    margin-top: 0;
}
.landing-hero p {
    width: 32vw;
    align-self: flex-start;
    margin-left: 7vw;
    margin-top: -20px;
    font-size: var(--pFont);
}
.landing-hero .button {
    font-size: calc(1rem + 1.5vw);
    width: auto;
    padding: 5px 20px;
    margin: 0 0 7% -50vw;
    box-shadow: 5px 5px 7px rgba(146, 192, 221, 0.37);
}

.landing {
    max-width: 1500px;
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}
.landing .header-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 50px;
}
.landing h3 {
    font-size: calc(1rem + .7vw);
    text-transform: uppercase;
    margin-top: 1.6rem;
}
.landing h1 {
    font-size: var(--h1Font);
    margin-top: -22px;
}
.landing .content-block {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10vh;
}
.landing .content-block p {
    padding: 0 50px;
    font-size: var(--pFont);
}
.landing img {
    width: clamp(500px, 50vw, 750px);
}
.landing #learn-more {
    width: auto;
    margin: 0 auto;
}
.cards {
    max-width: 1500px;
}
.cards ul {
    padding: 0;
    margin: 7vh 3vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 3vw;
    grid-row-gap: 60px;
}
.cards li {
    list-style: none;
    background-color: #f3f3f3;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 12px;
    border-radius: var(--border);
    min-height: 300px;
}
.cards li:hover {
    background-color: var(--primary);
    transform: scale(1.1);
}
.bio {
    max-width: 1500px;
    margin: 50px auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.bio .bio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.bio h1 {
    font-size: var(--h1Font);
    margin-top: 50px;
    text-align: center;
}
.bio p {
    padding: 0 50px;
    font-size: var(--pFont);
}
.bio img {
    width: clamp(400px, 45vw, 680px);
    border-radius: 50px;
    margin-left: 50px;
}
#pricing {
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}#pricing .pricing-header {
    display: flex;
    grid-column-start: span3;
}



}



