@import url("https://fonts.googleapis.com/css2?family=Cormorant Garamond:wght@400;500&family=Poppins:wght@200;300;400;600&display=swap");
:root {
  --dk_green: #2F404F;
  --green: #3894A1;
  --lt_green: #C7DAD3;
  --off_white: #F0F1EE;
  --charcoal: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  max-width: 1350px;
  font-family: "Poppins", sans-serif;
  color: var(--charcoal);
}

a {
  text-decoration: none;
}

li {
  list-style-type: none;
}

aside li::before,
main section#homepage_services li::before,
main section#clients li::before,
main section#client_guarantee li::before,
main div#services li::before,
main section#training li::before,
main section#ccma li::before {
  display: inline-block;
  margin-right: 15px;
  content: "\f111";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 0.3em;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  text-transform: uppercase;
  font-family: "Cormorant Garamond", serif;
}

h2 {
  margin-bottom: 5px;
  font-size: 3em;
  letter-spacing: 2px;
}

#wrapper {
  width: 100%;
}

.header_inner {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #000;
}

#logo {
  text-align: center;
}

#logo img {
  width: 100%;
  padding: 1%;
}

nav {
  width: 70%;
}

.nav_links {
  display: flex;
  justify-content: space-around;
  width: 100%;
  padding: 1%;
  position: relative;
  z-index: 10;
}

.nav_links li a {
  color: var(--off_white);
}

.nav_links li.active a {
  color: var(--lt_green);
}

.nav_links li a:hover {
  color: var(--lt_green);
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--off_white);
  margin: 5px;
  transition: all 0.3s ease;
}

/* Back to the top button */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10;
  font-size: 1.5em;
  width: 50px;
  height: 50px;
  background-color: var(--off_white);
  color: var(--dk_green);
  cursor: pointer;
  outline: none;
  border: 3px solid var(--dk_green);
  border-radius: 50%;
  transition-duration: 0.2s;
  transition-timing-function: ease-in-out;
  -moz-transition-property: background-color, color;
}
#back-to-top:hover,
#back-to-top:focus {
  background-color: var(--dk_green);
  color: var(--off_white);
}
/* Back to the top button */
#hero_pic {
  background: url(img/pexels-francesco-ungaro-96381-blur.jpg) 90% 50% / cover no-repeat;
  height: 500px;
  padding: 1% 5%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#hero_pic_text {
  margin: 0;
  width: 54%;
  color: var(--off_white);
  font-size: 3.2em;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 60px;
  text-transform: uppercase;
  text-shadow: 2px 2px 2px #000000;
}

.button-26 a {
  display: inline-block;
  padding: 10px 20px;
}

.button-26 {
  appearance: button;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.3em;
  line-height: 1.15;
  overflow: visible;
  /* padding: 5px 5px; */
  position: relative;
  text-align: center;
  text-transform: none;
  transition: all 80ms ease-in-out;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  border: none;
}

.button-26 a {
  color: var(--dk_green);
  background-color: var(--off_white);
  border: 1px solid #ffffff;
  border-radius: 5px;
}

.button-26 a:hover {
  color: var(--off_white);
  background-color: var(--dk_green);
  -webkit-box-shadow: 5px 3px 15px 0px #2d2d2d;
  box-shadow: 5px 3px 15px 0px #2d2d2d;
}

.button-26:disabled {
  opacity: 0.5;
}

.button-26:focus {
  outline: 0;
}

.button-26:active {
  background-color: var(--dk_green);
  border-color: var(--off_white);
}

.flex_div {
  display: flex;
}

.inner_wrapper {
  width: 90%;
}

aside {
  width: 50%;
  padding: 8% 3% 8% 5%;
  background-color: var(--lt_green);
}

aside a {
  color: var(--charcoal);
  font-size: 0.9em;
}

aside a:hover {
  font-size: 0.95em;
  text-decoration: underline;
  transition: all 80ms ease-in-out;
  color: var(--green);
}

#aside_ul > li {
  margin-top: 40px;
}

#aside_ul_inner li {
  padding-left: 10px;
  margin-top: 10px;
}

main section.about_us {
  background-color: #ffffff;
  padding: 10% 0;
 }

 main section.about_us .homepage_about_img {
  background: url(img/pexels-marc-mueller-380769-sm.jpg) 90% 50% / cover no-repeat;
  width: 100%;
  height: 400px;
  margin-bottom: 30px;
 }

 main section.about_us {
  flex-direction: column;
  justify-content: center;
  align-items: center;
 }

 main section.about_us .homepage_about_text{
  text-align: justify;
 }

 main section.about_us .homepage_about_text h2{
  color: var(--dk_green);
 }

 .homepage_header {
  font-size: 1.5em;
 }

 main section.about_us a {
  text-decoration: underline;
 }
 
 main section.about_us a:hover {
  color: var(--green);
 }

 main section#homepage_services {
  padding: 10% 0;
  background-color: var(--off_white);
 }

 main section#homepage_services > .flex_div{
  margin: 0 auto;
  justify-content: center;
  align-items: flex-start;
 }

 main section#homepage_services .homepage_services_text_wrapper {
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
 }

 main section .two_col {
  width: 48%;
  padding: 0 1%;
 }

 main section .two_col .homepage_services_img01,
 main section .two_col .homepage_services_img02 {
  width: 100%;
  height: 300px;
  margin-bottom: 20px;
 }

main section .two_col .homepage_services_img01 {
  background: url(img/pexels-katerina-holmes-5905455-sm.jpg) 90% 50% / cover no-repeat;
}

main section .two_col .homepage_services_img02 {
  background: url(img/pexels-mart-production-8872397-sm.jpg) 90% 50% / cover no-repeat;
}

 main section#clients {
  padding: 10% 0;
 } 

main section#clients .flex_div {
  margin: 0 auto;
  justify-content: center;
  align-items: center;
}

.lg_header {
  width: 50%;
  margin: 0 50px 0 0;
  border-bottom: none;
  font-size: 4em;
  text-align: right;
  line-height: 60px;
  color: var(--dk_green);
}

main section#clients ul {
  margin: 0 0 0 50px;
  width: 48%;
}

/* About us page */
main section#about_us .inner_wrapper, 
main section#client_guarantee .inner_wrapper,
main div#services .inner_wrapper,
main section#training .inner_wrapper,
main section#ccma .inner_wrapper,
#main_contact {
  width: 80%;
  margin: 0 auto;
}

main section#client_guarantee .inner_wrapper {
  padding: 100px 0;
}

.header_h2 {
  color: var(--green);
}

.underline {
  display: block;
  width: 100px;
  height: 10px;
  margin-bottom: 50px;
  background-color: var(--lt_green);
}

main section#about_us .inner_wrapper
 {
  margin: 100px auto;
  justify-content: space-between;
  align-items: center;
}

main section#about_us .about_wrapper {
  width: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

main section#about_us div#about_main p {
  margin: 0 15px 0 0;
  text-align: justify;
}

main section#about_us #about_img {
  background: url(img/pexels-sora-shimazaki-5669602-sm.jpg) 90% 50% / cover no-repeat;
  margin: 0;
  width: 50%;
  height: 700px;
}

main section#client_guarantee {
  background-color: var(--lt_green);
  color: var(--charcoal);
}

main section#client_guarantee .underline,
main section#clients .underline {
  display: none;
}

main section#client_guarantee .flex_div {
  justify-content: center;
  align-items: center;
}

main section#client_guarantee .inner_wrapper li {
  margin-bottom: 10px;
}
/* end_About us page */
/* Services */
#services {
  margin: 0 auto;
}

main div#services #industrial {
  padding: 100px 0;
}

main div#services #industrial > .flex_div {
  justify-content: space-between;
  align-items: center;
}

main div#services #industrial .industrial_text {
  width: 50%;
  margin-right: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

main div#services #industrial .industrial_text ul,
main section#training #training_text ul,
main section#ccma #ccma_text ul {
  margin-left: 30px;
}

main div#services #industrial .industrial_text li,
main section#training #training_text li,
main section#ccma #ccma_text li {
  margin-bottom: 10px;
}

main div#services #industrial .industrial_relation_img {
  margin: 0;
  background: url(img/pexels-pavel-danilyuk-7654488.jpg) 70% 10% / cover no-repeat;
  width: 50%;
  height: 650px;
}

main section#training,
main section#ccma {
  padding: 100px 0;
} 

main section#training {
  padding: 100px 0;
  background-color: var(--off_white);
} 

main section#training #training_img {
  margin: 0 30px 0 0;
  background: url(img/pexels-katerina-holmes-5905455-sm.jpg) 50% 60% / cover no-repeat;
  width: 60%;
  height: 550px;
}

main section#training > .flex_div {
  justify-content: space-between;
  align-items: center;
}
main section#training #training_text {
  margin: 0;
  width: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

main section#ccma > .flex_div {
  justify-content: space-between;
  align-items: center;
}

main section#ccma #ccma_text {
  margin: 0 10px 0 0;
  width: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

main section#ccma #ccma_img {
  background: url(img/pexels-mart-production-8872397-sm.jpg) 50% 80% / cover no-repeat;
  margin: 0;
  width: 60%;
  height: 500px;
}

/* end_Services */
/* Contact */
#main_contact .inner_wrapper {
  margin: 100px auto;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#main_contact_inner {
  width: 50%;
}

#main_contact #main_contact_form form {
  margin-bottom: 50px;
  width: 100%;
}

.errMsg {
  display: none;
  margin-bottom: 10px;
  color: red;
}

#main_contact #contact_wrapper {
  margin: 50px 0;
}

fieldset {
  border: none;
}

#main_contact #main_contact_form form .form_control {
  padding-bottom: 10px;
  margin-bottom: 10px;
  position: relative;
}

.form_control label {
  display: inline-block;
  margin-bottom: 5px;
}

#main_contact #main_contact_form form .form_control input,
#main_contact #main_contact_form form .form_control textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  display: block;
  font-family: inherit;
  border: 1px solid rgb(179, 179, 179);
  border-radius: 5px;
  color: rgb(134, 134, 134);
}

#main_contact #main_contact_form form .form_control i {
  position: absolute;
  top: 45px;
  right: 10px;
  visibility: hidden;
}

#main_contact #main_contact_form form .form_control small {
  position: absolute;
  bottom: 0px;
  left: 0px;
  visibility: hidden;
}

#main_contact #main_contact_form form .submit_btn {
  background-color: var(--dk_green);
  border: solid 1px var(--dk_green);
  border-radius: 4px;
  color: var(--off_white);
  display: block;
  cursor: pointer;
  font-family: inherit;
  padding: 10px;
  width: 100%;
}

.fa_icon::before {
  display: inline-block;
  margin-right: 15px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}

#main_contact #contact_wrapper a {
  color: var(--charcoal);
}
.phone::before {
  content: "\f095";
}

.email::before {
  content: "\f0e0";
}

.location::before {
  content: "\f3c5";
}
/* end_Contact */
/* Footer */
footer {
  padding: 5% 2% 1%;
  background-color: var(--charcoal);
  color: var(--off_white);
}

footer .flex_div {
  margin: 0 auto 10px;
  width: 80%;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
}
footer a, footer p {
  color: var(--off_white);
}

footer h3 {
  margin-bottom: 10px;
}

footer .copyright {
  text-align: center;
  font-size: 0.9em;
}
/* end_Footer */
/* Animations */
.btnEntrance {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: btnEntrance;
}
/* zoomIn*/
@keyframes btnEntrance {
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 1;
  }
}

.btnExit {
  animation-duration: 0.25s;
  animation-fill-mode: both;
  animation-name: btnExit;
}
/* zoomOut */
@keyframes btnExit {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
}

/* nav animation */
@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* MOBILE LAYOUT */
@media screen and (max-width: 64.94em) {
  /* 1039px */
  #hero_pic_text {
    width: 60%;
    font-size: 2.8em;
  }

  aside {
    padding: 8% 3%;
  }

main section .two_col .homepage_services_img01,
main section .two_col .homepage_services_img02 {
  background-position: 50% 50%;
}

  main section#clients h1 {
    font-size: 4em;
    line-height: 70px;
  }

  main section#about_us > .flex_div,
  main div#services .industrial_relation {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: flex-start;
  }

  main section#about_us .about_wrapper,
  main section#about_us #about_img  ,
  main div#services .industrial_relation .industrial_relation_img {
    width: 100%;
  }

  main section#about_us #about_img,
  main div#services .industrial_relation .industrial_relation_img {
    background-position: 50% 55%;
    margin-bottom: 50px;
    height: 500px;
  }

  main section#about_us div#about_main p {
    margin: 0 auto;
  }

  .lg_header {
    width: 70%;
  }

  main div#services .industrial_relation .industrial_relation_text {
    width: 95%;
    margin: 0;
  }

  main section#training #training_img {
    background-position: 30% 10%;
  }
}

@media screen and (max-width: 55.63em) {
  /* 890px */
  #hero_pic_text {
    width: 62%;
    font-size: 2.6em;
  }

  main section#clients h1 {
    font-size: 3.6em;
    line-height: 65px;
  }

  main div#services #industrial > .flex_div,
  main section#ccma > .flex_div {
    flex-direction: column-reverse;
  }
  
main div#services #industrial .industrial_relation_img, 
main section#training #training_img,
  main section#ccma #ccma_img {
  width: 100%;
  height: 550px;
  margin-bottom: 50px;
}

main div#services #industrial .industrial_text,
main section#training #training_text,
main section#ccma #ccma_text {
  width: 95%;
  margin-right: 0;
}

  main section#training > .flex_div {
    flex-direction: column;
  }
}

@media screen and (max-width: 48em) {
  /*768px*/
  html,
  body {
    overflow-x: hidden;
    position: absolute;
    width: 100%;
    font-size: 0.93em;
  }

  #logo img {
    width: 70%;
  }
  nav {
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .nav_links {
    position: absolute;
    z-index: 20;
    right: 0px;
    height: 92vh;
    top: 20vh;
    background-color: #000;
    opacity: 0.95;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }
  .nav_links li {
    opacity: 0;
    width: 100%;
    text-align: center;
  }
  .nav_links a {
    padding:15% 35%;
    color: var(--blue);
  }
  .current {
    color: var(--orange);
    background-color: var(--white);
  }
  .burger {
    display: block;
    margin: 0;
    padding: 5px 20px;
  }

  #hero_pic {
    justify-content: center;
    height: 400px;
  }

  #hero_pic_text {
    text-align: center;
    line-height: 40px;
  }

  .button-26, aside {
    display: none;
  }

  h1 {
    font-size: 4em;
  }

  #back-to-top {
  font-size: 1.3em;
  width: 40px;
  height: 40px;
}

  main section#clients h1 {
    line-height: 60px;
  }

  main section#about_us h1,
  #main_contact h1{
    margin: 100px 0 80px;
  }

main section#about_us .inner_wrapper, 
main section#client_guarantee .inner_wrapper,
main div#services .inner_wrapper,
main section#training .inner_wrapper,
main section#ccma .inner_wrapper,
#main_contact {
  width: 90%;
}

main section#training #training_img,
  main section#ccma #ccma_img {
    height: 350px;
  }

  
#main_contact_inner {
  width: 100%;
}


}

@media screen and (max-width: 40.63em) {
  /* 650px */
  .nav_links {
    top: 20vh;
  }

  main section#client_guarantee .flex_div,
  main section#clients .flex_div {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .lg_header {
    text-align: left;
    line-height: 50px;
    margin: 0 0 20px;
    font-size: 3em;
  }
  
  main section#client_guarantee .underline,
  main section#clients .underline {
    display: block;
  }

  main section#client_guarantee .underline {
    background-color: var(--off_white);
  }

  main section#clients .underline {
    background-color: var(--lt_green);
  }

}
@media screen and (max-width: 34.38em) {
  /* 550px */
  #logo img {
    width: 65%;
  }

  .nav_links {
    width: 100%;
  }

  #hero_pic_text {
    width: 100%;
    font-size: 2.4em;
  }

  .header_h2 {
    font-size: 2.5em;
  }

  main section#homepage_services > .flex_div {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  main section .homepage_services_img03 {
    background: url(img/pexels-mart-production-8872397-sm.jpg) 90% 50% / cover no-repeat;
    margin-bottom: 30px;
    width: 100%;
    height: 300px;
  }

  main section .two_col .homepage_services_img01, 
  main section .two_col .homepage_services_img02 {
    display: none;
  }

  main section#clients h1 {
   margin-left: 5px; 
   width: 46%;
   font-size: 3.2em;
  }

  main section#clients ul {
    margin: 0 0 0 25px;
  }

  .inner_wrapper {
    width: 100%;
  }

  #hero_pic_text,
  main section.about_us .homepage_about_text,
  main section#homepage_services .homepage_services_text_wrapper,
  main section#client_guarantee .inner_wrapper ul {
    margin: 0 auto;
    width: 90%;
  }

  main section#about_us .inner_wrapper, 
  main section#client_guarantee .inner_wrapper,
  main div#services .inner_wrapper,
  main section#training .inner_wrapper,
  main section#ccma .inner_wrapper {
    width: 100%;
  }

  main section#about_us h1,
  #main_contact h1{
    margin: 80px auto 60px;
    width: 90%;
  }

  main section#about_us .about_wrapper,
  main section#client_guarantee .inner_wrapper {
    width: 90%;
    margin: 0 auto;
  }

  #main_contact #main_contact_form form {
    margin: 50px auto;
    width: 80%;
  }

  #main_contact #main_contact_form form input, #main_contact #main_contact_form form textarea {
    width: 100%;
  }

  #main_contact #contact_wrapper {
    margin: 50px auto;
    width: 100%;
    text-align: center;
  }

  main div#services h1 {
    padding-top: 80px;
    margin: 0 auto;
    width: 90%;
  }

  main div#services .industrial_relation .industrial_relation_text {
    margin: 0 10px;
  }

  main section#training .flex_div {
    flex-direction: column;
  }

  main section#ccma .flex_div {
    flex-direction: column-reverse;
  }

  main section#training .flex_div,
  main section#ccma .flex_div {
    justify-content: center;
    align-items: flex-start;
  }

  main section#training #training_img,
  main section#ccma #ccma_img {
    margin: 0 0 20px 0;
    width: 100%;
  }

  main section#training #training_text,
  main section#ccma #ccma_text {
    margin: 0 10px 0;
  }

  #contact_wrapper h2 {
    text-align: left;
  }
}

@media screen and (max-width: 31.25em) {
  /* 500px */
  main section#clients .flex_div{
    flex-direction: column;
  }

  main section#clients h1 {
      text-align: center;
      width: 100%;
      margin: 0 auto;
  }

  main section#clients ul {
    margin: 0 auto;
    text-align: center;
  }

  footer .flex_div > div {
    padding: 0 10px 25px;
  }

  main section#about_us div#about_main #about_img {
    height: 400px;
  }

  main div#services .industrial_relation .industrial_relation_img {
    height: 400px;
  }

}

@media screen and (max-width: 25em) {
  /* 400px */
  .nav_links {
    top: 17vh;
  }

  main section#homepage_services .homepage_services_text_wrapper {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  main section#homepage_services .homepage_services_text_wrapper .two_col {
    margin-bottom: 10px;
  }

  h1 {
    font-size: 3em;
  }
}

@media screen and (max-width: 21.86em) {
  /* 350px */
  .lg_header {
    font-size: 2.5em;
  }
}








.nav-active {
  transform: translateX(0%);
}
