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

.blue {
  color: #4c76ff;
}

.title {
  font-size: 28px;
  color: #4c76ff;
  text-transform: uppercase;
  font-family: 'Lato';
  font-weight: 900;
  margin-bottom: 25px;
  text-align: center;
}

section {
  padding: 80px 0 120px;
}

.heart {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 50px;
}

.heart span {
  width: 90px;
  height: 1px;
  display: inline-block;
  background: rgba(0, 0, 0, 0.3);
}

.heart .fa {
  font-size: 18px;
  font-weight: bold;
  opacity: 0.3;
  margin: 0 15px;
}

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

.header {
  font-family: 'Lato';
  padding-bottom: 120px;
  color: #fff;
  background: url('../img/header_bg.jpg') no-repeat center center;
  -webkit-background-size: cover;
          background-size: cover;
}

.header-menu {
  background: rgba(16, 22, 54, 0.4);
}

.header-nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}

.header .navbar {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  list-style: none;
}

.header .navbar .nav-item:not(:first-child) {
  margin-left: 30px;
}

.header .navbar .nav-link {
  color: #fff;
  font-size: 12px;
  padding: 25px 5px 18px;
  display: block;
  text-decoration: none;
  position: relative;
}

.header .navbar .nav-link span {
  position: absolute;
  width: 0%;
  display: block;
  height: 4px;
  top: 0;
  left: 50%;
  background: #4c76ff;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.header .navbar .nav-link.active span {
  width: 100%;
}

.header .logo {
  font-size: 21px;
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.header .burger {
  width: 40px;
  height: 40px;
  border: 2px solid #fff;
  -webkit-border-radius: 10px;
          border-radius: 10px;
  display: none;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  position: relative;
  font-size: 30px;
}

.header h1 {
  text-align: center;
  font-size: 62px;
  font-weight: 900;
  margin-top: 200px;
  margin-bottom: 14px;
}

.header h2 {
  font-size: 48px;
  text-align: center;
  font-weight: 100;
  margin-bottom: 20px;
}

.header p {
  text-align: center;
  font-size: 18px;
  font-weight: 100;
}

.header p::before,
.header p::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: #4c76ff;
  vertical-align: middle;
}

.header p::before {
  margin-right: 40px;
}

.header p::after {
  margin-left: 40px;
}

.header-social {
  text-align: center;
  margin-top: 100px;
}

.header-social a {
  font-size: 20px;
  color: #fff;
  margin: 0 9px;
  opacity: 0.3;
}

.header-social a:hover {
  opacity: 1;
}

.features {
  background: #efefef;
}

.features-card {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
}

.features-card .text {
  margin-left: 14px;
  color: #062033;
  font-family: 'Open Sans';
}

.features-card .text h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 15px;
}

.features-card .text p {
  font-size: 12px;
}

.phone {
  font-family: 'Open Sans';
  color: #282528;
}

.phone .subtitle {
  font-size: 15px;
  line-height: 30px;
  text-align: center;
  padding: 0 100px;
  margin-bottom: 70px;
}

.phone .phone-card {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding: 15px;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
          align-items: flex-start;
  margin-top: 50px;
}

.phone .phone-card:hover {
  background: #fefce9;
}

.phone-text {
  margin-left: 40px;
}

.phone-text h3 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 700;
}

.phone-text p {
  font-size: 13px;
}

.phone .iphone {
  width: 100%;
}

.works {
  padding: 0;
  font-family: 'Lato';
  color: #062033;
}

.works .subtitle {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  width: 710px;
  margin: 0 auto 70px;
  line-height: 18px;
}

.works .buttons {
  text-align: center;
  margin-bottom: 70px;
}

.works .buttons .btn {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  color: #062033;
  padding: 10px 21px 9px 18px;
  -webkit-border-radius: 6px;
          border-radius: 6px;
  cursor: pointer;
}

.works .buttons .btn.active {
  background: #4c76ff;
  color: #fff;
}

.works .photos {
  width: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.works .photos .all {
  width: 25%;
  height: auto;
  position: relative;
}

.works .photos .all .work-img {
  width: 100%;
  height: 100%;
}

.works .photos .all div {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #4c76ffa9;
  top: 0;
  left: 0;
  display: none;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.works .photos .all:hover div {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.team .subtitle {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  width: 710px;
  margin: 0 auto 70px;
  line-height: 18px;
  font-family: 'Lato';
}

.team .team-card {
  position: relative;
}

.team .team-card img {
  width: 100%;
  height: auto;
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
}

.team .team-card .card-hover {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
  left: 0;
  background: #4c76ffa9;
  color: #fff;
  font-family: 'Open Sans';
  padding: 20px;
  text-align: center;
  opacity: 0;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.team .team-card .card-hover h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.team .team-card .card-hover p {
  font-size: 16px;
  margin-bottom: 40px;
}

.team .team-card .card-hover a {
  width: 35px;
  height: 35px;
  display: inline-block;
  background: #3653ae;
  color: #fff;
  line-height: 35px;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
}

.team .team-card .card-hover a:hover {
  background: #fff;
  color: #3653ae;
}

.team .team-card:hover .card-hover {
  opacity: 1;
}

.facts {
  background: url('../img/f_bg.jpg') no-repeat center center;
  -webkit-background-size: cover;
          background-size: cover;
  color: #fff;
  font-family: 'Open Sans';
}

.facts .heart .fa {
  opacity: 1;
  color: #fff;
}

.facts .heart span {
  background: #fff;
}

.facts .number {
  display: block;
  font-size: 45px;
  font-weight: 700;
  margin-top: 20px;
}

.facts p {
  font-size: 14px;
  text-transform: uppercase;
}

.contacts {
  font-family: 'Open Sans';
}

.contacts .subtitle {
  text-align: center;
  font-size: 18px;
  font-weight: 300;
  width: 710px;
  margin: 0 auto 70px;
  line-height: 18px;
  font-family: 'Lato';
}

.contacts h4 {
  font-size: 18px;
  color: #062033;
  font-weight: 600;
  margin-bottom: 35px;
}

.contacts ul {
  list-style: none;
  font-size: 11px;
  color: #6a737b;
  line-height: 20px;
}

.contacts h3 {
  font-size: 20px;
  font-weight: 700;
  color: #062033;
  margin-bottom: 25px;
}

.contacts form {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  position: relative;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding-bottom: 46px;
}

.contacts form input {
  width: 46%;
  border: none;
  outline: none;
  font-size: 11px;
  border-bottom: 2px solid #cfd1d4;
  padding: 17px 0;
}

.contacts form input::-webkit-input-placeholder {
  color: #bfc0c2;
}

.contacts form input::-moz-placeholder {
  color: #bfc0c2;
}

.contacts form input::-ms-input-placeholder {
  color: #bfc0c2;
}

.contacts form input::placeholder {
  color: #bfc0c2;
}

.contacts form textarea {
  border: none;
  outline: none;
  width: 100%;
  display: block;
  font-size: 11px;
  resize: none;
  border-bottom: 2px solid #cfd1d4;
  margin-top: 25px;
}

.contacts form textarea::-webkit-input-placeholder {
  color: #bfc0c2;
}

.contacts form textarea::-moz-placeholder {
  color: #bfc0c2;
}

.contacts form textarea::-ms-input-placeholder {
  color: #bfc0c2;
}

.contacts form textarea::placeholder {
  color: #bfc0c2;
}

.contacts form button {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 13.3px;
  color: #000;
}

.contacts form button .fa {
  color: #4c76ff;
  font-size: 16px;
}

.contacts .link {
  display: block;
  margin: 8px auto;
  font-size: 20px;
  color: #bfc0c2;
}

@media (max-width: 1199.98px) {
  .phone .phone-card {
    margin-top: 10px;
  }

  .team .team-card .card-hover {
    padding: 18px;
  }

  .team .team-card .card-hover h3 {
    font-size: 14px;
  }

  .team .team-card .card-hover h3 {
    margin-bottom: 10px;
  }

  .team .team-card .card-hover p {
    font-size: 14px;
  }

  .team .team-card .card-hover p {
    margin-bottom: 19px;
  }
}

@media (max-width: 991.98px) {
  .lg-5 {
    margin-top: 50px;
  }

  .phone .iphone {
    display: none;
  }

  .phone .col-xl-4:first-child,
  .phone .col-xl-4:last-child {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  .works .photos .all {
    width: 33.3%;
  }

  .team .team-card {
    margin-bottom: 30px;
  }

  .team .team-card .card-hover {
    padding: 25px;
  }

  .team .team-card .card-hover h3 {
    margin-bottom: 50px;
  }

  .team .team-card .card-hover h3 {
    margin-top: 35px;
  }

  .team .team-card .card-hover p {
    margin-bottom: 70px;
  }

  .team .team-card .card-hover a {
    margin-bottom: 33px;
  }

  .contacts h4 {
    text-align: center;
  }

  .contacts ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 25px;
  }

  .contacts .link {
    display: inline-block;
    margin: 0 8px;
  }
}

@media (max-width: 767.98px) {
  .md-5 {
    margin-top: 50px;
  }

  .header-menu {
    padding: 10px 0;
  }

  .header .navbar {
    position: absolute;
    top: -150px;
    width: 100%;
    background: rgba(16, 22, 54, 0.4);
    left: 0;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
        -ms-flex-pack: center;
            justify-content: center;
  }

  .header .burger {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  .header h1 {
    margin-top: 150px;
  }

  .phone .subtitle {
    padding: 0 10px;
  }

  .phone .col-xl-4:first-child,
  .phone .col-xl-4:last-child {
    display: block;
  }

  .works .subtitle {
    width: 100%;
  }

  .works .photos .all {
    width: 50%;
  }

  .team .subtitle {
    width: 100%;
  }

  .team .team-card .card-hover {
    padding: 20px;
  }

  .team .team-card .card-hover h3 {
    margin-top: 10px;
  }

  .team .team-card .card-hover h3 {
    margin-bottom: 10px;
  }

  .team .team-card .card-hover p {
    margin-bottom: 40px;
  }

  .team .team-card .card-hover a {
    margin-bottom: 19px;
  }

  .contacts .subtitle {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .sm-5 {
    margin-top: 50px;
  }

  .header .navbar .nav-item:not(:first-child) {
    margin-left: 10px;
  }

  .header p::before {
    margin-right: 10px;
  }

  .header p::after {
    margin-left: 10px;
  }

  .phone .subtitle {
    text-align: justify;
  }

  .works .photos .all {
    width: 100%;
  }

  .team .team-card {
    width: 290px;
    height: 387px;
    margin: 0 auto 30px;
  }

  .team .team-card .card-hover {
    padding: 25px;
  }

  .team .team-card .card-hover h3 {
    margin-bottom: 40px;
  }

  .team .team-card .card-hover p {
    margin-bottom: 54px;
  }

  .contacts form button {
    right: 50%;
    -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
            transform: translateX(50%);
  }

  .contacts .link {
    margin-top: 20px;
  }

  .contacts .col-lg-1 {
    text-align: center;
  }
}