/* Global */
:root {
  /* Color */
  --clr-blue: #1594FE;
  --clr-dark: #231E1C;
  --clr-light: #9B9A98;
  --clr-lightest: #aaa;
  /* Font */
  --ff-heading: "Avenir";
  --ff-body: "Avenir";
  --fw-heading: 700;
  --fw-body: 300;
  --fs-h1: 5rem;
  --fs-h2: 3.25rem;
  --fs-h3: 2.75rem;
  --fs-h4: 1.75rem;
  --fs-body: 1.125rem;
  --line-height: 1.55;
  /* Background */
  --bg-grey: #F2F0F1;
  --bg-light: #fff;
  --bg-dark: var(--clr-dark);

  --transition: .15s ease-in-out;
  --shadow: 2px 5px 20px rgba(0, 0, 0, .2);
  --gradient: linear-gradient(60deg, red, green, blue, yellow);

  --z-idx-low: 3;
  --z-idx-default: 5;
  --z-idx-high: 7;
}

* {
  font-family: var(--ff-body);
  -webkit-font-smoothing: antialiased;
}

html,
body {
  height: 100%;
  background: var(--bg-grey);
  word-wrap: break-word;
  word-break: break-word;
  hyphens: manual;
  font-size: 16px;
  font-family: var(--ff-body);
  overflow-wrap: break-word;
}

body {
  overflow-x: hidden;
  -webkit-text-size-adjust: none;
}

pre {
  font-size: 1em;
  font-family: monospace, monospace;
}

textarea {
  resize: vertical
}

img {
  max-width: 100%;
}

::placeholder {
  opacity: 0.8;
}

::selection {
  background: #0099cc;
  color: #fff;
}

/* Backgrounds */
.bg--grey {
  background: var(--bg-grey);
}

.bg--light {
  background: var(--bg-light);
}

.bg--dark {
  background: var(--bg-dark);
}

.bg--cover {
  position: absolute;
  z-index: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px;
  min-width: 156px;
  border: 1.5px solid var(--clr-blue);
  border-radius: 4px;
  background: var(--clr-blue);
  color: #fff;
  text-align: center;
  font-weight: normal;
  font-size: 16px;
}

.btn--light {
  background: none;
  color: var(--clr-blue);
}

.btn--white {
  background: none;
  color: #fff;
  border-color: currentColor;
}

.btn:hover {
  border-color: #007ce1;
  background: #007ce1;
}

.btn--light:hover {
  background: var(--clr-blue);
  color: #fff;
  border-color: var(--clr-blue);
}

.btn--md {
  padding: 11px;
  min-width: 176px;
}

.btn--lg {
  padding: 16px;
  min-width: 195px;
  font-size: 18px;
}

.btn--xl {
  padding: 16px;
  min-width: 225px;
  font-size: 18px;
}

/* Forms */

.error-message {
    display: none;
    margin-top: 5px;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    background-color: #f2dede;
    border-color: #ebccd1;
    color: #a94442;
}

.success-message {
    display: none;
    padding: 10px;
    margin-top: 5px;
    text-align: center;
    font-weight: bold;
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
    border-radius: 5px;
}

.input-error {
    border-color: #a94442 !important;
}

.form--account button .to-spin {
  display: none;
  animation: spin 2s infinite linear;
  width: 20px;
  height: 20px;
  font-size: 20px;
  margin: 0px 0px 0px 5px;
}

.form--account button label i {
  color: #ffffff;
}

.form--account input:not([type="submit"]), .form--login button {
  padding: 15px 18px;
  width: 100%;
  border: 2px solid #E4E4E4;
  border-radius: 4px 0 0 4px;
  background: #fff;
  color: #000;
  letter-spacing: 0.25px;
  font-size: 15px;
  transition: border var(--transition-normal);
}

.form--account label {
  display: block;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: normal;
  font-size: 12px;
}

.form--account input:is([type="text"], [type="email"], [type="tel"], [type="password"]) {
  padding: 15px 18px;
  width: 100%;
  border: 2px solid #E4E4E4;
  border-radius: 4px;
  background: #fff;
  color: #000;
  letter-spacing: 0.25px;
  font-size: 15px;
  transition: var(--transition);
}

.form--account select {
  padding: 15px 18px;
  width: 100%;
  border: 2px solid #E4E4E4;
  border-radius: 4px;
  background: #fff;
  color: #000;
  letter-spacing: 0.25px;
  font-size: 15px;
  transition: var(--transition);
  -moz-appearance: textfield;
  -webkit-appearance: auto;
}

.form--account *[type="submit"] {
  display: flex;
  justify-content: center;
  padding: 0 15px;
  max-width: 100%;
  width: 245px;
  height: 50px;
  border: 0;
  border-radius: 4px;
  background: var(--clr-blue);
  color: #fff;
  letter-spacing: 0.2px;
  font-size: 17px;
  align-items: center;
  font-weight: normal;
  transition: var(--transition);
}

.form--account *[type="submit"]:hover {
  border-color: #007ce1;
  background: #007ce1;
}

/* === Animations === */
@keyframes slide-in {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes slide-out {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes fade-in {
  0% {
    visibility: visible;
    background: rgba(0, 0, 0, 0);
    opacity: 1;
  }

  100% {
    visibility: visible;
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
  }
}

@keyframes fade-out {
  0% {
    visibility: visible;
    background: rgba(0, 0, 0, 0.8);
    opacity: 1;
  }

  100% {
    visibility: hidden;
    background: rgba(0, 0, 0, 0);
    opacity: 0;
  }
}

@keyframes spin {
  from {
    transform:rotate(0deg);
  }

  to {
    transform:rotate(360deg);
  }
}


/* Header */
header {
  height: 160px;
}

header .grid {
  grid-template-columns: 1fr auto;
  grid-gap: 0 20px;
}

header .logo img {
  display: block;
  max-width: 230px;
}

header nav :is(ul, li) {
  margin: 0;
  padding: 0;
  list-style: none;
}

header nav li {
  padding-bottom: 10px;
  padding-top: 5px;
  display: inline-block;
  position: relative;
}

header nav li:not(.demo, .sign-up) {
  margin-left: 22px;
}

header nav li:is(.demo, .sign-up) {
  margin-left: 5px;
}

header nav li.log-in {
  margin-right: 8px;
}

header nav li.contact-us::after {
  content: '';
  display: inline-block;
  width: 0.5px;
  height: 26px;
  vertical-align: middle;
  background: #999;
  margin: 0 -5px 0 22px;
}

header li.has-sub-menu > a::after {
  content: '\25BE';
  position: relative;
  top: -0.5px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 0 2px;
  font-size: 22px;
}

header nav a {
  color: var(--clr-dark);
  font-size: 16px;
}

header a:not(.btn):hover {
  text-decoration: underline;
}

header nav .btn {
  min-width: 145px;
  text-align: center;
  font-size: 15px;
  padding: 6px;
  display: inline-grid;
  align-items: center;
  line-height: 100%;
  height: 40px;
}

header .sub-menu {
  --b-radius: 4px;
  position: absolute;
  top: 100%;
  left: calc(0px - var(--b-radius));
  width: 215px;
  display: grid;
  grid-gap: 26px 30px;
  grid-template-columns: 1fr;
  background: #fff;
  padding: 25px;
  border-radius: var(--b-radius);
  box-shadow: 0 1.5rem 4rem rgb(22 28 45 / 15%);
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease-in-out;
  z-index: var(--z-idx-high);
}

header ul li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
}

header .sub-menu label {
  text-transform: uppercase;
  font-size: 13.5px;
  font-weight: bold;
  opacity: 0.45;
  margin-bottom: 12px;
  display: block;
}

header .sub-menu li {
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

header .sub-menu li + li {
  margin: 8px 0 0 0 !important;
}

header .sub-menu li a {
  opacity: 0.75;
}

@media (max-width: 1024px) {
  header {
    margin-bottom: 0;
    padding: var(--padding) 0;
    height: auto;
    --padding: 3vw;
  }
}

@media (max-width: 768px) {
  header {
    --padding: 6vw;
  }
}

@media (max-width: 1024px) {
  header {
    --width-menu: 80vw;
    --width-close: calc(100vw - var(--width-menu));
  }

  header .logo img {
    max-width: 200px;
  }

  header nav {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    min-height: 100vh;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: var(--z-idx-high);
  }

  header .open-nav {
    cursor: pointer;
  }

  header .open-nav img {
    display: block;
    width: 28px;
    position: relative;
    top: -4px;
    height: auto;
  }

  header .close-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--width-close);
    height: 100%;
    color: #fff;
    padding: 20px 0 0 20px;
    cursor: pointer;
  }

  header .close-nav img {
    display: block;
    width: 24px;
    height: auto;
  }

  header nav > ul {
    position: relative;
    left: 100%;
    /*    left: var(--width-close);*/
    display: block;
    overflow-x: hidden;
    overflow-y: scroll;
    padding: 20px 30px 15vh 30px;
    min-height: 100vh;
    width: var(--width-menu);
    height: 100%;
    background: var(--bg-grey);
  }

  header nav li {
    display: block;
    margin: 0 !important;
  }

  header nav > ul > li + li:not(.sign-up) {
    margin-top: 10px !important;
  }

  header nav li.contact-us::after {
    display: block;
    width: calc(100% + (30px * 2));
    height: 1px;
    background: #E0E0E0;
    padding: 0;
    margin: 20px 0 0 -30px;
  }

  header li.has-sub-menu > a::after {
    display: none;
  }

  header nav .btn {
    min-width: 70%;
    font-size: 16px;
    height: 48px;
  }

  header .sub-menu {
    --b-radius: 3px;
    position: relative;
    top: 0;
    left: 10px;
    width: 100%;
    grid-row-gap: 24px;
    grid-template-columns: 1fr;
    padding: 24px;
    box-shadow: 0 0;
    opacity: 1;
    margin-top: 6px;
    margin-bottom: 6px;
    visibility: visible;
  }

  header .sub-menu label {
    margin-bottom: 10px;
  }
}

/* Footer */
footer {
  padding-top: 80px;
  padding-bottom: 40px;
}

footer .container-grid {
  grid-template-areas:
    "form form"
    "menu info";
  grid-template-columns: 1fr auto;
  grid-gap: 50px 20px;
}

footer .subscribe {
  grid-area: form;
}

footer :is(.subscribe, .menu) :is(.heading, p, a) {
  font-size: 15px;
}

footer .subscribe .heading {
  color: #fff;
  letter-spacing: 0.25px;
}

footer .subscribe p {
  margin: 10px 0 15px 0;
}

footer .menu {
  grid-area: menu;
  position: relative;
  top: 2px;
}

footer .menu :is(ul, li) {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer .menu li {
  display: inline-block;
  margin: 0 15px 0 0;
}

footer .menu a:hover {
  color: rgba(255, 255, 255, .75);
}

footer .company-info {
  grid-area: info;
}

footer .company-info * {
  font-size: 13px;
  text-align: right;
  line-height: 170%;
}

footer :is(.subscribe p, .menu a, .company-info *) {
  color: var(--clr-light);
}

footer .form--subscribe {
  width: 100%;
  max-width: 580px;
}

footer .form--subscribe .form-grid {
  grid-template-columns: 1fr 150px;
}

footer .form--subscribe :is(input:not([type="submit"]), button) {
  padding: 12px 18px;
  width: 100%;
  border: 1px solid #fff;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  background: none;
  color: #fff;
  letter-spacing: 0.25px;
  font-size: 14px;
}

footer .form--subscribe :is(input[type="submit"], button) {
  position: relative;
  padding: 12px;
  width: 100%;
  border: 1px solid var(--clr-blue);
  border-radius: 4px;
  background: var(--clr-blue);
  color: #fff;
  letter-spacing: 0.25px;
  font-size: 15px;
}

@media (max-width: 1024px) {
  footer .container-grid {
    grid-template-areas:
      "form"
      "menu"
      "info";
    grid-template-columns: 1fr;
    grid-row-gap: 30px;
  }

  footer .company-info * {
    text-align: left;
  }
}

@media (max-width: 768px) {
  footer {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  footer .container-grid {
    grid-row-gap: 45px;
  }

  footer .menu li {
    display: block;
    margin: 0;
  }

  footer .menu li + li {
    margin-top: 14px;
  }

  footer .form--subscribe {
    --padding-t: 13px;
    --padding-b: 11px;
  }

  footer .form--subscribe .form-grid {
    grid-template-columns: 1fr 110px;
  }

  footer .form--subscribe input:not([type="submit"]),
  footer .form--subscribe button {
    padding-top: var(--padding-t);
    padding-bottom: var(--padding-b);
  }

  footer .form--subscribe input[type="submit"],
  footer .form--subscribe button {
    padding-top: var(--padding-t);
    padding-right: 0;
    padding-bottom: var(--padding-b);
    padding-left: 0;
    font-size: 14px;
  }
}

/* Home hero May 2025 */
.home-hero {
  --space: 40px;
  --grey: #E6E6E5;
  --x-padding: 40px;
  display: grid;
  height: 100vh;
  min-height: 720px;
  width: 100%;
  padding: 0px var(--space) var(--space) var(--space);
}

.home-hero .content {
  background-image:
    linear-gradient(to bottom left, rgba(35 30 28/.50), rgba(35 30 28/1)),
    url(/themes/developmentid/assets/img/bg-matrix.webp);
  background-size: cover;
  background-position: top;
  border-radius: 0 0 12px 12px;
  padding: 0 var(--x-padding) 60px var(--x-padding);
  display: grid;
  align-items: center;
  grid-template-rows: auto 1fr auto;
  width: 100%;
}

.home-hero header {
  height: 175px;
  padding: 0 !important;
}

.home-hero header .logo img {
  filter: invert() brightness(100);
}

.home-hero header .btn--light {
  background: none;
  color: #fff;
  border-color: currentColor;
}

@media (min-width: 768px) {
  .home-hero header nav li:not(.demo, .sign-up) a {
    color: #fff;
  }

  .home-hero header .sub-menu a {
    color: var(--dark) !important;
  }
}

.home-hero header .open-nav img {
  filter: invert() brightness(100);
}

.home-hero .textings {
  margin-top: -40px;
}

.home-hero .heading {
  color: #fff;
  font-size: clamp(42px, 5.5vh, 48px);
  font-weight: 400;
  text-align: center;
  font-weight: 700;
  margin: 0 auto;
  line-height: 125%;
  letter-spacing: -0.2px;
}

.home-hero .heading span {
  font-size: clamp(20px, 3vh, 23px);
  display: block;
  color: var(--grey);
  margin-top: 29px;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 0;
}

.home-hero .textings .btn {
  margin-top: 44px;
}

.home-hero .subheading {
  color: var(--grey);
  font-size: 17px;
  line-height: 150%;
}

.home-hero .client-carousel {
  width: calc(100vw - 15vw);
  padding: 0;
  margin: 30px auto 0 auto;
}

.home-hero .client-carousel .owl-carousel .item > img {
  filter: grayscale() brightness(100);
}

@media (max-width: 1024px) {
  .home-hero {
    --space: 0px;
    --x-padding: 20px;
    display: block;
    height: auto;
    min-height: auto;
  }

  .home-hero header .btn--light {
    color: var(--clr-blue);
  }

  .home-hero .content {
    border-radius: 0;
    background-image:
      linear-gradient(to bottom, rgba(35 30 28/.55), rgba(35 30 28/1) 95%),
      url(/themes/developmentid/assets/img/bg-matrix.webp);
  }

  .home-hero .heading {
    line-height: 130%;
    font-size: clamp(32px, 6vw, 48px);
  }

  .home-hero .textings {
    margin: 5vw 0 19vw 0;
  }
}

@media (max-width: 768px) {
  .home-hero header {
    height: 140px;
    padding: 0;
  }

  .home-hero header nav {
    margin-top: 0;
  }

  .home-hero .heading br {
    display: none;
  }

  .home-hero .heading {
    line-height: 130%;
  }

  .home-hero .heading span {
    display: none;
  }

  .home-hero .subheading {
    font-size: 16px;
  }

  .home-hero .textings .btn {
    margin-top: 30px;
  }
}

/* Page top hero */
.page-top-hero {}

.page-top-hero .overlay {
  background: rgba(0, 0, 0, 0.8);
}

.page-top-hero .breadcrumbs {
  margin-bottom: 64px;
  cursor: default;
}

.page-top-hero .breadcrumbs > * {
  color: #ccc;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.25px;
  font-weight: bold;
}

.page-top-hero .breadcrumbs > *:empty {
  display: none;
}

.page-top-hero .breadcrumbs > *:not(:last-of-type)::after {
  content: '/';
  font-weight: normal;
  display: inline-block;
  margin: 0 6px 0 10px;
}

.page-top-hero .breadcrumbs > *:last-of-type,
.page-top-hero :is(.heading, .description) {
  color: #fff;
}

.page-top-hero .heading {
  font-size: clamp(32px, 6vw, 50px);
}

.page-top-hero .description {
  max-width: 822px;
  margin: 28px auto 0 auto;
  font-size: clamp(19px, 3vw, 24px);
}

.page-top-hero .description:is(:empty, :blank) {
  display: none !important;
}

@media (max-width: 768px) {
  .page-top-hero .overlay {
    background: rgba(0, 0, 0, 0.82);
  }

  .page-top-hero .breadcrumbs {
    margin-bottom: 50px;
  }
}

/* Call to action */
.call-to-action {
  --border: 1px solid #E0E0E0;
}

.call-to-action .grid-wrapper > * {
  min-height: 210px;
  border: var(--border);
  border-bottom: 0;
  border-left: 0;
  display: grid;
  align-items: center;
}

.call-to-action .grid-wrapper > *:is(:nth-child(4), :nth-child(7), :nth-child(11)) {
  border-right: 0;
}

.call-to-action .content {
  padding: 0 4.5vw;
  grid-column: span 2;
}

.call-to-action .content-grid-wrapper {
  grid-template-columns: auto 1fr;
  grid-gap: 0 10px;
}

.call-to-action .content .copy {
  padding-right: 40px;
}

.call-to-action .content .copy .heading {
  font-size: 18px;
  margin-bottom: 8px;
}

.call-to-action .content .copy p {
  color: var(--clr-light);
}

.call-to-action .content .buttons {
  text-align: right;
}

.call-to-action .content .btn {
  margin: 3px 0 3px 2px;
}

.call-to-action .logo img {
  display: block;
  margin: 0 auto;
  max-width: 138px;
  max-height: 42px;
  filter: grayscale(100%);
}

@media (max-width: 1024px) {
  .call-to-action .grid-wrapper > *:is(:nth-child(4), :nth-child(5), :nth-child(7), :nth-child(8)) {
    display: none !important;
  }

  .call-to-action .grid-wrapper > *:is(:nth-child(3), :nth-child(6)) {
    border-right: 0;
  }

  .call-to-action .content {
    padding: 0 80px;
    grid-column: span 3;
  }
}

@media (max-width:768px) {
  .call-to-action .grid-wrapper > * {
    min-height: 150px;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .call-to-action .grid-wrapper > *:nth-child(6n+3),
  .call-to-action .grid-wrapper .logo {
    display: none !important;
  }

  .call-to-action .grid-wrapper > *:nth-child(2) {
    border-right: 0;
  }

  .call-to-action .content-grid-wrapper {
    grid-gap: 22px 8px;
  }

  .call-to-action .content {
    padding-left: 40px;
    padding-right: 40px;
    grid-column: span 2;
  }

  .call-to-action .content .copy br {
    display: none;
  }

  .call-to-action .content .buttons {
    text-align: left;
  }

  .call-to-action .content .btn {
    min-width: 150px;
  }
}

/* T & C */
.terms-and-conditions :is(p, table) {
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.terms-and-conditions table th {
  background: #eee;
}

.terms-and-conditions table tr > * {
  border: 1px solid #333;
  padding: 5px;
}