@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-color: #fff;
  color: #333;
  line-height: 1.5em;
  text-align: justify;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #333;
}
h1,
h2 {
  font-weight: 300;
  line-height: 1.2em;
}
p {
  margin: 10px 0;
}
img {
  width: 100%;
}
/* navbar */
.navbar {
  display: flex;
  /* align items aligns on the cross axis */
  align-items: center;
  /* justify content works on the main axis (horizontal) */
  justify-content: space-between;
  background-color: #333;
  color: white;
  opacity: 0.9;
  width: 100%;
  height: 59px;
  position: fixed;
  top: 0px;
  padding: 0 30px;
  transition: 0.5s;
}

.navbar.top {
  background: #333;
}

.navbar a {
  color: #fff;
  padding: 10px 20px;
  margin: 0 5px;
}
.navbar ul {
  display: flex;
}
.navbar a:hover {
  border-bottom: 2px #28a745 solid;
}
.navbar ul li a.current {
  background: #28a745;
  color: white;
}
.navbar h1 {
  font-weight: 400;
}
.navbar h2 {
  font-weight: 450px;
}
/* header */
.hero {
  background: url("../img/grass1.jpegg") no-repeat center center/cover;
  height: 100vh;
  position: relative;
  color: #fff;
}
.about-hero {
  height: 8vh;
  color: #fff;
}

.hero .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* we add the height to enable the align items work by making it 100% of its container (header) */
  height: 100%;
  padding: 0 20px;
}
.hero .content h1 {
  font-size: 55px;
  font-weight: 500;
  color: antiquewhite;
  background: transparent;
  font-weight: bold;
  padding: 1.5rem;
  border-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.content a {
  cursor: pointer;
  display: inline-block;
  padding: 10px 30px;
  color: #fff;
  background-color: #333;
  border: none;
  border-radius: 5px;
}
.content a:hover {
  color: greenyellow;
}

.logo .text-primary {
  font-weight: bold;
}
.hero .content p {
  font-size: 23px;
  font-weight: bold;
  font-size: 30px;
  border-radius: 10px;
  padding: 10px;
  line-height: 1.3;
  max-width: 900px;
  margin: 20px 0 30px;
}
/* we create a dark overlay over the header image */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #28a475;
  opacity: 0.3;
}
.hero * {
  z-index: 10;
}
.hero.blog {
  background: url("../image_resources/home/blog.jpg") no-repeat center
    center/cover;
  height: 40vh;
}
/* icons */
.icons {
  padding: 30px;
}
.icons h3 {
  font-weight: bold;
  margin-bottom: 15px;
}
.icons i {
  background-color: #28a745;
  color: #fff;
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: 15px;
}
.cases img:hover {
  opacity: 0.7;
}
.team img {
  border-radius: 80%;
}
/* callback form */
.call-back {
  width: 100%;
  padding: 20px 0;
}
.call-back label {
  display: block;
  margin-bottom: 5px;
}
.call-back .form-control {
  margin-bottom: 15px;
}
.call-back input {
  width: 90%;
  padding: 4px;
  height: 40px;
  border: solid 1px lightgrey;
  border-radius: 5px;
}
.call-back .btn {
  margin-top: 15px;
  padding: 12px 0;
  background-color: #333;
}
.call-back input:focus {
  outline-color: #28a745;
}
/* post */
.post {
  padding: 50px 30px;
}
.post h2 {
  font-size: 40px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: #ccc solid 1px;
}
.post .meta {
  margin-bottom: 30px;
}
.post img {
  width: 300px;
  border-radius: 50%;
  /* display: block; */
  /* marging top 0 letf and right auto bottom 30px */
  margin: 0 auto 30px;
  float: left;
  padding-right: 10px;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100px;
}
.footer a {
  color: #fff;
}
.footer a:hover {
  color: #28a745;
}
.footer .social > * {
  /* margin-right: 30px; */
  padding: 1rem 2rem;
}
.footer p {
  font-size: 0.9rem;
  font-family: Arial, Helvetica, sans-serif;
  color: #999;
}

.solutions.mine .row .column {
  max-height: unset;
}
.solutions .column .column2 h4 {
  color: #333;
  font-size: 20px;
  margin: auto;
}
.solutions .column .column2 h2 {
  color: #ccc;
}
.sec {
  color: #ccc;
  font-weight: bold;
  font-size: 1rem;
}

#home-add .add-container img {
  width: 150px;
}
#home-add .home-add-img img {
  width: 300px;
  height: 250px;
}

#home-add .add-container h1,
#home-add .add-container h2,
#home-add .add-container h3 {
  font-size: 1.5rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: #28a745;
  background: #444;
  border-radius: 5px;
  width: 350px;
}
#home-add .add-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  /* padding: 2rem 1rem !important; */
  margin: 1rem 0;
  padding: 1.2rem 1.3rem;
  font-size: 13px;
}

#home-add .home-add-img.second p {
  color: #fff;
  font-size: 1.1rem;
}
#home-add .home-add-img.second .effect {
  font-size: 1.5rem;
  color: #28a745;
}
#home-add .add-container > *:first-child h2 {
  color: #28a745;
  font-size: 1.5rem;
}

#cases .section-header h2 {
  font-size: 2.5rem;
  color: #333;
  font-weight: bold;
}
#cases .section-header p {
  color: #28a745;
  font-size: 1.3rem;
  font-style: italic;
}
#cases .row .column img {
  width: 100%;
}

.container {
  max-width: 1100px;
  margin: auto;
}

/* #about-cont .container {
       max-width: 1200px;
       margin: auto;
      
   } */

#about-cont .image1 {
  background: url("../img/contact2.jpg") no-repeat center center/cover;
  height: 70vh;
  margin-top: 9px;
}
#about-cont .image1 h1 {
  font-size: 4rem;
  color: #444;
  font-weight: bold;
  position: relative;
  top: 250px;
  left: 80px;
}
#about-cont .about-h1 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-top: 15px;
  color: rgb(112, 223, 112);
  background: #555;
  border-radius: 10px;
}
#about-cont .container1 {
  display: grid;
  grid-template-columns: 6fr 3fr;
  grid-gap: 1rem;
  margin-top: 5px;
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  text-align: justify;
  padding: 0.4rem 0.6rem;
}
#about-cont .container1 h1,
#about-cont .container1 h2,
#about-cont .container1 h3 {
  font-size: 1.5rem;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  color: rgb(60, 212, 60);
}
#about-cont .container1 p {
  color: #333;
}
#about-cont .container1 .grid-item2 img {
  margin-bottom: 1.5rem;
}
#about-cont .container1 .grid-item2 p {
  color: whitesmoke;
  background-color: rgb(40, 141, 48);
  padding: 1.5rem 1rem;
}
.name-info {
  color: #444;
  font-size: 1.1rem;
}

/* mobile */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: 120px;
    padding: 20px;
  }
  .navbar a {
    padding: 10px 10px;
    margin: 0 3px;
  }
  .navbar h2 {
    display: none;
  }
  .flex-items {
    flex-direction: column;
  }

  .flex-columns .row {
    flex-direction: column;
  }

  .flex-columns .column {
    flex: 100%;
    max-width: 100%;
  }
  .flex-grid .column {
    flex: 50%;
    max-width: 50%;
    padding: 0 2px;
  }
  .team img {
    width: 80%;
  }
  #home-add .add-container {
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
  }

  #home-add .add-container h1,
  #home-add .add-container h2,
  #home-add .add-container h3 {
    background: none;
    margin: auto;
  }
  #about-cont .image1 {
    height: 90vh;
  }
  #about-cont .image1 h1 {
    display: none;
  }
  #about-cont .container1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (min-width: 730px) and (max-width: 1100px) {
  .navbar {
    flex-direction: column;
    height: 120px;
    padding: 20px;
  }
  .navbar a {
    padding: 10px 10px;
    margin: auto;
  }
  .navbar h2 {
    display: none;
  }
  .navbar h1 {
    margin-bottom: 10px;
  }
  #home-add .add-container {
    grid-template-columns: 1fr;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: none;
  }
  #home-add .add-container h1,
  #home-add .add-container h2,
  #home-add .add-container h3 {
    background: none;
    margin: auto;
  }
  .hero .content h1 {
    font-size: 2rem;
    position: relative;
    top: 60px;
  }
  .hero .content p {
    font-size: 1.5rem;
    position: relative;
    top: 35px;
  }
  .hero .content a {
    position: relative;
    top: 25px;
  }
  .flex-columns .row {
    flex-direction: column;
  }

  .flex-columns .column {
    flex: 100%;
    max-width: 100%;
  }
  #about-cont .image1 {
    height: 100vh;
  }
  #about-cont .image1 h1 {
    display: none;
  }
  #about-cont .container1 {
    display: grid;
    grid-template-columns: 5fr 3fr;
  }
}
@media (min-width: 500px) and (max-width: 850px) {
  #about-cont .image1 {
    margin-top: 81px;
  }
}

@media (max-width: 670px) {
  .flex-items {
    flex-direction: column;
  }
  .solutions {
    margin: 1rem 0;
    padding: 1rem 0;
  }
  .solutions.mine .row .column {
    max-height: none;
  }
  .hero .content h1 {
    font-size: 1.5rem;
    position: relative;
    top: 60px;
  }
  .hero .content p {
    font-size: 1rem;
    position: relative;
    top: 35px;
  }
  .hero .content a {
    position: relative;
    top: 25px;
  }
  .footer .social {
    padding-top: 1rem;
  }
}
/* @media(max-width: 320px){
    #home .content h1 {
        display: none;
    }
    * {
        margin-right: 0;
    }
} */
