@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&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,100;1,300;1,400;1,500;1,700;1,900&display=swap');

@font-face {
    font-family: proximaNovaBold;
    src: url('../fonts/ProximaNova/proxima-nova-bold-webfont.ttf');
    font-weight: bolder;
}

@font-face {
    font-family: proximaNovaSemiBold;
    src: url('../fonts/ProximaNova/proxima-nova-semibold-webfont.ttf');
    font-weight: bold;
}

@font-face {
    font-family: proximaNova;
    src: url('../fonts/ProximaNova/proxima-nova-regular-webfont.ttf');
}

@font-face {
    font-family: arialBlack;
    src: url('../fonts/arial/Arial-Black.ttf');
}

:root {
    --blue: #00a2c3;
    --black: #333;
    --white: #fff;
    --darker-blue: #007c96;
    --grey: #666666;
    --light-grey: #b5b5b5;
    --teal: #026275;
    --off-white: #f3f5f6;
    --orange-red: #ff2100;
    --orange: #fba21d;
}

html, body {
    margin: 0;
}

.container {
    display: flex;
    font-family: 'Roboto', sans-serif;
    flex-direction: column;
    position: relative;
    min-height: 100%;
    color: #333;
}

/* navigation & header */
header {
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.headerContainer {
    padding: 1rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.logo {
    max-width: 100%;
    height: 4.375rem;
}

.headerNav {
    display: grid;
    grid-template-columns: 4fr 1fr;
}

ul.nav {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
    margin-right: 1rem;
    position: relative;
}

    ul.nav li a {
        text-decoration: none;
        color: var(--black);
        text-transform: uppercase;
        padding: 1rem;
    }

        ul.nav li a:hover, ul.nav li a:active, ul.nav li a:focus {
            color: var(--blue);
            background-color: var(--off-white);
            padding: 1rem;
        }

        ul.nav li a span {
            vertical-align: middle;
            margin-top: -1px;
        }

    ul.nav li.dropdown {
        width: 146px;
    }

button.demo {
    background-color: var(--blue);
    color: var(--white);
    border-radius: 10px;
    border: none;
    height: 2.813rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

    button.demo:hover {
        background-color: var(--darker-blue);
    }

.subNav {
    width: 18.75rem;
    padding: 2rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    position: absolute;
    top: 3rem;
    left: 9rem;
    z-index: 1;
    background-color: var(--white);
}

.active {
    display: block;
}

.subNav li {
    list-style-type: none;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: 1fr 3fr;
}

    .subNav li img {
        max-width: 100%;
        height: 3.125rem;
        margin-right: 1rem;
    }

    .subNav li div a {
        color: var(--blue);
        font-size: 0.75rem;
        padding: 0;
        text-transform: unset;
    }

        .subNav li div a span {
            vertical-align: middle;
        }

        .subNav li div a:hover {
            color: var(--darker-blue);
            padding: 0;
            background-color: transparent;
        }

    .subNav li div h6 {
        color: var(--darker-blue);
        margin: 0;
        font-size: .875rem;
    }

        .subNav li div h6 sup {
            font-size: 0.5rem;
        }

    .subNav li div p {
        font-size: .75rem;
    }

#menuToggle {
    display: none;
}

.bar {
    display: block;
    width: 35px;
    height: 4px;
    margin: 3px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: #333;
    cursor: pointer;
}

/* main content home */

img {
    max-width: 100%;
}

.hero {
    width: 100%;
    height: 600px;
    position: relative;
    display: flex;
    top: -106px;
}

    .hero video {
        width: 100%;
        height: 100%;
        position: absolute;
        object-fit: cover;
        z-index: 0;
    }

.captionSection {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-self: center;
    margin-left: 3rem;
}

.hero .caption {
    position: relative;
    color: var(--white);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    align-self: flex-end;
    margin: 0 0 .5rem;
}

.grey {
    background-color: rgba(180, 180, 181, 0.5);
}

.blue {
    background-color: rgba(58, 179, 205, 0.5);
}

.engagement {
    display: flex;
    flex-direction: column;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
    padding: 1rem;
}

    .engagement h2 {
        display: flex;
        justify-content: center;
        font-family: proximaNovaBold;
    }

.cardSection {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 2.5rem;
    padding: 2rem 4rem;
}

.engagementCard {
    border-radius: 7px;
    width: 100%;
    height: 400px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    text-align: center;
    padding-top: 1rem;
    padding-left: 1rem;
}

    .engagementCard h4 {
        font-family: proximaNovaSemiBold;
    }

        .engagementCard h4 sup {
            font-size: 0.5rem;
        }

    .engagementCard p {
        width: 95%;
        font-family: 'Open Sans', sans-serif;
    }

    .engagementCard a {
        color: var(--blue);
        font-weight: bold;
        text-decoration: none;
        font-family: 'Open Sans', sans-serif;
    }

        .engagementCard a:hover {
            color: var(--darker-blue);
        }

        .engagementCard a span {
            vertical-align: middle;
            font-size: 0.6rem;
        }

.emr {
    background-color: var(--off-white);
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1rem 1rem 4rem;
    font-family: proximaNovaBold;
}

.pulse img {
    width: 60%;
    margin: 1rem auto;
}

.emr video {
    width: 80%;
    margin: 1rem auto;
}

.pulse {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    margin-bottom: 2.5rem;
}

    .pulse h2 {
        margin-bottom: 0;
        font-family: proximaNovaBold;
    }

    .pulse p {
        margin-top: 0.5rem;
        margin-bottom: 2rem;
        font-family: proximaNova;
    }

/* about section */

.about, .integrations, .contact {
    width: 75%;
    margin: 4rem auto;
}

    .about h1, .integrations h1, .contact h1, .solutionsTop h1 {
        font-size: 2rem;
    }

    .about h2, .integrations h2, .contact h2 {
        font-size: 1.4rem;
    }

    .about h4 {
        color: var(--darker-blue);
    }

    .about p span {
        color: var(--blue)
    }

/* integrations */

.integrations {
    min-height: 60vh;
}

.logosContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 5rem;
}

    .logosContainer img {
        margin: 1rem 2rem;
        flex: 0 0 25%;
        object-fit: contain;
    }


/* contact  */

.contact h2 a {
    text-decoration: none;
    color: var(--blue);
}

.topHalf {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1.5rem;
}

.formInput {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

    .formInput label {
        margin-bottom: 0.5rem;
    }

    .formInput span, .bottomHalf p span {
        color: red;
    }

    .formInput input, .formInput select,
    .formInput textarea {
        border: 1px solid #adadad;
        padding: 0.5rem;
    }

.radio {
    flex-direction: row;
}

    .radio label {
        margin-left: 0.5rem;
    }

.submitForm {
    background-color: var(--blue);
    color: var(--white);
    border-radius: 4px;
    border: none;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
}

    .submitForm:hover {
        background-color: var(--darker-blue);
    }


/* content section */

.homePageContent {
    margin-top: -100px;
}

.content {
    flex-grow: 1;
}

/* login page */

.loginPage {
    background-color: #a7a6a4;
    min-height: 100vh;
    display: flex;
    color: #333;
}

.loginSection {
    width: 80%;
    min-height: 650px;
    margin: auto;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
    background-color: var(--white);
    display: grid;
    grid-template-columns: 2fr 1fr;
    font-family: 'Roboto', sans-serif;
}

.loginForm {
    padding: 4rem 3rem;
}

.imgOverlay img {
    min-height: 100%;
    object-fit: cover;
}

.loginFormSection {
    margin-top: 2rem;
}

    .loginFormSection h2 {
        font-weight: 400;
    }

    .loginFormSection p {
        margin-top: 3rem;
    }

        .loginFormSection p a {
            color: var(--blue);
            text-decoration: none;
        }

            .loginFormSection p a:hover {
                color: var(--darker-blue);
            }

.userLogin {
    margin-top: 2rem;
}

/* solution pages */

.solutionsTop {
    margin-left: 2rem;
    display: flex;
    flex-direction: column;
}

    .solutionsTop h1 {
        max-width: 50ch;
    }

.solutionsHero {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.solutionsHeroLeft {
    position: relative;
    right: -2rem;
}

    .solutionsHeroLeft h2 {
        color: var(--teal);
        font-size: 1.8rem;
        margin-bottom: 5rem;
        max-width: 36ch;
    }

.solutionsQuote {
    background-color: #ededed;
    border-radius: 8px;
    padding: 2rem;
}

    .solutionsQuote span {
        margin: 0;
        font-size: 4rem;
        color: var(--orange-red);
        font-family: arialBlack;
    }

    .solutionsQuote p {
        font-family: proximaNovaSemiBold;
        font-size: 1.6rem;
    }

        .solutionsQuote p:nth-child(1) {
            margin-top: 0;
            margin-bottom: 4rem;
        }

.solutionsBorder {
    background-color: var(--orange-red);
    width: 90px;
    height: 15px;
    align-self: center;
    margin-top: 2rem;
}

.solutionsBottom {
    background: linear-gradient(#f5f5f5, #fff);
}

.survey {
    background: linear-gradient(#f6f6f6, #fff);
}

.bottomContent {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 2rem 4rem;
}

    .bottomContent h2 {
        font-size: 1.875rem;
        margin-bottom: 3rem;
    }

.solutionsTitle {
    color: var(--teal);
    font-weight: 400;
}

.bottomContent p {
    font-weight: 300;
    margin-bottom: 3rem;
}

.proxText {
    font-family: proximaNova;
}

.surveyText {
    font-family: proximaNova;
    font-size: 1.5rem;
}

/* request demo */
.demoContainer {
    display: grid;
    grid-template-columns: 2fr 1fr;
    padding: 1rem;
    background-color: var(--teal);
    color: var(--white);
    width: 80%;
    align-items: center;
    align-self: center;
    justify-items: flex-end;
    margin: 2rem auto;
}

button.request {
    background-color: var(--grey);
    color: var(--white);
    border-radius: 10px;
    border: none;
    width: 14.75rem;
    height: 2.813rem;
    cursor: pointer;
}

    button.request:hover {
        background-color: var(--light-grey);
    }

/*orange */

ul.nav li a.orange-active {
    color: var(--orange);
}

.orange-hero {
    background: url('../img/hero.png') no-repeat;
    background-size: cover;
    height: 500px;
    display: flex;
    justify-content: center;
    padding: 1rem;
}

.orangeHeroText {
    font-family: 'Open Sans', sans-serif;
    display: flex;
    flex-direction: column;
    align-self: center;
    color: var(--white);
    align-items: center;
}

.orange {
    max-height: 85px;
}

.orangeContent {
    display: flex;
    flex-direction: column;
    padding: 0 4rem 2rem;
}

.orangeIntegration .demoContainer {
    width: 80%;
}

.iconSection {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-gap: 1rem;
    margin: 2rem 0;
}

.iconContainer {
    display: flex;
    justify-content: space-around;
}

.orangeIcon {
    text-align: center;
    max-width: 6.25rem;
}

    .orangeIcon p {
        font-size: 0.75rem;
    }

    .orangeIcon img {
        width: 6.25rem;
        max-width: 6.25rem;
    }

.orange-divider {
    width: 5%;
    height: 10px;
    background-color: var(--orange-red);
    align-self: center;
    margin: 1rem 0;
}

.orangeCardSection {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2.5rem;
    margin: 2rem 0;
}


.orangeCard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: inherit;
    border-bottom: 1px solid var(--light-grey);
    padding: 2rem 0;
}

    .orangeCard.order .orangeDesc {
        grid-area: desc;
    }

    .orangeCard.order img {
        grid-area: img;
    }

    .orangeCard.order {
        grid-template-areas: "desc img";
    }

    .orangeCard:last-child {
        border-bottom: none;
    }

    .orangeCard h3 {
        color: var(--teal);
    }

    .orangeCard img {
        max-height: 400px;
    }

    .orangeCard p span {
        color: var(--purple);
        text-decoration: underline;
    }

.orangeDesc ul {
    padding-left: 1.5rem;
}

/* footer */

footer {
    font-family: 'Roboto', sans-serif;
    background-color: var(--blue);
    color: var(--white);
    flex-shrink: 0;
    min-height: 100px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-top: 1rem;
}

    footer sup {
        font-size: 0.5rem;
    }

    footer a {
        color: var(--white);
        text-decoration: none;
    }

    footer img {
        max-width: 100%;
        height: 3.125rem;
    }

address {
    font-style: normal;
}

.terms {
    padding: 0 4rem;
}

@media (max-width: 767px) {
    footer {
        flex-direction: column;
        padding: 1rem;
    }

        footer div {
            margin-bottom: 1rem;
        }

    .terms {
        padding: 0;
    }

    .topHalf {
        grid-template-columns: 1fr;
        grid-column-gap: 0;
    }

    .imgOverlay {
        display: none;
    }

    .loginSection {
        grid-template-columns: 1fr;
    }

    .orange-divider {
        width: 15%;
    }
}

@media (max-width: 768px) {
    .engagement h2, .emr h2, .pulse h2 {
        font-size: 2rem;
        text-align: center;
    }

    .orangeContent {
        padding: 0 1rem;
    }

    .engagementCard {
        width: unset;
        height: inherit;
        font-size: 1.5rem;
        padding: 1rem;
    }

        .engagementCard a span {
            font-size: 1rem;
        }

        .engagementCard h4 {
            margin: .5rem 0;
        }

    footer {
        font-size: 1rem;
    }

        footer img {
            height: 6rem;
        }

    .copyright {
        display: flex;
        margin-top: 0.5rem;
    }

    .cardSection {
        padding: 0;
    }

    .logo {
        height: 2.5rem;
    }

    .pulse img, .emr video {
        width: 95%;
    }
}

@media (max-width: 798px) {
    .demoContainer {
        grid-template-columns: 1fr;
        justify-items: center;
        font-size: 1rem;
    }

    button.request {
        font-size: 1.2rem;
    }
}

@media (min-width: 992px) and (max-width: 1075px) {
    .solutionsHeroLeft {
        right: 0;
    }
}

@media (max-width: 1024px) {
    nav {
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    #menuToggle {
        display: inline-flex;
        flex-direction: column;
        position: relative;
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
        height: 30px;
    }

    .headerNav {
        display: none;
    }

        .headerNav.active {
            display: grid;
            font-size: 1.2rem;
        }

    .subNav li div h6, .subNav li div p, .subNav li div a, button.demo {
        font-size: 1rem;
    }

    #menuToggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    #menuToggle.active .bar:nth-child(1) {
        transform: translateY(2px) rotate(45deg);
    }

    #menuToggle.active .bar:nth-child(3) {
        transform: translateY(-18px) rotate(-45deg);
    }

    .headerNav {
        position: absolute;
        width: 70%;
        right: 0;
        top: 0rem;
        background-color: #cccccc;
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    ul.nav {
        flex-direction: column;
        padding-left: 0;
    }

        ul.nav li {
            min-height: 3rem;
            border-bottom: 1px solid #333;
            padding: 1rem 0;
        }

            ul.nav li:last-of-type {
                border-bottom: none;
            }

            ul.nav li.dropdown {
                width: 100%;
            }

            ul.nav li a {
                padding: 0;
            }

                ul.nav li a:hover, ul.nav li a:active, ul.nav li a:focus {
                    padding: 0;
                    background-color: transparent;
                }

    .subNav {
        width: unset;
        box-shadow: none;
        position: unset;
        top: unset;
        left: unset;
        background-color: transparent;
        padding: 0;
    }
}

@media (max-width: 992px) {
    .logoContainer {
        display: flex;
        justify-content: center;
    }

    .cardSection, .orangeCardSection {
        grid-template-columns: 1fr;
        grid-row-gap: 2rem;
    }

    .solutionsTop {
        margin: 1rem 2rem 0;
    }

    .solutionsHero, .bottomContent {
        grid-template-columns: 1fr;
    }

    .solutionsHeroLeft {
        margin-bottom: 2rem;
        right: 0;
    }

        .solutionsHeroLeft h2 {
            margin-bottom: 1rem;
        }

    .solutionsHeroRight {
        grid-row: 1;
    }

    .solutionsQuote {
        margin-top: 2.5rem;
    }
}

@media (min-width: 1680px) {
    .headerContainer, .engagement, .solutionsTop, .bottomContent, .orangeContent {
        width: 75%;
        margin: 0 auto;
    }

    .demoContainer {
        width: 75%;
    }

    .pulse img {
        width: 50%;
    }

    .loginSection, .contact, .about, .integrations {
        max-width: 75%;
    }
}

@media (max-width: 675px) {
    .iconSection {
        display: none;
    }

    .orangeCard {
        grid-template-columns: 1fr;
    }

        .orangeCard.order {
            grid-template-areas: "img" "desc";
        }
}