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


.hero_img {
  width: 100%;
  object-fit: cover;
}

.hero_container {
  position: relative;
}

/*class for removing the default button style*/
.btn {
  border:none;
}

.btn a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.1rem;
}


/* this class for styling hero section button*/
.hero_cta {
  position: absolute;
  bottom: 10%;
  left: 30%;
  background-color: #09529d;
  z-index: 100;
  border-radius: 5px;
  padding: 10px 30px;
}

/*  About Section*/
#about {
  margin-top: 2rem;
  /*background-image: url('/img/unity Conserve  logo-32x32.png') ;*/
  /*background-repeat: no-repeat;*/
  /*background-position: center;*/
  padding: .8rem;
  text-align: justify;
}

#about h2 {
  margin-bottom: 1.3rem;
  color: #09529d;
}


/* Projects Section*/

.cards-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

#projects h2 {
  margin-top: 2rem;
  margin-bottom: 1.3rem;
  color: #09529d;
  padding: .8rem;
}

.card {
  display: flex;
  flex-direction: column;
  width: 90%;
  height: 280px;
  padding: 10px;
}

.card-image-container {
  max-width: 400px;
  height: 64%;
  border-radius: 5px;
  margin-bottom: 12px;
  overflow: hidden;
  background-color: rgb(165, 165, 165);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-title {
  font-weight: 600;

}


/* Services Section*/
#services {
  margin-top: 2rem;
  padding: .8rem;
}

.services-card-container {
  background-color: #e8e8e8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.ser-card {
  width: 300px;
  height: auto;
  display: flex;
  flex-direction: column;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  padding: 30px;
  border: 2px solid transparent;
  background-color: #ffffff;
  gap: .7rem;
  margin-bottom: 1rem;
}

#services h2 {
  margin-bottom: 1.3rem;
  color: #09529d;
}

.ser-img {
  width: 70px;
  height: 70px;
}

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



/* Footer */
 #contact{
   display: flex;
   overflow: hidden;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   padding: .8rem;
   background-image: url('/static/images/projects+bg/footer-800-bg.jpg');
}

 #contact h2 {
   color: #ffffff;
 }


.contact-icons-container {
  max-width: 350px;
  background-color: #ffffff;
  color: #09529d;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  padding: 5px 15px;
  border-radius: 15px;
  margin-bottom: 1rem;
}
.footer-icon {
   width: 30px;
   height: 30px;
   margin-right: auto;
 }

/*adding a font to the whole document*/

section, nav, button {
  font-family: 'Tajawal', sans-serif;
}


/* Media Queries */

@media screen and (min-width:700px) {
  .cards-container, .services-card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hero_cta {
    left: 50%;
    padding: 15px 50px;
  }
}


@media screen and (min-width:1000px) {
 .services-card-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
