:root {
  /* Grid */
  --grid-gutter-width: 20px;

  /* Colors */
  --white: #ffffff;
  --black: #000000;
  --primary: #1c3ed3;
  --secondary: #414156;

  /* Pre-calculated color variants */
  --primary-light-10: #4359e0;
  --primary-light-20: #5f6ff7;
  --primary-light-40: #c2cbfc;
  --secondary-dark-10: #353544;
  --secondary-light-40: #9c9dad;

  /* Links */
  --link-color: var(--primary);
  --link-decoration: none;
  --link-hover-color: var(--primary-light-20);
  --link-hover-decoration: underline;

  /* Fonts */
  --font-family-base: 'Open Sans', 'Helvetica Neue', Arial, sans-serif, -apple-system;
  --font-family-heading: 'Lora', 'Helvetica Neue', Arial, sans-serif, -apple-system;
  --font-size-base: 1rem;
  --font-weight-thin: 200;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-bold: 700;
  --font-weight-base: var(--font-weight-normal);
  --line-height-base: 1.6;

  /* Headings */
  --headings-font-weight: 400;
}


/* Base styles - Replicates Bootstrap Reboot with custom variables */
/* This applies our custom values to base HTML elements, overriding Bootstrap defaults */

body {
  margin: 0;
  font-family: var(--font-family-base) !important;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  line-height: var(--line-height-base);
  color: #212529;
  text-align: left;
  background-color: #fff;
}

/* Links - Override Bootstrap defaults but exclude buttons and menus */
a:not(.button):not(#main-menu a):not(#main-menu-mobile a):not(.footer a) {
  color: var(--link-color);
  text-decoration: var(--link-decoration);
  background-color: transparent;
}

a:not(.button):not(#main-menu a):not(#main-menu-mobile a):not(.footer a):hover {
  color: var(--link-hover-color);
  text-decoration: var(--link-hover-decoration);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  font-weight: var(--headings-font-weight);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* Code elements */
code {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 87.5%;
  color: #e83e8c;
  word-wrap: break-word;
}

a > code {
  color: inherit;
}

pre {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 87.5%;
  color: #212529;
  display: block;
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
}

pre code {
  font-size: inherit;
  color: inherit;
  word-break: normal;
}

/* Remove card borders (Bootstrap default) */
.card {
  border: none;
}


.page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;

  .wrapper {
    flex: 1;
  }
}


.header {
  height: 50px;
  color: var(--primary);
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 15px rgba(50, 50, 93, 0.2);

  .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header-social {
    height: inherit;
    display: none;

    @media (min-width: 992px) {
      display: block;
    }
  }
}


.footer-strip {
  background: var(--secondary);
  padding-top: 20px;
  padding-bottom: 20px;
}

.footer {
  font-size: 0.9rem;
  color: #ffffff;

  ul {
    list-style: none;
    padding-inline-start: 0;
    margin-bottom: 0;

    li {
      display: block;
    }
  }
}

.footer-left {
  ul {
    li {
      display: inline-block;
      padding-right: 2rem;

      &:last-of-type {
        padding-right: 0;
      }
    }
  }
}

.footer-right {
  text-align: right;

  ul {
    li {
      line-height: 2rem;

      a {
        color: #ffffff;
        text-decoration: none;

        &:hover {
          text-decoration: underline;
        }
      }

      &.copyright {
        font-weight: var(--font-weight-bold);
      }
    }
  }
}


.sub-footer-strip {
  background: var(--secondary-dark-10);
  padding-top: 10px;
  padding-bottom: 10px;
}

.sub-footer {
  display: flex;
  justify-content: space-between;

  ul {
    list-style: none;
    margin: 0;
    padding: 0;

    li {
      list-style: none;
      display: block;
      font-size: 0.8rem;
      color: #fff;

      a {
        color: #fff;
        text-decoration: none;

        &:hover {
          text-decoration: underline;
        }
      }

      span {
        display: inline-block;
        height: 40px;
        padding: 10px 0px 10px 8px;
        font-weight: var(--font-weight-bold);
        color: #fff;
      }
    }

    @media (min-width: 576px) {
      li {
        display: inline-block;
        margin-left: 10px;

        &:first-of-type {
          margin-left: 0;
        }
      }
    }
  }
}


.logo {
  display: none;

  @media (min-width: 576px) {
    display: block;
    width: 160px;
  }

  img {
    width: 100%;
    height: auto;
  }

  a {
    display: block;
    width: 100%;
    height: 100%;
  }
}

.logo-mobile {
  display: block;
  width: 30px;

  @media (min-width: 576px) {
    display: none;
  }

  img {
    width: 100%;
    height: auto;
  }

  a {
    display: block;
    width: 100%;
    height: 100%;
  }
}


.main-menu {
  height: inherit;
  display: none;

  @media (min-width: 768px) {
    display: block;
  }

  > ul {
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;

    > li {
      height: inherit;
      margin: 0;
      padding: 0;
      list-style: none;

      &:last-of-type {
        margin: 0;
      }

      > a {
        height: inherit;
        display: inline-block;
        padding: 0;
        font-size: 0.9rem;
        text-transform: uppercase;
        color: inherit;
        padding: 10px 14px 10px 14px;
        text-decoration: none;

        &:hover {
          background: var(--primary);
          color: #fff;
          text-decoration: none;
        }
      }
    }

    > li.active {
      > a {
        background: var(--primary);
        text-decoration: none;
        color: #fff;

        &:hover {
          text-decoration: none;
          background: var(--primary);
          transition: all 225ms ease-in 0s;
          color: #fff;
        }

        span {
          display: block;
        }
      }

      ul.sub-menu.hidden {
        display: flex;
        opacity: 0;
        transition: all 225ms ease-in 0s;
        z-index: 1;
      }

      ul.sub-menu {
        display: flex;
        opacity: 0.8;
        transition: all 225ms ease-in 0s;
      }
    }
  }
}

.main-menu {
  a[aria-current='page'] {
    text-decoration: underline;
  }
}


.button_container {
  position: fixed;
  top: 5%;
  right: 2%;
  height: 27px;
  width: 35px;
  cursor: pointer;
  z-index: 100;
  transition: opacity 0.25s ease;

  &:hover {
    opacity: 0.7;
  }

  &.active {
    .top {
      transform: translateY(11px) translateX(0) rotate(45deg);
      background: #fff;
    }

    .middle {
      opacity: 0;
      background: #fff;
    }

    .bottom {
      transform: translateY(-11px) translateX(0) rotate(-45deg);
      background: #fff;
    }
  }

  span {
    background: var(--primary);
    border: none;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.35s ease;
    cursor: pointer;

    &:nth-of-type(2) {
      top: 11px;
    }

    &:nth-of-type(3) {
      top: 22px;
    }
  }
}

.main-menu-mobile {
  position: fixed;
  background: var(--primary);
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s, height 0.35s;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  &.open {
    opacity: 0.9;
    visibility: visible;
    height: 100%;
    z-index: 10;

    li {
      animation: fadeInRight 0.5s ease forwards;
      animation-delay: 0.35s;

      &:nth-of-type(2) {
        animation-delay: 0.4s;
      }

      &:nth-of-type(3) {
        animation-delay: 0.45s;
      }

      &:nth-of-type(4) {
        animation-delay: 0.5s;
      }

      &:nth-of-type(5) {
        animation-delay: 0.55s;
      }

      &:nth-of-type(6) {
        animation-delay: 0.6s;
      }
    }
  }

  ul {
    font-size: 2rem;
    font-family: var(--font-family-heading);
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 0;

    li {
      display: block;
      position: relative;
      opacity: 0;

      a {
        display: block;
        position: relative;
        color: #fff;
        text-decoration: none;
        overflow: hidden;

        &:hover:after,
        &:focus:after,
        &:active:after {
          width: 100%;
        }

        &:after {
          content: '';
          position: absolute;
          bottom: 0;
          left: 50%;
          width: 0%;
          transform: translateX(-50%);
          height: 3px;
          background: #fff;
          transition: 0.35s;
        }
      }
    }
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    left: 20%;
  }
  100% {
    opacity: 1;
    left: 0;
  }
}

.lock-scroll {
  overflow: hidden;
}

.main-menu-mobile {
  a[aria-current='page'] {
    text-decoration: underline;
  }
}


ul.social {
  height: inherit;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: flex-start;

  svg {
    fill: currentColor;
    height: 16px;
    width: 16px;
  }

  li {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-right: 30px;

    &:last-of-type {
      margin: 0;
    }

    a {
      background-repeat: no-repeat;
      background-position: center center;
      background-size: auto;
      padding: 8px;
      display: block;

      span {
        font-size: 24px;
      }
    }
  }
}


#toggle-main-menu-mobile {
  position: fixed;
  right: 10px;
}

.hamburger {
  padding: 0;
  padding-top: 10px;
  outline: none;
  z-index: 10;
  cursor: pointer;
  height: 40px;

  @media (min-width: 768px) {
    display: none;
  }

  &:focus {
    outline: none;
  }

  .hamburger-inner,
  .hamburger-inner::before,
  .hamburger-inner::after {
    background: var(--primary);
  }

  .hamburger-inner::after {
    width: 18px;
    right: 0;
  }

  &.is-active {
    .hamburger-inner::after {
      width: inherit;
      right: unset;
    }
  }
}


.button {
  white-space: nowrap;
  display: inline-block;
  height: 40px;
  line-height: 40px;
  padding: 0 14px;
  box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
  background: var(--primary);
  border-radius: 4px;
  font-size: 15px;
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #fff;
  text-decoration: none;
  -webkit-transition: all 0.15s ease;
  transition: all 0.15s ease;

  &:hover {
    color: #fff;
    background-color: var(--primary-light-10);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
  }
}


.title-1 {
  color: var(--primary);
  font-size: 2.4rem;
  line-height: 1.2;
  font-family: var(--font-family-heading);

  @media (min-width: 768px) {
    font-size: 3rem;
  }

  &.black {
    color: #222222;
  }
}

.title-2 {
  font-family: var(--font-family-heading);
  color: #333333;
  font-size: 2.4rem;

  @media (min-width: 768px) {
    font-size: 4rem;
  }

  a {
    display: block;
  }
}

.title-3 {
  font-family: var(--font-family-heading);
  color: #333333;
  font-size: 1.6rem;

  @media (min-width: 576px) {
    font-size: 2rem;
  }

  @media (min-width: 768px) {
    font-size: 2.4rem;
  }

  a {
    display: block;
  }
}


.content {
  ul,
  ol {
    margin-top: 10px;
    margin-bottom: 20px;

    li {
      margin-bottom: 5px;
      margin-left: 20px;
    }
  }

  a {
    text-decoration: underline;
  }

  p {
    color: rgb(78, 78, 78);
    font-family: var(--font-family-base);
  }

  h1 {
    font-family: var(--font-family-heading);
    line-height: 1.2;
    font-weight: var(--font-weight-light);
    color: #333333;

    @media (min-width: 768px) {
      line-height: 1.2;
      font-weight: var(--font-weight-light);
    }
  }

  h2 {
    font-family: var(--font-family-heading);
    line-height: 1.4;
    color: #333333;

    @media (min-width: 768px) {
      line-height: 1.4;
    }
  }

  h3 {
    color: var(--primary);
    line-height: 1.4;
    font-weight: var(--font-weight-thin);
    letter-spacing: 1px;

    @media (min-width: 768px) {
      line-height: 1.4;
      letter-spacing: 1.8px;
      font-weight: var(--font-weight-thin);
    }
  }
}


.intro {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 200px;
  padding-bottom: 20px;

  @media (min-width: 576px) {
    padding-top: 160px;
    padding-bottom: 80px;
  }

  @media (min-width: 768px) {
    padding-top: 160px;
    padding-bottom: 80px;
  }

  @media (min-width: 992px) {
    padding-top: 200px;
    padding-bottom: 100px;
  }

  h1 {
    color: var(--primary);
    font-size: 2.4rem;
    line-height: 1.2;
    font-family: var(--font-family-heading);
    width: 70%;

    @media (min-width: 576px) {
      width: 70%;
    }

    @media (min-width: 768px) {
      font-size: 3rem;
      width: 70%;
    }

    @media (min-width: 992px) {
      font-size: 3rem;
      width: 50%;
    }
  }

  p {
    width: 80%;
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--secondary);

    @media (min-width: 576px) {
      width: 70%;
    }

    @media (min-width: 768px) {
      width: 60%;
    }

    @media (min-width: 992px) {
      width: 40%;
    }
  }
}

.intro-small {
  padding-top: 100px;
  padding-bottom: 30px;
}


.strip {
  margin-top: 200px;
  background: white;
}

.strip-white {
  background: white;
}

.strip-diagonal {
  transform: skewY(5deg);
  padding-bottom: 50px;
  margin-bottom: 65px;

  > div {
    transform: skewY(-5deg);
  }
}


.whitebox {
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  box-shadow: 0 1px 18px rgba(0, 0, 0, 0.2);
  background: #fff;
  padding: 10px;
}


.feature {
  border: 2px solid #eaeaea;
  padding: 20px;
  background-color: #ffffff;
  text-align: center;

  svg {
    color: var(--primary);
  }

  .feature-title {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .feature-content {
    margin-bottom: 0;
    margin-top: auto;

    p {
      margin: 0;

      strong {
        color: var(--secondary);
        text-transform: uppercase;
        font-size: 0.8rem;
        font-weight: var(--font-weight-bold);
      }

      em {
        color: var(--primary);
        font-style: normal;
      }
    }
  }
}


.call {
  position: relative;
  overflow: hidden;
  background-color: var(--primary);
  border-radius: 4px;
  box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
  width: 100%;
  color: var(--secondary);
  color: #fff;
  display: flex;
  align-items: flex-start;
  flex-direction: column;

  @media (min-width: 576px) {
    align-items: center;
    flex-direction: row;
    width: 90%;
  }

  @media (min-width: 768px) {
    width: 70%;
  }

  @media (min-width: 992px) {
    width: 50%;
  }

  .call-box-top {
    flex: 1 0 auto;
    padding: 20px;

    @media (min-width: 768px) {
      padding: 20px;
    }
  }

  .call-box-bottom {
    flex: 0 0 auto;
    padding: 0 20px 20px 20px;

    @media (min-width: 576px) {
      padding: 20px;
    }

    .button {
      background-color: #fff;
      color: var(--primary);

      &:hover {
        color: var(--primary);
        background-color: var(--primary-light-40);
      }
    }
  }

  .call-name {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
  }

  svg {
    fill: var(--secondary-light-40);
    position: absolute;
    bottom: -9px;
    right: 0;
    width: 100px;
    height: 100px;

    @media (min-width: 576px) {
      width: 120px;
      height: 120px;
    }
  }
}


.card {
  .card-body {
    padding: 0;

    ul {
      list-style: none;
      margin: 0;
      padding: 0;

      li {
        display: inline-block;
        padding-right: 0.7rem;
        font-size: 1rem;
        color: rgb(87, 87, 87);
        margin: 0;
        line-height: 1.3;
      }
    }

    h2 {
      font-family: var(--font-family-heading);
    }
  }

  .card-content {
    h2 {
      font-family: var(--font-family-heading);
      font-size: 1.6rem;
    }
  }
}


.page-link {
  color: #fff !important;
  background-color: var(--primary) !important;
  border: 1px solid var(--primary) !important;

  &:hover {
    color: #fff !important;
    background-color: var(--primary-light-10) !important;
    border-color: var(--primary-light-10) !important;
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
    text-decoration: none;
  }
}


.page-home {
  background-image: url('../images/undraw_startup_life_2du2.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: top right;

  @media (min-width: 576px) {
    background-size: 65%;
  }

  @media (min-width: 768px) {
    background-size: 60%;
  }

  @media (min-width: 992px) {
    background-size: 55%;
  }
}


.page-teams {
  background-image: url('../images/undraw_biking_kc4f.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: top -20px right;

  @media (min-width: 576px) {
    background-size: 65%;
    background-position: top -20px right;
  }

  @media (min-width: 768px) {
    background-size: 55%;
    background-position: top -20px right;
  }

  @media (min-width: 992px) {
    background-size: 45%;
    background-position: top -20px right;
  }
}

.card-image-top {
  max-width: 600px;
}


.page-testimonials {
  background-image: url('../images/undraw_Memory_storage_reh0.svg');
  background-repeat: no-repeat;
  background-size: 70%;
  background-position: top 30px right;

  @media (min-width: 576px) {
    background-size: 45%;
  }

  @media (min-width: 768px) {
    background-size: 40%;
  }

  @media (min-width: 992px) {
    background-size: 35%;
  }
}


.testimonial {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;

  .testimonials-image {
    flex: 0;
    margin-right: 10px;

    img {
      width: 160px;
    }
  }

  .testimonials-meta {
    flex: 1;
    margin-bottom: 10px;

    p {
      margin-bottom: 0;
    }
  }

  .testimonials-title {
    color: var(--primary);
    margin-bottom: 5px;
  }

  .testimonials-name {
    font-weight: var(--font-weight-bold);
    display: inline-block;
    margin-right: 10px;
  }

  .testimonials-jobtitle {
    display: inline-block;
    color: var(--secondary);
  }

  .testimonials-content {
    flex: 1 0 100%;

    blockquote {
      display: block;
      border-width: 2px 0 0 0;
      border-style: solid;
      border-color: #f2f2f2;
      padding: 1.5em 0 0.5em;
      margin: 1.5em 0;
      position: relative;
    }

    blockquote:before {
      content: '\201C';
      position: absolute;
      top: 0em;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #fff;
      width: 3rem;
      height: 2rem;
      font: 6em/1.08em 'PT Sans', sans-serif;
      color: var(--primary);
      text-align: center;
    }
  }
}


.page-services {
  background-image: url('../images/undraw_solution_mindset_34bi.svg');
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: top right;

  @media (min-width: 576px) {
    background-size: 65%;
  }

  @media (min-width: 768px) {
    background-size: 55%;
  }

  @media (min-width: 992px) {
    background-size: 45%;
  }
}


.service-single {
  h1.title {
    font-size: 3rem;
    font-family: var(--font-family-heading);
    color: var(--primary);
  }

  .content {
    > p {
      &:first-of-type {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 40px;
      }
    }
  }
}
