@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  background: #fff;
  color: #0f1f26;
  line-height: 1.6;
}
html,
body {
  max-width: 100%;
  overflow-x: hidden;
  background-color: #eff7fa;
}
ul {
  list-style: none;
}

a {
  color: #0f1f26;
  text-decoration: none;
}

h1 {
  font-weight: 300;
  line-height: 1.2;
}
h4 {
  color: #fff;
}
p {
  margin: 10px;
}

img {
  width: 100%;
}
/* Navbar */
.btn-tel-mobile,
.menu-icon-mobile {
  display: none;
}
#toggle{
  display: none;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #091216;
  color: #fff;
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0px;
  padding: 0 30px;
  border-bottom: 1px solid black;
}
.navbar.top {
  background-color: rgb(0, 0, 0, 0.5);
}
.navbar a {
  padding: 10px 20px;
  font-size: 20px;
  color: #fff;
}

.navbar a:hover {
  color: #119ed6;
}
.navbar ul {
  display: flex;
}
.navbar .logo {
  display: inline;
  /* width: fit-content; */
}
.navbar .logo .logo-a {
  font-size: 40px;
  font-weight: 300;
  margin-left: 5%;
}

.navbar .logo-a:hover {
  color: #fff;
}
.navbar #menu-items {
  margin-left: auto;
  padding-right: 2%;
}
/* Header */
.first-impression {
  /* top: 70px; */
  background: url("../img/village.jpg") no-repeat center center/cover;
  height: 100vh;
  position: relative;
  color: #fff;
}

.first-impression .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 20px;
}
.first-impression .content h1 {
  font-size: 55px;
  font-weight: 300;
}

.first-impression .content p {
  font-size: 22px;
  max-width: 700px;
  text-align: center;
  margin: 20px 0 30px 0;
}

/* overlay */
.first-impression::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0, 0.6);
}
.first-impression * {
  z-index: 1;
}
.first-impression.blog {
  background: url("../img/main-for-blog.jpg") no-repeat center center/cover;
  height: 40vh;
}
.first-impression.blog .content h2 {
  margin-top: 55px;
}

.content h2 {
  font-size: 40px;
  font-weight: 300;
}

.navbar {
  z-index: 10;
}

/* About Icons */

.about-h2 {
  padding-top: 40px;
  padding-bottom: 30px;
  text-align: center;
  font-weight: 300;
  font-size: 48px;
  letter-spacing: 1rem;
}
.about-items {
  max-width: 20%;
  padding: 10px;
}
.about-icons {
  width: 60px;
}
.icons {
  padding: 30px;
}
.icons h3 {
  font-weight: bold;
  margin-bottom: 15px;
}
.icons img {
  margin-bottom: 15px;
}
.wheelbarrow-icon {
  width: 75px;
}
main {
  background: #eff7fa;
}
.column a {
  margin-left: auto;
  margin-right: auto;
}

/*  About Solutions */
span.water {
  color: #28a7da;
}
span.red {
  color: #ff0000;
}
.about-header {
  margin-bottom: 35px;
}
.about-p {
  margin: 0;
  margin-bottom: 35px;
}
/* Section header */
.section-header {
  padding: 40px;
  text-align: center;
  font-weight: 300;
  font-size: 48px;
  letter-spacing: 1rem;
}

/* Cases */
.cases img:hover {
  opacity: 0.8;
}

.flex-grid .row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

.flex-grid .column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.parallax {
  /* The image used */
  background-image: url("../img/fountain.jpg");
  position: relative;
  /* Set a specific height */
  height: auto;

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parallax::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;

  background: rgb(0, 5, 0, 0.7);
}

.contact {
  z-index: 5;
}

.contact .column-1 {
  z-index: 3;
}
.column {
  z-index: 3;
}
.contact-h3 {
  font-size: 35px;
  font-weight: 400;
  color: #fff;
  margin: 50px;
}

.contact-form-h3 {
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin: 20px 0;
}
/* Callback form */
.callback-form {
  display: flex;
  flex-direction: column;
  width: 60%;
  border: 1px solid #c2c2c2;
  border-radius: 10px;
  background: rgb(0, 0, 0, 0.3);
  z-index: 3;
}
.callback-form label {
  position: absolute;
  width: 100%;
  height: 100%;
  margin: auto;
  color: #28a7da;
  bottom: 0px;
  border-bottom: 1px solid #28a7da;
}
.callback-form label::after {
  content: "";
  position: absolute;
  left: 0px;
  bottom: -1px;
  width: 100%;
  height: 100%;
  border-bottom: 3px solid transparent;
  transform: translateX(-100%);
  transition: all 0.3s ease;
}
.content-name {
  position: absolute;
  bottom: 4px;
  left: 0px;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.callback-form .form-control {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 70%;
  margin: auto;
  margin-top: 30px;
}

.callback-form input:focus + .label-name .content-name,
.callback-form textarea:focus + .label-name .content-name,
.callback-form input:valid + .label-name .content-name,
.callback-form textarea:valid + .label-name .content-name {
  transform: translateY(-100%);
  font-size: 18px;
  color: #4d840e;
}

.callback-form input:focus + .label-name::after,
.form-input:valid + .label-name::after,
.callback-form textarea:focus + .label-name::after,
.form-input:valid + .label-name::after {
  transform: translateX(0%);
  border-bottom: 3px solid #4d840e;
}

.callback-form input,
.callback-form .form-align {
  padding-top: 26px;
  height: 50px;
  border: #0f1f26 1px solid;
  font-size: 16px;
  border: none;
  outline: none;
}

.callback-form input:focus {
  outline-color: #4d840e;
}

.form-input {
  background: transparent;
}

.callback-form .btn {
  padding: 12px;
  margin-top: 40px;
  width: 70%;
  margin: 40px auto;
}
input {
  color: white;
}

.final-words {
  position: relative;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  font-size: 25px;
  font-weight: 300;
  margin-top: 15px;
  z-index: 3;
}

/* Footer */
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: #0f1f26;
  color: #bfbfbf;
  padding-top: 90px;
  padding: 10px;
}


/* Solutions blog */

.blog-left-item {
  margin: 40px 0px 40px 40px;
  padding-right: 100px;
}
.blog-right-item {
  margin: 40px 0;
  padding-left: 100px;
  padding-right: 40px;
}

/* Success page */

.last-impression {
  background: url("../img/nature.jpg") no-repeat center center/cover;
  height: 100vh;
  position: relative;
  color: #fff;
}
.last-impression::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0, 0.6);
}
.last-impression-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 20px;
}

.l-heading {
  font-size: 48px;
  font-weight: 300;
  z-index: 5;
}
.lead {
  font-size: 36px;
  font-weight: 300;
  z-index: 5;
}
.return {
  color: #fff;
  z-index: 3;
}
.return:hover {
  color: #119ed6;
}

@media (max-width: 1278px) {
  .navbar .logo .logo-a {
    font-size: 36px;
    margin-left: 2%;
  }

  .flex-items {
    flex-direction: column;
  }
  .about-items {
    max-width: 70%;
    padding: 10px;
    margin: auto;
  }

  .flex-grid .column {
    flex: 100%;
    max-width: 33.3%;
  }
  .last-column-roofs {
    display: flex;
    flex-direction: row;
    padding: 10px;
  }
  .last-column-roofs img {
    max-width: 99%;
    margin: 0 4px;
  }
}

@media (max-width: 1160px) {
  #menu-items {
    padding-right: 0.5%;
  }
  .navbar {
    padding-left: 25px;
  }
  .navbar .logo .logo-a {
    font-size: 32px;
  }

  .contact-h3 {
    font-size: 28px;
  }
  .callback-form {
    width: 70%;
  }
}

@media (max-width: 1115px) {
  .navbar .logo .logo-a {
    margin-left: 0;
  }
  .navbar a {
    padding: 7px 15px;
    font-size: 18px;
  }
  .contact-h3 {
    font-size: 26px;
  }
  .contact-form-h3 {
    font-size: 21px;
  }
  .content-name {
    font-size: 17px;
  }
}

@media (max-width: 972px) {
  h2 {
    line-height: 1em;
  }
  .navbar {
    flex-direction: column;
    height: 100px;
    padding: 10px;
  }
  .navbar a {
    padding: 10px 20px;
    margin: 0 3px;
  }
  .navbar a.btn-tel {
    padding: 7px 15px;
  }
  
  .navbar #menu-items {
    margin-left: 0;
    margin-top: 7px;
    justify-content: center;
  }

  .flex-columns .column {
    flex: 100%;
    max-width: 100%;
  }
  .flex-columns .column.about-picture {
    flex: none;
    height: 350px;
    width: 100%;
  }
  .column-2.text-block {
    padding: 30px 90px;
    text-align: center;
  }
  .column-2.text-block .about-header {
    margin: 30px 0 35px 0;
    text-align: center;
  }
  .contact-h3 {
    font-size: 25px;
    margin-top: 100px;
    width: 65%;
    text-align: center;
  }
  .contact-form-h3 {
    font-size: 23px;
    margin-top: 90px;
    margin-bottom: 40px;
  }

  .callback-form {
    width: 45%;
    margin-bottom: 70px;
  }

  .blog-left-item,
  .blog-right-item {
    padding: 0;
    max-width: 80%;
    margin: 45px auto;
  }

  .about-header,
  .about-p {
    text-align: center;
  }
}
@media (max-width: 780px) {
 
  .navbar {
    height: 60px;
  }
  .tel-in-menu {
    display: none;
  }
  .btn-tel-mobile,
  .menu-icon-mobile {
    display: inline;
  }
  .menu-icon-mobile:hover{
    color:#28A7DA;
  }

  #mobile-menu {
    display: flex;
    height: 100%;
  }

  .navbar{
    display: flex;
    flex-direction: row;
    align-items: baseline;
    padding: auto 20px;
    width: 100%;
  }
  .logo {
    display: inline;
  }
  .menu-icon-mobile {
    margin: auto 25px auto 20px;
    align-self: flex-end;
  }
  .navbar .logo-a {
    margin-left: 25px;
    align-self: flex-start;
  }
  .navbar .btn-tel-mobile {
    margin: 0 5px auto auto;
    padding: 7px 15px;
    font-size: 18px;
  }
  
  .menu-icon-mobile {
    margin-right: 15px;
    align-self: flex-end;
  }
#toggle:checked + #menu-items {
display:block;
}
#toggle:checked + #menu-items+ul {
  display:block;
  }
  .navbar #menu-items {
    position: absolute;
    top: 55px;
  width: 100%; 
  left: 0;
  margin: 0;
  padding: 0;
  display: block;
  flex-direction: column;
  display: none;
  }
  #menu-items ul{
    
    display: flex;
    flex-direction: column;
    background: rgb(0,0,0,0.9);
  }
  #menu-items ul li{
   padding: 10px 20px;
   text-align: center;
   border-bottom: 1px #28A7DA dotted;
   
  }
  .about-items {
    max-width: 90%;
  }

  .flex-grid .column {
    flex: 100%;
    max-width: 50%;
  }
  .last-column-roofs {
    display: flex;
    flex-direction: column;
    max-width: 50%;
  }
  .last-column-roofs img {
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 8px;
  }

  .column-2.text-block {
    padding: 20px 60px;
  }
  .first-impression .content h1 {
    font-size: 45px;
    text-align: center;
  }
  .first-impression .content p {
    font-size: 20px;
    text-align: center;
  }

  .callback-form {
    width: 350px;
  }
  .final-words {
    font-size: 20px;
  }
}

@media (max-width: 556px) {
  .navbar .logo .logo-a {
    font-size: 27px;
    margin-top: auto;
  }
  .navbar .logo {
    font-size: 26px;
  }
  .navbar .btn-tel-mobile {
    padding: 6px 12px;
    font-size: 17px;
  }
  .menu-icon-mobile {
    font-size: 1.5rem;
  }
.navbar a{
font-size: 16px;
}


  .callback-form {
    width: 57%;
  }
  .callback-form .form-control {
    width: 80%;
    margin-top: 15px;
  }
  .callback-form input {
    font-size: 14px;
  }
  .content-name {
    font-size: 14px;
  }

  .callback-form input:focus + .label-name .content-name,
  .callback-form textarea:focus + .label-name .content-name,
  .callback-form input:valid + .label-name .content-name,
  .callback-form textarea:valid + .label-name .content-name {
    font-size: 12px;
  }

  /* Success */
  .l-heading{
    font-size: 25px;
  }
  .lead{
    font-size: 20px;
  }
}
@media (max-width: 534px) {
  .navbar {
    padding-left: 0;
  }
  .navbar .btn-tel-mobile {
    margin-left: auto;
    padding: 0;
    font-size: 15px;
  }
  .menu-icon-mobile {
    margin: auto 5px auto 10px;
  }
  .first-impression .content h1 {
    font-size: 38px;
    text-align: center;
  }
  .first-impression .content p {
    font-size: 18px;
    text-align: center;
  }

  .section-header {
    font-size: 36px;
  }
  .flex-columns .about-header {
    font-size: 35px;
  }

  .flex-grid .column {
    flex: 100%;
    max-width: 100%;
  }
  .contact-h3 {
    font-size: 21px;
  }
  .contact-form-h3 {
    font-size: 20px;
    text-align: center;
  }
  .final-words {
    flex-direction: column;
    align-items: center;
  }
  .final-words p {
    margin: 2px;
  }

  .first-impression .content h2 {
    font-size: 30px;
    text-align: center;
  }
}
@media (max-width: 455px) {
  .navbar .logo .logo-a {
    font-size: 20px;
    font-weight: 400;
  }

  .navbar .btn-tel-mobile {
    padding: 3px 6px;
    font-size: 15px;
  }
  .about-items {
    max-width: 100%;
    font-size: 14px;
  }
  .callback-form {
    width: 80%;
  }
  .final-words p {
    font-size: 16px;
  }
  .section-header {
    padding: 5px;
    font-size: 30px;
    letter-spacing: 5px;
  }
  .btn {
    padding: 6px 15px;
    font-size: 16px;
  }
  .footer p{
    font-size: 12px;
    line-height: 1;
  }
}
@media (max-width: 410px) {
  .navbar .logo .logo-a {
    font-size: 17px;
  }
  .navbar .btn-tel-mobile {
    margin: auto 3px auto auto;
    font-size: 13px;
  }
  .menu-icon-mobile {
    margin-right: 2px;
  }
  .navbar a{
    font-size: 14px;
  }
  .first-impression .content h1 {
    font-size: 34px;
  }
  .first-impression .content p {
    font-size: 16px;
  }
  .column-2.column-2.text-block{
    padding: 35px;
  }
  .column-2.text-block .about-header{
    font-size: 28px;
  }
  .column-2.text-block .about-p{
    font-size: 14px;
  }
  
}
@media (max-width: 367px) {
.navbar .logo .logo-a{
  font-size: 15px;
}
.navbar a.btn-tel{
  padding:7px 7px;
}
.navbar .btn-tel-mobile {
  font-size: 12px;
  margin-right: 0;
}
.menu-icon-mobile {
  font-size: 1.2rem;
  margin-right: 0;
}
.contact-h3{
  margin-top: 70px;
  font-size: 18px;
}
.contact-form-h3{
  margin-top: 70px;
  font-size: 18px;
}
}
@media (max-width: 319px) {
#mobile-menu{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.navbar{
  padding: 0px;display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.navbar .logo{
 max-width: 130px;
margin: 0;
line-height: 1;
align-self:flex-start;
flex: 2 0 30%;
}
#for-toggle {
  align-self: flex-end;
  max-width: 30px;
  margin-right: 10px; 
margin-left: auto;
 flex: 2 0 50%;
}


.navbar a.btn-tel{
  order:4;
  padding:3px 7px;
  text-align: center;
 margin: 1px 7px;
 flex: 1 0 50%;
}
.btn{
  font-size: 12px;
}

.first-impression .content h1{
  font-size: 29px;
}
.first-impression .content p{
  font-size: 15px;
}
.section-header{
  font-size: 25px;
}
.icons h3{
  font-size: 15px;
}
.about-items{
  font-size: 12px;
}
.callback-form{
  width: 100%;
}
.column-2.column-2.text-block{
  padding: 20px;
}
.column-2.column-2.text-block .about-header{
  font-size: 25px;
}
.column-2.column-2.text-block .about-p{
font-size: 12px;
}
.contact-h3{
  font-size: 15px;
}
.contact-form-h3{
  font-size: 15px;
}
.final-words p{
  font-size: 15px;
}
}
@media (max-width: 213px) {
  .menu-icon-mobile {
    margin-right: 0;
  }
}
@media (max-width: 187px) {
  #for-toggle {
  display: none;
  }
}