:root {
    --red: #CE171E;
    --white: #FFFFFF;
    --blue: #2A3A70;
    --black: #333333;
    --header-font-weight: 600;
    --header-font-size: 1em;
    --header-font-size-small-screen: 1em;
    --font-family: 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth;
 }

body {
    padding: 0;
    margin: 0;
    font-family: var(--font-family);
    font-size: 1.1em;
    letter-spacing: 0.05rem;
}

@media screen and (max-width: 760px) {
    body {
        font-size: 1em;
    }
}

#header {
    height: 4.5em;
    margin: 0;
    box-shadow: 1px 1px 2px 2px var(--white);
    font-weight: var(--header-font-weight);
    position: fixed;
    background: var(--white);
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
}

:target::before {
    display: block;
    height: 4.5em;
    margin: -4.5em 0 0;
    content: "";
}

nav {
    background: var(--white);
    color: var(--blue);
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-evenly;
    letter-spacing: 0.1rem;
}
 
#menu {
    display: flex;
    list-style: none;
    margin-right: 2%;
    text-align: right;
}

#logo {
    cursor: pointer;
}

#logo a {
    text-decoration: none;
    color: var(--red);
}

#logo a:hover {
    filter: drop-shadow(0px 5px 20px var(--blue));
}

#menu .menu-link,
#menu .menu-dropdown-link,
#menu .menu-sublink {
    display: inline-block;
    padding: 15px;
    text-decoration: none;
    text-transform: uppercase;
    text-align: left;
    color: var(--blue);
    font-size: var(--header-font-size);
    transition: 0.2s ease;
}

#menu .menu-link:hover,
#menu .menu-dropdown-link:hover,
#menu .menu-sublink:hover {
    background: var(--red);
    color: var(--white);
}

#menu .menu-link,
#menu .menu-dropdown-link
{
    margin-right: 0.2rem;
    font-weight: var(--header-font-weight);
}

nav .open-menu {
    font-size: 2rem;
    margin: 20px;
    display: none;
    cursor: pointer;
}
#menu .close-menu {
    font-size: 2rem;
    display: none;
    cursor: pointer;
}

#menu .dropdown {
    display: inline-block;
}

#menu .menu-sublink {
    display: block;
    color: var(--blue);
    text-decoration: none;
    font-weight: 500;
}

.dropdown .menu-dropdown-link {
    background-color: var(--white);
    padding: 1em;
    border: none;
    text-decoration: none;
    text-transform: uppercase;
    font-family: inherit;
}

#menu .dropdown .content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: auto;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

#menu .dropdown:hover .content {
    display: block;
}

#menu #menu-cta
{
    background: var(--red);
    color: var(--white); 
    text-align: center;
    letter-spacing: 0.2rem; 
    border-radius: 5px;
    border: 3px transparent solid;
    text-decoration: none;
    padding: auto;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    font-weight: var(--header-font-weight);
}

#menu #menu-cta:hover {
    background:var(--white);
    color: var(--red);
    border: 3px var(--red) solid;
}

@media (max-width: 800px) {
    #header {
        height: 4.5em;
    }

    nav {
        justify-content: space-between;
        letter-spacing: 0.2rem;
        font-size: var(--header-font-size-small-screen);
    }
    #menu {
        height: 100vh;
        position: fixed;
        display: flex;
        top: -125%;
        right: 0px;
        left: 0px;
        z-index: 10;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: var(--blue);
        transition: top 0.5s ease 0s;
        color: var(--white);
        margin-right: 0;        
    }

    #menu .close-menu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    nav .open-menu {
        display: block;
    }

    #logo {
        margin-left: 2%;
    }

    #menu .menu-dropdown-link {
        display: none;
    }

    #menu .menu-link,
    /* #menu .menu-dropdown-link, */
    #menu .menu-sublink {
        color: var(--white);
        margin-right: 0;
        text-align: center;
    }

    #menu .menu-link:hover,
    #menu .menu-sublink:hover {
        background: none;
        color: var(--red);
    }

    /* #menu .menu-dropdown-link:hover {
        background: none;
        color: var(--white);
        background-color: var(--blue);
    }

    #menu .menu-dropdown-link {
        background-color: var(--blue);
        text-decoration: underline var(--red) 2px;
        text-underline-offset: 0.3em;
    } */

    #menu .dropdown {
        display: block;
        text-align: center;
    }

    #menu .dropdown .content {
        position: relative;
        display: block;
        box-shadow: none;
        background-color: var(--blue);
    }
}

.cont ul, 
.cont li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cont ul {
    overflow: auto;
}

.cont {
    width: 960px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 800px) {
    .cont {
        width: 94%;
        padding-left: 3%;
        padding-right: 3%;
    }
}

#billboard {
    background: url(consultant-min.webp), lightgray 0px -78.838px / 100% 139.386% no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 4.5em;
    padding-top: 1vh;
    padding-bottom: 1vh;
    text-align: center;
    justify-content: center;
}

.slogan {
    display: block;
    text-align: left;
    height: 100%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 3%;
    padding-right: 3%;
    margin-top: 5%;
    margin-bottom: 12%;
}

.slogan-header {
    font-size: 3em;
    font-weight: bold;
    color: var(--blue);
    margin-bottom: 0.25em;
}
.slogan-subheader {
    font-size: 1.75em;
    margin: 0;
    padding-bottom: 1em;
    color: var(--white);
    font-style: italic;
    margin-bottom: 0.25em;
    text-shadow: -1px 0 var(--blue), 0 1px var(--blue), 1px 0 var(--blue), 0 -1px var(--blue);
}

#slogan-cta {
    background: var(--red);
    color: var(--white); 
    letter-spacing: 0.2rem; 
    font-size: 1.25em;
    height: 2.5em;
    border-radius: 5px;
    border: 3px transparent solid;
    text-decoration: none;
    padding: auto;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    font-weight: var(--header-font-weight);
}

#slogan-cta:hover {
    background:var(--white);
    color: var(--red);
    border: 3px var(--red) solid;
}

.red {
    color: var(--red);
}

.white {
    color: var(--white);
}

.slogan-header .red {
    text-shadow: -1.5px 0 var(--black), 0 1.5px var(--black), 1.5px 0 var(--black), 0 -1.5px var(--black);
}

.slogan-header .white {
    text-shadow: -1.5px 0 var(--blue), 0 1.5px var(--blue), 1.5px 0 var(--blue), 0 -1.5px var(--blue);
}

@media screen and (max-width: 760px) {
    #billboard {
         margin-top: 4.5em;
    }
    .slogan {
        text-align: center;
    }

    .slogan-header {
        font-size: 2.75em;
        margin-top: 0;
    }

    .slogan-subheader {
        font-size: 1.75em;
    }

    .dropdown .content {
        margin-top: -0.5em;
    }
}
    
h2 {
    font-size: 2em;
    text-align: center;
    margin: 0 1.2em;
    padding: 1em 0 1em 0;
}

.cont h3 {
    font-weight: bold;
    font-size: 1.2em;
    margin: 1em 0;
    padding: 0;
}

.cont li p {
    margin: 0.5em 0;
}

section, footer {
    margin: 0;
    padding: 0;
}

.inside {
    margin: 0;
    padding: 0;
}

#services .inside {
    background: var(--red);
}

#services h2 {
    color: var(--white);
}

.service-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    max-width: 960px;
    min-height: 450px;
    margin: 0 auto;
    padding-bottom: 35px;
}

.service-row {
    display: flex;
    justify-content: space-around;
}

.service {
    width: 100%;
    padding: 20px;
    margin: 10px;
    border: 2px solid var(--black);
    border-radius: 5px;
    background-color: var(--white);
    box-shadow: 10px 10px 0px 0px var(--blue);
    text-decoration: none;
}

.service .service-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service .service-header .icon
{
    padding-right: 5%;
    height: 50px;
}

.service h3 {
    color: var(--red);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}


.service p {
    color: var(--blue);
}

.service h3 {
    color: var(--red);
    text-align: center;
}

.service li {
    color: var(--black);
    text-align: left;
}

.service ul {
    margin-bottom: 1.5rem;
}

.service .cta-service {
    background: var(--red);
    color: var(--white); 
    letter-spacing: 0.2rem; 
    font-size: 1rem;
    height: 1.25rem;
    border-radius: 5px;
    border: 3px transparent solid;
    text-decoration: none;
    /* padding: auto; */
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    font-weight: var(--header-font-weight);
    padding: 0.3rem 0.5rem;
}

.service .cta-service:hover {
    border: 2px solid var(--red);
    color: var(--red);
    background-color: var(--white);
 }


/* .service:hover {
    border: 2px solid var(--white);
    background-color: var(--blue);
    box-shadow: 10px 10px 0px 0px var(--white);
}

.service:hover h3, 
.service:hover p,
.service:hover li {
    color: var(--white);
}

.service:hover img {
    filter: invert(100%);
} */

@media (max-width: 768px) {
    .service {
        width: 85%;
        margin-top: 3%;
        margin-bottom: 3%;
        margin-right: 5%;
        padding: 3%;
    }
    .service-row {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }
}

.row {
    width: 100%;
    overflow: auto;
}

#about .inside {
    background: var(--white);
}

#about h2 {
    color: var(--red);
}

#about .desc {
    float: left;
    width: 72%;
    margin: 30px 3%;
}

@media screen and (max-width: 760px) {
    .row {
        max-width: 100em;
        margin-left: auto;
        margin-right: auto;
    }
    #about .desc {
        float: none;
        width: 94%;
    }
}

#about .desc p {
    margin-top: 5px;
    color: var(--black);
    text-align: justify;
}

#about .desc a {
    color: var(--black);
    font-weight: bold;
    text-decoration: none;
}

#about .desc .headshot {
    float: right;
    margin-left: 20px;
}

#about .title {
    width: 15%;
    margin: 30px 3%;
    font-weight: bold;
    font-size: 1.4em;
    color: var(--blue);

}

.title.left { 
    float: left;
    text-align: left;
}

.title.right { 
    float: right; 
    text-align: right;
}

.founder:nth-of-type(1) {
    margin-bottom: 2em;
}

.founder-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.founder-desc {
    max-width: 75%;
}

#about .desc .name {
    font-weight: bold;
    text-transform: uppercase;
    color: var(--blue);
    font-size: 1.2rem;
}

.social {
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-item {
    margin-left: 6px;
}

.social-item .tiny-email {
    height: 16px;
}

.social-item .tiny-linkedin {
    height: 18px;
}


@media screen and (max-width: 760px) {
    #about .title {
        width: 94%;
    }
    .title.left, .title.right {
        float: none;
        text-align: center;
    }
    .founder-desc {
        max-width: 100%;
    }
}

#contact .inside {
    background: var(--black);
    color: var(--white);
}

#contact .address {
    float: left;
    width: 37%;
    margin: 0 3%;
}

#contact .address a {
    text-decoration: none;
}

#contact .write {
    float: right;
    width: 50%;
    margin: 0 3%;
}

#contact .copyright {
    text-align: center;
    float: left;
    width: 50%;
    margin: 0 25%;
}

#contact .footer-round-icon {
    height: 50px;
    cursor: pointer;
}

#contact .footer-tiny-icon {
    height: 16px;
}

#contact .form {
    width: 80%;
    font-family: inherit;
}

#contact .form-part {
    display: flex;
    margin-bottom: 1px;
}

#contact .form label {
    width: 15%;
}

#contact .form input {
    width: 85%;
    font-family: inherit;
    border-radius: 5px;
    height: 1.5em;
}

#contact .form .form-part textarea {
    width: 100%;
    border-radius: 5px;
    font-family: inherit;
}

#contact .form #btn-send {
    background: var(--white);
    color: var(--black); 
    width: 100%;    
    text-align: center;
    letter-spacing: 0.2rem; 
    font-size: 1em;
    height: 1.75em;
    border-radius: 5px;
    border-color: transparent;
    text-decoration: none;
    padding: auto;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 2px;
    font-family: inherit;
}

#contact .form #btn-send:hover {
    background: var(--black);
    color: var(--white);
    border: 3px var(--white) solid;
}

#btn-send.sending {
    content: "Sending...";
}

#formdiv { display: none; }
#formdiv.visible { display: block; }

#formmsg {
    display: none;
}

#formmsg.ok, #formmsg.err {
    display: block;
    background: var(--white);
    font-weight: bold;
    border-width: 4px;
    border-style: solid;
    border-radius: 5px;
    margin: 3px;
    padding: 5px;
    text-align: center;
}

#formmsg.ok {
    border-color: #008000;
    color: #006000;
}

#formmsg.err {
    border-color: #800000;
    color: #600000;
}

.big {
    font-size: 2em;
}

@media screen and (max-width: 760px) {
    .big {
        font-size: 1.2em;
    }
    #contact .address, 
    #contact .write {
        float: none;
        width: 94%;
    }
    #contact .form {
        width: 100%;
    }
}

.write a {
    color: var(--white);
}

.write a:hover {
    text-decoration: underline;
}

a.tel {
    color: var(--white);
    text-decoration: none;
}

a.tel:hover {
    text-decoration: underline;
}


/* 
================
    Subpages 
================
*/

.subpage {
    margin-top: 4.5em;
    padding-bottom: 1em;
}

.subpage .inside {
    background-color: var(--white);
}

.subpage .subpage-subheader .icon
{
    padding-right: 3%;
    height: 50px;
}

.subpage .subpage-header .icon {
    filter: invert(100%) sepia(0%) saturate(6%) hue-rotate(195deg) brightness(105%) contrast(103%);
    padding-right: 1%;
    height: 50px;
}

.subpage .subpage-header {
    background-color: var(--blue);
    align-items: center;
    justify-content: center;
    display: flex;
    margin-bottom: 2%;
}

.subpage .subpage-subheader {
    display: flex;
    align-items: center;
    justify-content: left;
}

.subpage h1 {
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 3.2px;
    margin: 0;
    padding: 0.6em;
    text-decoration: underline var(--red);
    text-underline-offset: 0.2em;
    font-size: 2em;
}

.subpage h2 {
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 3.2px;
    font-size: 1.2em;
    text-align: left;
    margin: 1em 0;
    padding:0;
}

.subpage p {
    color: var(--black); 
    text-align: justify;
}

.subpage .subpage-intro {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-direction: row;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.subpage .subpage-intro p {
    margin-top: 0;
}

.subpage .subpage-intro-text {
    max-width: 50%;
}

.subpage .subpage-intro img {
    max-width: 40%;
}

@media screen and (max-width: 760px) {
    /* .subpage {
        margin-top: 10.5em;
    } */
    .subpage .subpage-header h1 {
        padding: 1em;
        font-size: 1.8em;
        padding-right: 1%;
    }
    .subpage .subpage-subheader .icon
    {
        padding-right: 2%;
    }

    .subpage .subpage-intro {
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
    }

    .subpage .subpage-intro-text {
        max-width: 100%;
    }
    .subpage .subpage-intro img {
        margin-top: 0.5em;
        max-width: 80%;
    }
}