/* Global style */
:root {
  --main-color: rgba(246, 198, 0, 1);
  --text-color: #202222;
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-family: "Rubik", sans-serif;
}

body {
  overflow: hidden;
  font-size: 16px;
}

section {
  padding: 4vh 4vw;
}

.hidden_overflow {
  overflow: hidden !important;
}

.center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.column {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.section__name {
  margin: 3% auto;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 110%;
  color: var(--text-color);
}

.section__name h2:after {
  display: block;
  content: "";
  height: 2px;
  background-color: var(--main-color);
  width: auto;
  margin-top: 1%;
}

.white {
  color: #fff;
}

.data_image {
	width: 250px;
}

/*------------LOADER-------------*/

.loaderholder {
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #fff;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: auto 60px;
  background-image: url(../images/logo/hammer.png);

}


.loader {
  border: 16px solid #f3f3f3; 
  border-top: 16px solid var(--main-color);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*------------HEADER-------------*/

header {
  height: 100vh;
  width: auto;
  overflow-x: hidden;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-image: url(../images/background/background-min.jpg);
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(0, 0, 0, 0.1)),
      to(rgba(0, 0, 0, 0.15))
    ),
    url(../images/background/background-min.jpg);
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.15)),
    url(../images/background/background-min.jpg);
}

.logo {
  width: 180px;
  height: 60px;
  background: url("../images/logo/general_logo_white.png");
  background-size: cover;
  /* background-position: 0 -50px; */
  border-radius: 5px;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.logo-black {
  background: url("../images/logo/general_logo.png");
  background-size: cover;
}

.logo:hover {
  background-position: 0 0px;
  cursor: pointer;
}

.hero-text-box {
  position: absolute;
  top: 45%;
  left: 50%;
  text-align: center;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

a.btn {
  position: absolute;
  top: 110%;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}

.hero-text-box h1 {
  text-transform: uppercase;
  color: var(--text-color);
  font-size: 230%;
  letter-spacing: 2px;
  line-height: 1.8;
}

.hero-button {
  
  font-size: 20px;
  font-weight: 500;
  font-style: bold;
  color: var(--text-color);
  font-family: "Rubik", sans-serif;
  text-decoration: none;
  display: inline-block;
  padding: 16px 16px;
  border: none;
  border-radius: 24px;
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background-color: rgba(246, 198, 0, 1);
}

.plus-photo {
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
  transform: translateY(-5px);
}

.hero-button:hover, .plus-photo:hover {
  transform: translateY(0);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  cursor: pointer;
}

.telephone {
  text-decoration: none;
  color: white;
  display: block;
  margin: 25px auto;
  font-size: 32px;
  text-shadow: 1px 1px 2px var(--text-color);
}



div.form__input-box:has(> #comment) {display: none;}




/*------------HEADER-NAVIGATION------------*/

nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 2%;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
}

.main-navigation {
  list-style: none;
  margin-right: 4%;
}
.main-navigation li {
  display: inline-block;
  margin-left: 3vw;
}

.main-navigation li a:link,
.main-navigation li a:visited {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 110%;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  -webkit-transition: border-bottom 0.5s;
  transition: border-bottom 0.5s;
}

.main-navigation li a:hover,
.main-navigation li a:active {
  border-bottom: 2px solid rgba(246, 198, 0, 1);
}

.logo {
  margin-left: 4%;
}

/*------------HEADER-NAVIGATION-BUTTONS-----------*/

.btn:link,
.btn:visited {
  display: inline-block;
  color: #253d5b;
  text-decoration: none;
  margin-top: 2vh;

  text-transform: uppercase;
  cursor: pointer;
  padding: 10px;
  border-radius: 40px;
  background-color: #253d5b;
  color: #fff;
  border: 1px solid #253d5b;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.btn:hover,
.btn:active {
  border: 1px solid rgba(165, 216, 255, 0.1);
  background-color: rgba(165, 216, 255, 0.5);
  color: #253d5b;
  outline: 0;
}

/*------------STICKY-NAVIGATION------------*/

.sticky {
  position: fixed;
  width: 100%;
  background-color: #fff;
  margin-top: 0;
  height: 70px;
  z-index: 99;
  border-bottom: 1px solid #253d5b;
}

/*------------BURGER-NAVIGATION------------*/

.navigation__burger {
  display: none;
  cursor: pointer;
  z-index: 99;
}

.navigation__burger div {
  width: 50px;
  height: 4px;
  border-radius: 2px;
  margin: 8px 40px;
  background-color: #fff;
}

.navigation__burger-line1,
.navigation__burger-line3 {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

/*------------PROJECTS-------------*/

.section__projects {
  margin-bottom: 4%;
  height: calc(100vh - 70px);
}

.projects__gallery {
  margin-top: 80px;
}

figure.project {
  width: 95%;
  border-radius: 20px;
  margin-bottom: 15px;
  border: 1px solid rgba(169, 169, 169, 0.3);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  -webkit-box-shadow: -1px 1px 1px rgba(169, 169, 169, 0.3);
  box-shadow: -1px 1px 1px rgba(169, 169, 169, 0.3);
}

.project__name h3 {
  color: #253d5b;
}

.project__image {
  -ms-flex-item-align: start;
  align-self: flex-start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;

  background-color: #fff;
  border-bottom: 1px solid rgba(169, 169, 169, 0.3);
}

.project__image img {
  /* object-fit: cover; */
  height: 350px;
  width: 100%;
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
  opacity: 0.7;
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

.project__image img:hover {
  opacity: 1;
  -webkit-transform: scale(0.85);
  transform: scale(0.85);
  cursor: pointer;
}

.project__name {
  margin-top: 20px;
  padding: 0 8%;
  font-weight: 600;
}

.project__content {
  padding: 8% 8%;
  text-align: justify;
  height: 100px;
  position: relative;
}

/*------------TESTIMONIALS-------------*/

.section__stack {
  height: calc(100vh - 70px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-image: url(../images/background/background2-min.jpg);
  /* background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.4)), to(rgba(0, 0, 0, 0.4))), url(../img/background2-min.jpg); */
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(../images/background/background2-min.jpg);
}

.stack__gallery {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /* margin-top: 10%; */
  /* opacity: 0.6; */
  -webkit-transition: 0.6s;
  transition: 0.6s;
  top: calc(50% - 70px);
  transform: translateY(-50%);
  position: relative;
}

.stack__box {
  border-radius: 50%;
  border: 3px solid var(--main-color);
  background-color: var(--main-color);
  width: 150px;
  height: 150px;
  padding: 10px;
  text-align: center;
  box-shadow: -4px 4px 1px 1px rgba(26, 26, 26, 0.5);
  transition: 0.3s;
}

.stack__box:hover {
  cursor: pointer;
  box-shadow: none;
  transform: translateY(-3px);
  transform: translateX(-3px);
}

.stack__box:nth-child(odd) {
  color: white;
}

.stack__box p {
  margin-bottom: 15px;
  font-weight: bold;
}

.stack__box i {
  font-size: 36px;
}

.stack__box__image {
  width: 100px;
  height: 100px;
}

.stack__gallery:hover {
  opacity: 1;
}

/* CAROUSEL */
img.carousel-image {
  height: 200px;
  width: 217px;

  transform: scale(1.5);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
}

.carousel {
  width: 800px;
  background-color: rgba(255, 255, 255, 0.9);

  border-radius: 12px;
  padding: 32px 48px 32px 126px;
  display: flex;
  align-items: center;
  gap: 126px;
  text-align: left;
  position: relative;
  box-sizing: content-box;
}

.testimonial-text {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 32px;
  color: var(--text-color);
}

.testimonial-author {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-color);
}

.testimonial-author-job {
  font-size: 12px;
  color: var(--text-color);
}
/* CONTROLS */

.carousel-btn {
  background-color: var(--main-color);
  border: none;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);

  cursor: pointer;

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

.carousel-btn--left {
  left: 0;
  transform: translate(-50%, -50%);
}

.carousel-btn--right {
  right: 0;
  transform: translate(50%, -50%);
}

.carousel-btn-icon {
  height: 24px;
  width: 24px;
  stroke: var(--main-color);
  transition: all 0.3s ease;
}

.carousel-btn-icon:hover {
  transform: scale(1.2);
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 200%);

  display: flex;
  gap: 12px;
}

.carousel-dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  background-color: rgb(243, 243, 243);
  border: 2px solid var(--main-color);
  transition: background-color 0.5s ease;
  cursor: pointer;
}

.carousel-dot--active,
.carousel-dot:hover,
.enable {
  background-color: var(--main-color);
}

.hidden {
  opacity: 0.8;
  transition: opacity 0.3s ease, display 0s linear 0.5s;
}

.visible {
  opacity: 1;
  transition: opacity 0.3s ease-in;
}

/*------------Certificates-------------*/

.section__certificates {
  /* background-color: rgb(221, 221, 221); */
  height: calc(100vh - 70px);
}

.icon {
  font-size: 200%;
  margin-right: 10px;
}

.certificate__list {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.certificate-box {
  width: 30%;
  min-width: 350px;
  font-size: 120%;
  margin-bottom: 2%;
  border: 1px solid;
  border-radius: 20px;
  opacity: 0.5;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.certificate-box i.icon {
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.certificate-box:hover i.icon {
  color: #e85d75;
}

.certificate-box:hover {
  opacity: 1;
  cursor: pointer;
}

a.certificate__link {
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.services__gallery {
  position: relative;
  top: calc(50% - 70px);
  transform: translateY(-50%);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  /* margin-top: 10%; */
  /* opacity: 0.6; */
  -webkit-transition: 0.6s;
  transition: 0.6s;
}

/*------------Contact form-------------*/

.section__contact {
  height: calc(100vh - 70px);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-image: url(../images/background/background3-min.jpg);
  background-image: -webkit-gradient(
      linear,
      left top,
      left bottom,
      from(rgba(165, 216, 255, 0.1)),
      to(rgba(36, 36, 36, 0.1))
    ),
    url(../images/background/background3-min.jpg);
  background-image: linear-gradient(
      rgba(141, 138, 101, 0.699),
      rgba(247, 207, 78, 0.3)
    ),
    url(../images/background/background3-min.jpg);
}

.contact__container {
  position: relative;
  padding-top: 450px;
}

.contact__message {
  color: #253d5b;
}

form {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 50px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.4);
}

.form__input {
  min-width: 250px;
  margin-bottom: 40px;
  border: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  outline: none;
  background: transparent;
  border-bottom: 1px solid #fff;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}

.form__input-box:nth-child(1) {
  margin-top: 30px;
}

.form_button {
  background: #253d5b;
  border: none;
  text-transform: uppercase;
  width: 50%;
  margin-left: 25%;
  margin-top: 30px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.form_button:hover {
  background-color: rgba(165, 216, 255, 0.5);
  color: #253d5b;
  outline: 0;
}

.form_buttons {
  display: flex;
  justify-content: space-between;
}

.form__input-box {
  position: relative;
}

label.input__placeholder {
  text-transform: uppercase;
  position: absolute;
  top: -2px;
  left: 0;
  cursor: auto;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
  pointer-events: none;
}

.form__input-box textarea ~ label {
  top: 14px;
}

.form__input-box textarea {
  resize: none;
  height: 100%;
}

.form__input-box input:focus ~ label,
.form__input-box textarea:focus ~ label,
.form__input-box input:valid ~ label,
.form__input-box textarea:valid ~ label {
  top: -22px;
  font-size: 70%;
  /* font-weight: bold; */
  color: #fff;
}

/*-------------Animated title--------------*/

#profession {
  animation: scaleThis 0.8s ease-in-out forwards 3.4s;
}

#profession g {
  opacity: 0;
}

#profession g:nth-child(1) {
  -webkit-animation: line-anim 2s ease forwards 0.1s;
  animation: line-anim 2s ease forwards 2 0.1s;
}
#profession g:nth-child(2) {
  -webkit-animation: line-anim 2s ease forwards 1s;
  animation: line-anim 2s ease forwards 2 1s;
}
#profession g:nth-child(3) {
  -webkit-animation: line-anim 2s ease forwards 0.3s;
  animation: line-anim 2s ease forwards 2 0.3s;
}
#profession g:nth-child(4) {
  -webkit-animation: line-anim 2s ease forwards 1.1s;
  animation: line-anim 2s ease forwards 2 1.1s;
}
#profession g:nth-child(5) {
  -webkit-animation: line-anim 2s ease forwards 0.6s;
  animation: line-anim 2s ease forwards 2 0.6s;
}
#profession g:nth-child(6) {
  -webkit-animation: line-anim 2s ease forwards 0.9s;
  animation: line-anim 2s ease forwards 2 0.9s;
}
#profession g:nth-child(7) {
  -webkit-animation: line-anim 2s ease forwards 0.8s;
  animation: line-anim 2s ease forwards 2 0.8s;
}
#profession g:nth-child(8) {
  -webkit-animation: line-anim 2s ease forwards 0.5s;
  animation: line-anim 2s ease forwards 2 0.5s;
}
#profession g:nth-child(9) {
  -webkit-animation: line-anim 2s ease forwards 1s;
  animation: line-anim 2s ease forwards 2 1s;
}
#profession g:nth-child(10) {
  -webkit-animation: line-anim 2s ease forwards 0.7s;
  animation: line-anim 2s ease forwards 2 0.7s;
}
/* #profession path:nth-child(11) {-webkit-animation: line-anim 2s ease forwards 0.4s;animation: line-anim 2s ease forwards 2 0.4s;}
#profession path:nth-child(12) {-webkit-animation: line-anim 2s ease forwards 1.0s;animation: line-anim 2s ease forwards 2 1.0s;}
#profession path:nth-child(13) {-webkit-animation: line-anim 2s ease forwards 1.2s;animation: line-anim 2s ease forwards 2 1.2s;} */

@-webkit-keyframes line-anim {
  0% {
    opacity: 0;
  }
  /*
25% {
 	opacity: 0;
 }

 50% {
 	opacity: 1;
 }

 75% {
 	opacity: 0;
 }
*/
  100% {
    opacity: 1;
  }
}

@keyframes line-anim {
  0% {
    opacity: 0;
  }
  /*
25% {
 	opacity: 0;
 }

 50% {
 	opacity: 1;
 }

 75% {
 	opacity: 0;
 }
*/
  100% {
    opacity: 1;
  }
}

@keyframes scaleThis {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/*------------Footer-------------*/
