/****COLORS*****

   black: #1A1A1A
   orange: #e64a19
   yellow: #FADF4D
   yellow-pale: rgba(241, 206, 118, 1)
   gray: rgba(207, 207, 207, 1)
   dark-blue: #176282
   speed-gray: #cfcfcf
   comfort-gray: #ededed
   economy-green: #4bd1a0
   white: #fff
   services-gray: #F5F5F5


***************/

/* BASE STYLES START */

html, body {
  font-family: 'Montserrat', sans-serif;
}
h1 {
  font-size: 26px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 26px;
}

h4 {
  font-size: 19px;
}
p {
  font-size: 17px;
}
.regular {
  font-weight: 400;
}
.medium {
  font-weight: 500;
}
.semi-bold {
  font-weight: 600;
}

a, a:link, a:hover, a:active, a:visited {
  color: inherit;
  text-decoration: none;
}
.button,
button {
  background-color: rgba(241, 206, 118, 1);
  border-radius: 3px;
  border: none;
  color: #1a1a1a;
  font-size: 17px;
  padding: .85rem 1.5rem;
  transition: 0.2s ease-in-out;
}
.button:hover,
button:hover,
.button:active,
button:active {
  background-color: #FADF4D !important;
}
.button.disabled,
button.disabled {
    background-color: #bbb !important;
}

/* BASE STYLES END */

/* HEADER STYLES START */

header {
  box-shadow: 0 3px 6px rgba(0,0,0,.25);
  height: 56px;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 100px 1fr 100px;
  grid-template-rows: 56px;
  justify-items: center;
  position: relative;
}
header > * {
  display: flex;
  height: 100%;
}
#logo {
  height: 80%;
  margin-top: 10px;
}
#logo > * {
  height: 80%;
}
header #title {
  font-size: 22px;
  font-weight: 600;
  justify-content: center;
  align-items: center;
  margin: 0 2rem;
  margin-left: 1rem;
}

nav {
  background-color: rgba(255,255,255, .97);
  box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
  flex-direction: column;
  height: 100%;
  margin-right: 2rem;
  padding:1rem;
  position: fixed;
  top: 0;
  left: -70%;
  visibility: hidden;
  transition: .2s ease-in-out;
  width: 70%;
  z-index: 200;
}
nav > a.nav-item {
  padding: 1rem;
  font-size: 22px;
}
nav.open {
  visibility: visible;
  opacity: 1;
  left: 0;
}
nav .title {
  font-size: 22px;
  font-weight: 600;
  padding: 1rem;
}
.mobile-menu-icon {
  align-items: center;
  order: 300;
  font-size: 36px;
  color: #333;
  justify-self: flex-end;
}
header .social-icons {
  display: none;
  order: 500;
  height: 40px;
}
.social-icons > a {
  color: #1a1a1a;
  font-size: 28px;
  margin: 0 .3rem;
  width: 30px;
  height: 30px;
}
header .social-icons a:hover {
    color: #176282;
}
.social-icons .viber-icon {
  position: relative;
  top:1px;
}
.social-icons .telegram-icon {
  position: relative;
  left: 1px;
}



/* HEADER STYLES END */


/* FIRST SECTION  START */

#section-first {
  background-color: rgba(237, 237, 237, 0.6);
  background-size: cover;
  background-position: top left;
  box-sizing: border-box;
  height: 560px;
  padding: 1.5rem;
}
.no-js #section-first {
  background-image: url('../img/background-cropped.png');
}
h1 ul {
  margin: 1rem 1.5rem;
  text-align: left;
}
h1 ul li {
  font-size: 1.2em;
  margin-bottom: .5rem;
}
h1 ul li > i,
h1 ul li > .fas {
    margin-right: .5rem;
    color: rgba(241, 206, 118, 1);
}
#tel-main {
  display: block;
  font-size: 26px;
  margin: 1rem 0;
}
#first-section-container {
  align-items: flex-start;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  height: 100%;
  max-width: 850px;
  margin: 0 auto;
}
#first-section-container > div {
  text-align: center;
}
#main-action {
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
  display: block;
  margin: .25rem auto 0;

}

/* FIRST SECTION  END */

/* ABOUT SECTION  START */

#section-about {
  padding: 1rem 1rem 2.5rem 1rem;
}
#section-about p {
  line-height: 1.35;
}

/* ABOUT SECTION  END */

/* BENEFITS SECTION START */

#section-benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
}
.benefits-item {
  align-items: center;
  padding: 2rem 1rem;
  flex-flow: column nowrap;
  display: flex;
  justify-content: flex-start;
}
.benefits-item-icon {
  margin-bottom: 1.75rem;
}
.benefits-item-icon > img {
  height: 100%;
  width: 100%;
  max-height: 70px;
  max-width: 70px;
}
.benefits-item-description {
  margin-top: 1.5rem;
  /* max-width: */
}

/* BENEFITS SECTION  END */

/* SERVICES SECTION  START */

#section-services {
  padding: 1rem;
}
#services-container {
  align-items: stretch;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
}
.card {
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
  border-radius: 2px;
  display: flex;
  flex-flow: column nowrap;
  margin: 0 0 2rem;
  max-width: 380px;
  box-sizing: content-box;
}
.card-head {
  background-color: #eee;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  color: #fff;
  font-size: 72px;
  height: 128px;
  width: 100%;
}
.card-body {
  align-items: flex-start;
  display: flex;
  flex-flow: column nowrap;
  padding: 1rem;
  justify-content: space-between;
  flex-grow: 1;
}
.services-item-name {
  margin-bottom: 1rem;
}
.service-details li {
  align-items: center;
  display: flex;
  margin-bottom: .5rem;
}
.service-details li .icon {
  margin-right: 5px;
  font-size: 34px;
  color: #444;
}
.button.order {
  align-self: stretch;
  background: linear-gradient(90deg, #FADF4D, rgba(241, 206, 118, .7));
  display: block;
  margin-top: 1.5rem;
  transition: .3s ease-in-out;
}

/* SERVICES SECTION  END */

/* REVIEWS SECTION  START */

#section-reviews {
  padding: 1rem;
}
#reviews-container {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
}
.reviews-item {
  flex-flow: row nowrap;
  box-sizing: content-box;
  margin: .5rem;
}
.reviews-item-photo {
  align-items: center;
  border-radius: 50%;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  overflow: hidden;
  width: 70px;
  height: 70px;
  margin-bottom: 2rem;
  margin-right: 1.5rem;
}
.reviews-item-photo > * {
  width: 100%;

}
.reviews-item-photo picture img {
  width: 100%;
  /* max-width: 180px; */
}
.reviews-item-name {
  margin-bottom: .5rem;
}
.reviews-item-description {
  font-size: 14px;
  margin-bottom: 1rem;
  max-width: 450px;
  text-align: left;
}

/* REVIEWS SECTION  END */

/* LEAVEREVIEW SECTION  START */

#section-leave-review {
  background: linear-gradient(90deg, #FADF4D, rgba(241, 206, 118, .7)); /* DEPTH */
  padding: 1rem 1rem;
  letter-spacing: 0.05em;
}
#section-leave-review h3 {
  font-size: 24px;
  max-width: 800px;
  margin: 0 auto 1rem;
}

/* LEAVEREVIEW SECTION  END */

/* CONTACT SECTION  START */

#section-contact {
  padding: 1rem 1rem 3rem;
}
#section-contact > h2 {
  margin-bottom: 2rem;
}
#section-contact > p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 2rem;

}
#contacts-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding: 2rem;
  letter-spacing: 0.05em;
}
#contacts-container .social-icons > * {
  margin: 0 .8rem;
  width: 48px;
  height: 48px;
  font-size: 40px;
}
#section-contact .social-icons a {
  color: #fff;
}
#call-me-btn {
  box-shadow: 0 2px 5px rgba(0,0,0,0.24);
  font-size: 1.2em;
  text-transform: uppercase;
  width: auto;
  padding: .6rem 1rem;
  margin: 2rem auto 2rem;
  display: block;
}
#call-me-btn:active {
  box-shadow: 0 4px 10px rgba(0,0,0,0.24) !important;
}
#call-me-btn i {
  transform: scaleX(-1);
  margin-right: .5rem;
}
.modal {
  border-radius: 3px;
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, .14), 0 1px 18px 0 rgba(0, 0, 0, .12), 0 3px 5px -1px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
  position: fixed;
  width: 98%;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50px);
  transition: .3s ease-in-out;
  opacity: 0;
  visibility: hidden;
  z-index: 200;
}
.modal.visible {
  transform: translate(-50%, 0);

}
.modal > * {
  padding: 1rem;
}
.modal-head {
  align-items: center;
  background-color: rgba(243, 243, 243, 1);
  background-color: rgba(241, 206, 118, 1);
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  color: #333;
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  padding: .7rem 1rem;
}
.modal-head h4 {
  text-align: left;
  font-weight: 500;

}
.modal-head i {
  cursor: pointer;
  font-size: 22px;
}
.modal-body {
  background-color: rgba(243, 243, 243, 1);;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  height: 100%;
  color: #333;

}


.contacts-item {
  margin: 0 0 2rem;
  width: 250px;
}
.contacts-item a:hover,
.contacts-item a:active {
  color: inherit;
}
.contacts-item-name {
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.5);
}
#contact-form input,
#contact-form textarea {
  font-size: 19px;
}
#contact-form h4 {
  margin-bottom: 1rem;
}
#contact-form .field {
  margin-bottom: 1rem;
}
#contact-form input {
  background-color: #fff;
  box-sizing: border-box;
  border: none;
  color: #333;
  border-radius: 3px;
  width: 100%;
  padding: .3rem;
  padding-left: .5rem;
}

#label-list {
  height: 24px;
  overflow: hidden;

}
#label-list > ul {
  transition: .25s ease-in-out;
}
#contact-form.name-field-active ul {
  transform: translateY(0)
}
#contact-form.email-field-active ul {
  transform: translateY(-50%)
}
#contact-form label {
  display: block;
  margin-bottom: .3rem;
}
.field-group {
  position: relative;
  margin-bottom: 1rem;
  height: 48px;
}
.first #name-field {
  display: block;
}
.second #email-field {
  display: block;
}
.third #message-field {
  display: block;
}
.field-group .field-icon {
  align-items: center;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  display: flex;
  justify-content: center;
  width: 48px;

}
.field-group .arrow-right {
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 20px;
  position: absolute;
  right: 0;
  height: 100%;
  width: 30px;
  top:0;
}
.field-group.invalid .field-icon {
  background-color: #ef5350;
}
.textarea {
  display: flex;
  position: relative;
  margin-bottom: 1rem;
}

#contact-form textarea {
  background-color: #004766;
  border: 0;
  border-radius: 2px;
  resize: none;
  overflow-x: hidden;
  overflow-y: scroll;
  padding: .5rem;
  min-height: 72px;
  width: 100%;
}
#contact-form button {
  display: block;
  text-transform: uppercase;
  padding: .5rem 1rem;
  margin-left: auto;
}

.footnotes {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    text-align: left;
    padding: 1rem 1rem 0;
}
.footnotes li {
    font-size: 12px;
    /*color: #bbb;*/
    color: rgba(255,255,255,0.5);
}

/* CONTACT SECTION  END */

footer {
  /*color: rgba(243, 243, 243, 1);*/
  color: #333;
  font-size: 12px;
  padding: 1rem;
}


/* ELEMENTS */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hamburger > div {
  border-radius: 1px;
  width: 30px;
  height: 4px;
  background-color: #333;
  margin: 3px 0;
}

/* POSITIONING and VISIBILITY */

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

.section-name {
  margin-bottom: 2rem;
}

.overlay {
  background-color: rgba(0,0,0,.5);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  visibility: hidden;
  opacity: 0;
  transition: .2s ease-in-out;
  z-index: 100;
}
.visible {
  visibility: visible !important;
  opacity: 1 !important;
}

.no-scroll {
  overflow:hidden;
}
