@import '../css/vars.css';
@import '../css/grid.css';

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:before,
*:after {
  box-sizing: border-box;
}

@font-face {
  font-family: montserrat;
  src: url(../fonts/montserrat-semibold.woff2);
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: montserrat;
  src: url(../fonts/montserrat-bold.woff2);
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: montserrat;
  src: url(../fonts/montserrat-medium.woff2);
  font-style: normal;
  font-weight: 500;
}

body, html {
  height: 100%;
  min-height: 100%;
}

html {
  text-rendering: optimizelegibility;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  line-height: 1;
  background-color: var(--white-color);
  color: var(--text-color);
  font-family: var(--primary-font), sans-serif;
  font-size: 16px;
  font-weight: 400;
}

body.app-form-success {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--accent-color);
  font-weight: 700;
  font-family: var(--primary-font), sans-serif;
}

h1 {
  font-size: 80px;
  line-height: 83px;
  font-weight: 700;
}

h2 {
  font-size: 47px;
  line-height: 36px;
  font-weight: 700;
}

h3 {
  font-size: 32px;
  line-height: 41px;
  font-weight: 700;
}

h4 {
  font-size: 24px;
  line-height: 31px;
}

h5 {
  font-size: 20px;
  line-height: 23px;
}

h6 {
  font-size: 16px;
  line-height: 24px;
}

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

p {
  font-size: 18px;
  line-height: 32px;
  font-weight: 500;
  margin-bottom: 20px;
  color: var(--text-color);
}

strong {
  font-weight: 700;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent-color);
  line-height: 1;
  outline: none;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  text-decoration: underline;
}

input, 
select,
textarea {
  width: 100%;
  position: relative;
  display: block;
  padding: 9px 15px;
  color: var(--text-color);
  font-size: 20px;
  line-height: 32px;
  font-family: var(--primary-font), sans-serif;
  font-weight: 500;
  background-color: transparent;
  outline: none;
  border: 1px solid var(--accent-color);
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

textarea {
  resize: none;
  min-height: 90px;
}

::-webkit-input-placeholder {
  color: var(--text-color);
  opacity: 1;
}
::-moz-placeholder {
  color: var(--text-color);
  opacity: 1;
}
:-ms-input-placeholder {
  color: var(--text-color);
  opacity: 1;
}
:-moz-placeholder {
  color: var(--text-color);
  opacity: 1;
}

input:active,
input:focus,
textarea:active,
textarea:focus {
  border-color: var(--text-color);
}

.base-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: auto;
  padding: 16px 28px;
  background-color: var(--accent-color);
  color: var(--white-color);
  outline: none;
  font-family: var(--primary-font), sans-serif;
  font-weight: 700;
  font-size: 27px;
  line-height: 36px;
  cursor: pointer;
  text-decoration: none;
  border: 0;
  box-shadow: 4px 5px 13px 0 rgba(0, 0, 0, .25);
  transition: var(--transition);
}

.base-button:hover,
.base-button:active {
  background-color: var(--text-color);
  color: var(--white-color);
  text-decoration: none;
  box-shadow: none;
}

.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9;
  background-color: var(--bg-color-1);
  padding: 15px 0;
  transition: var(--transition);
}

.app-header__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  max-width: 202px;
}

.app-header__menu ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.app-header__menu ul li {
  margin-left: 50px;
}

.app-header__menu ul li a {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  color: var(--accent-color);
}

.app-header__menu-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex: 1;
  transition: var(--transition);
}

.app-header__menu-wrap.is-active {
  transform: translateX(0);
}

.app-header-form {
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--text-color);
}

.app-header-form__logo {
  max-width: 202px;
}

.s-form-success {
  padding: 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.s-form-success p {
  font-size: 24px;
  color: var(--accent-color);
  line-height: 36px;
  margin-bottom: 30px;
  font-weight: 600;
}

.s-form-success a {
  font-size: 20px;
  line-height: 36px;
  text-decoration: underline;
  color: var(--text-color);
}

.s-form-success a:hover {
  text-decoration: none;
}

.s-intro {
  padding: 80px 0;
  position: relative;
  min-height: 708px;
  display: flex;
  margin-top: 97px;
  align-items: center;
  justify-content: flex-start;
  background: url(../img/top-bg.svg) no-repeat center;
  background-size: cover;
}

.s-intro::before {
  content: '';
  width: 803px;
  height: 100%;
  position: absolute;
  right: 0;
  bottom: 0;
  background: url(../img/top-img.png) no-repeat center left;
  background-size: cover;
}

.s-intro__text {
  position: relative;
  z-index: 2;
}

.s-intro__top-title {
  margin-bottom: 16px;
  text-transform: uppercase;
  color: var(--accent-dark-color);
}

.s-intro__sub-title {
  font-size: 43px;
  line-height: 53px;
  color: var(--accent-dark-color);
}

.s-intro .base-button {
  max-width: 304px;
  width: 100%;
  margin-top: 58px;
}

.s-title {
  margin-bottom: 50px;
  font-size: 47px;
  line-height: 36px;
}

.s-about {
  padding: 100px 0 50px;
  scroll-margin-top: 80px;
}

.s-about .s-title {
  margin-bottom: 30px;
}

.s-about__img {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
  border: 12px solid var(--bg-color-3);
}

.s-about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.s-about__content {
  padding-left: 10px;
}

.s-solutions {
  padding: 70px 0;
  scroll-margin-top: 80px;
}

.solution-items {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: flex-start;
  margin: 0 -15px;
}

.solution-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 15px 30px;
  padding: 23px 23px 23px 36px;
  width: calc(50% - 30px);
  background-color: var(--white-color);
  box-shadow: 3px 3px 10px 0 rgba(37, 37, 37, .15);
}

.solution-item__content {
  display: flex;
  justify-content: space-between;
}

.solution-item__text {
  margin-right: 15px;
}

.solution-item__text p {
  font-size: 16px;
  line-height: 27px;
}

.solution-item__text p:last-child {
  margin-bottom: 0;
}

.solution-item__title {
  font-size: 27px;
  line-height: 36px;
  font-weight: 700;
  color: var(--accent-color);
  padding-right: 30px;
}

.solution-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 141px;
  height: 141px;
  background-color: var(--bg-color-3);
}

.s-partners {
  padding: 100px 0 70px;
  background-color: var(--bg-color-2);
  scroll-margin-top: 80px;
}

.partner-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
}

.partner-item {
  margin: 0 30px 30px;
}

.s-mission {
  padding: 100px 0 70px;
  scroll-margin-top: 80px;
}

.mission-item {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.mission-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 30px;
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  box-shadow: 3px 3px 10px 0 rgba(37, 37, 37, .15);
}

.mission-item__text p {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 36px;
  font-weight: 500;
}

.s-contact {
  padding: 100px 0;
  background-color: var(--bg-color-2);
  scroll-margin-top: 80px;
}

.s-contact__map {
  height: 600px;
  overflow: hidden;
  background-color: var(--white-color);
  border: 12px solid var(--bg-color-4);
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
}

.s-contact__map iframe {
  height: 575px;
}

.contact-item {
  margin-bottom: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.contact-item__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin-right: 16px;
}

.contact-item__text a,
.contact-item__text strong {
  margin-top: 20px;
  display: block;
  font-size: 27px;
  font-weight: 700;
  line-height: 36px;
  color: var(--text-color);
}

.contact-item__text p {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 36px;
  margin-top: 12px;
}

.s-get-in-touch {
  padding: 100px 0 75px;
  background: url(../img/bg-map.svg) no-repeat center;
  background-size: cover;
}

.contact-form {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 80px;
  backdrop-filter: blur(15px);
  background-color: rgba(170, 170, 170, 0.21);
}

.contact-form input {
  margin-bottom: 30px;
}

.contact-form textarea {
  min-height: 252px;
}

.contact-form__btn {
  text-align: center;
  margin-top: 30px;
}

.contact-form .base-button {
  width: 100%;
  max-width: 303px;
}

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

.form-group-2 input{
  width: calc(50% - 15px);
}

.app-footer {
  background-color: var(--bg-color-3);
  padding: 80px 0 48px;
}

.app-footer__content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.app-footer__content-left {
  margin-right: 103px;
  flex-shrink: 0;
}

.app-footer__content-right {
  width: 100%;
}

.app-footer__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-footer__menu {
  margin-bottom: 27px;
}

.app-footer__menu ul {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.app-footer__menu ul li {
  margin-right: 40px;
}

.app-footer__menu ul li a {
  font-size: 20px;
  line-height: 36px;
  font-weight: 600;
  color: var(--accent-color);
}

.app-footer__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.app-footer__contact {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.app-footer__contact a {
  margin-right: 40px;
}

.app-footer__contact a,
.copyright {
  font-size: 20px;
  line-height: 36px;
  font-weight: 600;
  color: var(--text-color);
}

.page-loading .page-loader {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.page-loader {
	background-color: var(--white-color);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10000;
  display: none;
}

.page-loader__logo {
  margin-bottom: 40px;
}

.spinner-border {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  animation: 0.75s linear infinite spinner-border;
  border: 3px solid var(--accent-color);
  border-right-color: transparent;
  margin-right: 10px;
}

.dot-flashing {
  position: relative;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  background-color: var(--accent-color);
  color: var(--accent-color);
  animation: dot-flashing 1s infinite linear alternate;
  animation-delay: 0.5s;
}

.dot-flashing::before, .dot-flashing::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}

.dot-flashing::before {
  left: -20px;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  background-color: var(--accent-color);
  color: var(--accent-color);
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 0s;
}

.dot-flashing::after {
  left: 20px;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  background-color: var(--accent-color);
  color: var(--accent-color);
  animation: dot-flashing 1s infinite alternate;
  animation-delay: 1s;
}

@keyframes dot-flashing {
  0% {
    background-color: var(--accent-color);
  }
  50%, 100% {
    background-color: rgba(0, 118, 132, 0.2);
  }
}

.base-button.spinner-loading.is-loading {
  pointer-events: none;
}

.base-button.spinner-loading.is-loading::after,
.base-button.spinner-loading.is-loading::before {
  visibility: visible;
  opacity: 1;
}

.base-button.spinner-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: var(--accent-color);
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.base-button.spinner-loading::before {
  content: '';
  position: absolute;
  display: inline-block;
  width: 28px;
  height: 28px;
  top: 50%;
  left: 50%;
  margin-left: -14px;
  margin-top: -14px;
  z-index: 2;
  border-radius: 50%;
  animation: 0.75s linear infinite spinner-border;
  border: 3px solid var(--white-color);
  border-right-color: transparent;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.hamburger {
  position: relative;
  display: none;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible; }
  .hamburger:hover {
    opacity: 0.7; }
  .hamburger.is-active:hover {
    opacity: 0.7; }
  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: var(--text-color); }

.hamburger-box {
  width: 40px;
  height: 24px;
  display: inline-block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -2px; }
  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 40px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease; }
  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block; }
  .hamburger-inner::before {
    top: -10px; }
  .hamburger-inner::after {
    bottom: -10px; }

.hamburger--slider .hamburger-inner {
  top: 2px; }
  .hamburger--slider .hamburger-inner::before {
    top: 10px;
    transition-property: transform, opacity;
    transition-timing-function: ease;
    transition-duration: 0.15s; }
  .hamburger--slider .hamburger-inner::after {
    top: 20px; }

.hamburger--slider.is-active .hamburger-inner {
  transform: translate3d(0, 10px, 0) rotate(45deg); }
  .hamburger--slider.is-active .hamburger-inner::before {
    transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
    opacity: 0; }
  .hamburger--slider.is-active .hamburger-inner::after {
    transform: translate3d(0, -20px, 0) rotate(-90deg); }

.text-center {
  text-align: center;
}