/*! normalize.css v3.0.1 | MIT License | git.io/normalize */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block; /* 1 */
  vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit; /* 1 */
  font: inherit; /* 2 */
  margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
  text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button; /* 2 */
  cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
  cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box; /* 2 */
  box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/**
*** SIMPLE GRID
*** (C) ZACH COLE 2016
**/

/* UNIVERSAL */

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  font-size: 100%;
}

/* ROOT FONT STYLES */

* {
    
    color: #333447;
    line-height: 1.5;
}

/* TYPOGRAPHY */

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}


.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-heavy {
  font-weight: 700;
}

/* POSITIONING */

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.justify {
  text-align: justify;
}

/* ==== GRID SYSTEM ==== */

.container {
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.row {
  position: relative;
  width: 100%;
}

.row [class^="col"] {
  float: left;
  margin: 0.5rem 2%;
  min-height: 0.125rem;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  width: 96%;
}

.col-1-sm {
  width: 4.33%;
}

.col-2-sm {
  width: 12.66%;
}

.col-3-sm {
  width: 21%;
}

.col-4-sm {
  width: 29.33%;
}

.col-5-sm {
  width: 37.66%;
}

.col-6-sm {
  width: 46%;
}

.col-7-sm {
  width: 54.33%;
}

.col-8-sm {
  width: 62.66%;
}

.col-9-sm {
  width: 71%;
}

.col-10-sm {
  width: 79.33%;
}

.col-11-sm {
  width: 87.66%;
}

.col-12-sm {
  width: 96%;
}

.row::after {
	content: "";
	display: table;
	clear: both;
}

.hidden-sm {
  display: none;
}

@media only screen and (min-width: 33.75em) {  /* 540px */
  .container {
    width: 95%;
  }
}

@media only screen and (min-width: 60em) {  /* 800px */
  .col-1 {
    width: 4.33%;
  }

  .col-2 {
    width: 12.66%;
  }

  .col-3 {
    width: 21%;
  }

  .col-4 {
    width: 29.33%;
  }

  .col-5 {
    width: 37.66%;
  }

  .col-6 {
    width: 46%;
  }

  .col-7 {
    width: 54.33%;
  }

  .col-8 {
    width: 62.66%;
  }

  .col-9 {
    width: 71%;
  }

  .col-10 {
    width: 79.33%;
  }

  .col-11 {
    width: 87.66%;
  }

  .col-12 {
    width: 96%;
  }

  .hidden-sm {
    display: block;
  }
}

@media only screen and (min-width: 80em) { /* 1280px */
  .container {
    width: 75%;
    max-width: 80rem;
  }
}

:root {
    --main-bg-color: #0f0f41;
    --light-bg-color: #d0eafb;
    --lighter-bg-color: #eaf2f7;
    --dark-bg-color: #043e64;
    --action-color: #043e64;
    --light-action-color: #0968a6;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fonts/Raleway-Medium.woff2') format('woff2'), url('../fonts/Raleway-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Raleway-Bold';
    src: url('../fonts/Raleway-ExtraBold.woff2') format('woff2'), url('../fonts/Raleway-ExtraBold.ttf') format('truetype');
}

*, *:before, *:after {
    box-sizing: inherit;
}

html {
    box-sizing: border-box;
    font-family: 'Raleway', Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--light-bg-color);
}

header {
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;
    height: 0;
    transition: height .3s ease-in-out;
    -moz-transition: height .3s ease-in-out;
    -webkit-transition: height .3s ease-in-out;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 1em;
    padding-bottom: 1em;
}

    nav a img {
        transition: all .3s ease-in-out;
        -moz-transition: all .3s ease-in-out;
        -webkit-transition: all .3s ease-in-out;
        padding: 0 0;
        max-width: 100%;
        height: auto;
        max-height: 45px;
        line-height: 0;
        vertical-align: middle;
    }

    nav .links {
    }

    nav ul {
        padding: 0;
        margin: 0;
        transition: visibility 0.2s ease;
    }

        nav ul li {
            display: inline;
        }

    nav a {
        font-family: 'Raleway-Bold';
        display: inline-block;
        text-align: center;
        text-decoration: none;
        padding: 0rem 0rem;
        margin: 0 1.5rem;
        color: var(--dark-bg-color);
        text-decoration: none;
        transition: color 0.2s;
        font-size: 1rem;
    }


    nav #logo a {
        margin-left: 0;
    }

    nav ul a.active {
        border-bottom: 1px solid var(--light-action-color);
    }


    nav ul li:last-child {
        border-left: 1px solid var(--light-action-color);
    }

        nav ul li:last-child a {
            font-family: Raleway;
            margin-right: 0;
        }

    nav li:hover a {
        color: var(--light-action-color);
    }

    nav a#openup {
        display: none;
        padding-top: 0;
    }


#badge {
    width: 52px;
    height: auto;
    position: absolute;
}

body.scroll header {
    background: #fff;
    height: 4.2em;
    box-shadow: 0 0.3em 0.6em 0px rgba(0,0,0,.1);
}

body.scroll nav {
    padding-top: 0.5em;
}

    body.scroll nav a img {
        max-height: 37px;
    }

    body.scroll nav img#badge {
        width: 42px;
    }

.hero {
    padding-top: 1rem;
    padding-bottom: 0rem;
    overflow: hidden;
    background: var(--light-bg-color);
}

    .hero .row > div {
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .hero img {
        margin-top: 0em;
        max-width: 525px;
        height: auto;
        vertical-align: bottom;
    }

    .hero a.navigation.services {
        margin-right:0;
    }

    .hero p {
        margin-bottom:1.5rem;
    }



main {
    margin-top: 8em;
}

section {
    background: #fff;
    padding: 5em 0;
}

    section.bg {
        background: var(--lighter-bg-color);
    }

    section.bg-dark {
        background: var(--dark-bg-color);
    }

        section.bg-dark h2, section.bg-dark h2 div, section.bg-dark h3 {
            color: #fff;
        }

        section.bg-dark label {
            color: var(--light-bg-color);
        }

        section.bg-dark p {
            color: var(--light-bg-color);
        }

        

a.button, form button {
    color: rgb(255, 255, 255);
    text-align: center;
    line-height: 3.33333;
    width: auto;
    font-size: 1em;
    display: inline-block;
    font-family: Raleway-Bold;
    position: relative;
    z-index: 1;
    margin: auto;
    text-decoration: none;
    background: var(--light-action-color);
    border-radius: 3em;
    transition: 0.2s;
    padding: 0em 3em;
    overflow: hidden;
    margin-right: 1em;
}

    a.button.transparent {
        background: none;
        color: var(--action-color);
        
    }

        a.button.transparent:hover {
            color: var(--light-action-color);
        }

    a.button:not(.transparent):before, form button:not(.transparent):before {
        content: '';
        position: absolute;
        display: block;
        height: 100%;
        width: 0%;
        background: var(--action-color);
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -2;
        transition: width .3s;
    }

    a.button:hover:before, form button:hover:before {
        width: 100%;
    }

    a.button:hover, form button:hover {
        -webkit-transition: .2s ease;
        -o-transition: .2s ease;
        transition: .2s ease;
    }

h1 {
    font-family: 'Raleway-Bold', serif;
    font-weight: normal;
    font-size: 2.75em;
    line-height: 1.1em;
    margin-top: 0.75em;
}

h2 {
    font-family: 'Raleway-Bold', serif;
    margin-top: 0;
    font-weight: normal;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #414141;
}

h3 {
    font-family: 'Raleway-Bold', serif;
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-weight: normal;
    line-height: 1.2;
}

.max-width-title div {
    display: inline-block;
    line-height: 1.2em;
    max-width: 20em;
}

label {
    display: block;
    color: var(--light-action-color);
    font-family: Raleway-Bold;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    margin-bottom: 0rem;
}

    label.margin-bottom {
        margin-bottom: 1rem;
    }

.row.margin-bottom {
    margin-bottom: 1em;
}

#about img {
    max-width: min(420px, 100vw);
    border-radius: 2rem;
}


@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.4em;
    }
}



@media screen and (max-width: 60em) {

    nav {
        height: auto;
        margin-top: -3px;
    }

        nav ul {
            position: absolute;
            visibility: hidden;
            margin: 0;
            padding: 0;
            right: 0em;
            clear: both;
            text-align: right;
            padding: 1.5rem 0;
            padding-top: 0rem;
            padding-left: 4rem;
            transition: all 0.2s ease;
            margin-right: -2.25em;
        }

        nav li {
            width: 100%;
            display: block;
        }

            nav li a {
                padding-right: 2em;
                padding-top: 1em;
                padding-bottom: 1em;
                display: block;
                text-align: right;
                margin: 0.25rem 0;
            }

        nav ul.mobileopen {
            margin-top: 1em;
            padding-top: 1.5em;
            padding-right: 1.5em;
            background: #fff;
            visibility: visible;
            border-top-left-radius: 2rem;
            border-bottom-left-radius: 2rem;
        }

    body.scroll nav ul.mobileopen {
        margin-top: 0em;
    }

    nav ul li:last-child a {
        padding-right: 2em;
    }

    nav ul li:last-child {
        border-left: 0;
    }

    nav a#openup {
        display: block;
        background: none;
        padding: 0;
        margin-right: 0;
    }

        nav a#openup:after {
            content: "|||";
            font-size: 1.8rem;
            letter-spacing: 2px;
            transform: rotate(-90deg);
            -ms-transform: rotate(-90deg);
            -webkit-transform: rotate(-90deg);
            display: inline-block;
            color: var(--light-action-color);
            margin-top: -1px;
        }

        nav a#openup.close:after {
            content: '×';
            font-size: 2.5rem;
            line-height: 1;
            margin-top: 2px;
            padding: 0;
            text-align: center;
        }

    .hero {
        text-align:center;
    }

    h1 {
        font-size: 2.1rem;
        margin-top: -1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom:1.5rem;
    }

    .hero a.button {
        font-size: 0.875rem;
        padding-left:1.5rem;
        padding-right:1.5rem;
    }

    .hero img {
        max-width: 368px;
        margin-top: 1.5rem;
    }

    a.button.transparent {
        border: 1px solid var(--action-color);
    }
    .max-width-title {
        max-width: 100%;
    }

    section {
        padding: 4rem 0;
    }

    #about img {
        max-width: 330px;        
    }


    [data-aos="mobile-fade"] {
        opacity: 0;
        transition-property: opacity;
    }

        [data-aos="mobile-fade"].aos-animate {
            opacity: 1;
        }    

}

