@import url("https://fonts.googleapis.com/css?family=Titillium+Web:400,700i&display=swap");

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

:root {
  --light: #ffffff;
  --dark: #181b24;
  --grey: #899495;
  --orange: #fc5130;
  --section-grey: #f2f2f2;
  --letter-space: 0.15rem;
  --section-white: #ffffff;
}

/* nav start */
.nav {
  background: var(--light);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

.nav__header {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 1rem;
  border-bottom: 0.2rem solid var(--dark);
}

.nav__logo {
  max-height: 2rem;
  align-self: center;
}

.nav__btn {
  font-size: 2rem;
  align-self: center;
  color: var(--dark);
  cursor: pointer;
}

.nav__links {
  list-style-type: none;
  background: var(--section-grey);
}

.nav__single-link {
  display: block;
  text-decoration: none;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  font-style: italic;
  text-transform: capitalize;
  color: var(--dark);
  transition: all 0.5s linear;
}

.nav__single-link:hover {
  background: var(--dark);
  color: var(--light);
  padding-left: 1.5rem;
  cursor: pointer;
}

.nav__links {
  height: 0;
  overflow: hidden;
  transition: all 0.5s linear;
  overflow-y: auto;
}

.show__links {
  height: 40vh;
}

@media screen and (min-width: 768px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 0.2rem solid var(--dark);
  }

  .nav__header {
    border: none;
    padding: 0rem 1rem;
  }

  .nav__logo {
    max-height: 2.5rem;
  }

  .nav__btn {
    display: none;
  }

  .nav__links {
    /* as child */
    background: transparent;
    height: auto;
    flex: 1 0 auto;
    /* as parent */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-self: center;
  }

  .nav__single-link {
    background: transparent;
    flex: 1 0 auto;
  }
  .nav__single-link:hover {
    padding-left: 1rem;
    background: var(--section-white);
    color: var(--grey);
  }
}
/* nav end */

/* header start */
.header {
  min-height: 100vh;
  background: linear-gradient(
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3)
    ),
    url("../img/header-bcg.jpeg") center/cover fixed no-repeat;
  display: flex;
  flex-direction: column;
}
/* header end */

/* banner start */
.banner {
  /* as flex child */
  flex: 1 0 auto;
  /* as flex parent */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  color: var(--dark);
  text-align: center;
  padding-bottom: 4rem;
  font-weight: 700;
}

.banner__title {
  font-size: 4rem;
  letter-spacing: var(--letter-space);
  margin-bottom: 0.5rem;
  font-style: italic;
  text-transform: capitalize;
}

.banner__jobs {
  letter-spacing: var(--letter-space);
  text-transform: capitalize;
  font-size: 1.5rem;
  color: var(--light);
}
/* banner end */

/* about start */
.about {
  padding: 2rem 0;
  background: var(--section-white);
}

.about__center {
  max-width: 90vw;
  margin: 2rem auto;
}

.about-img {
  margin: 3rem 0;
  position: relative;
}

.about-img__photo {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.about-img:before {
  content: "";
  background: var(--dark);
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: -10px;
  left: -10px;
}

.about-info {
  margin: 3rem 0;
}

.about-info__title {
  font-size: 3rem;
  text-transform: capitalize;
  letter-spacing: var(--letter-space);
  background: url("../img/title-bcg.svg") no-repeat;
}

.about-info__text {
  color: var(--grey);
  line-height: 1.5;
  font-size: 1.2rem;
  margin: 3rem 0;
}

.about-info__single-link {
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  letter-spacing: var(--letter-space);
  text-transform: capitalize;
  border: 2px solid var(--dark);
  transition: all 0.5s linear;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.dark-btn {
  background: var(--dark);
  color: var(--light);
}

.dark-btn:hover {
  background: var(--light);
  color: var(--dark);
}

.light-btn {
  background: var(--light);
  color: var(--dark);
}

.light-btn:hover {
  background: var(--dark);
  color: var(--light);
}

@media screen and (min-width: 992px) {
  .about__center {
    display: flex;
    justify-content: space-between;
  }

  .about-info,
  .about-img {
    flex: 0 0 calc(50% - 1rem);
  }

  .about-info {
    display: flex;
    align-items: flex-end;
  }
}

/* about end */

/* section title start */

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

.section-title__name {
  font-size: 4rem;
  letter-spacing: var(--letter-space);
  background: url("../img/title-bcg.svg") center no-repeat;
  text-transform: capitalize;
  font-weight: 700;
  font-style: italic;
}

/* section title end */

/* services start */

.services {
  background: var(--section-grey);
  padding: 3rem 0;
}

.services__center {
  max-width: 90vw;
  margin: 2rem auto;
}

.services__single-service {
  margin: 2rem auto;
  text-align: center;
  transition: all 0.5s ease-in;
  padding: 2rem 0;
}

.services__single-service:hover {
  background: var(--light);
  box-shadow: 0 15px 20px rgba(0, 0, 0, 0.1);
}

.services__single-service-icon {
  font-size: 3rem;
}

.services__single-service-title {
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1rem;
  letter-spacing: var(--letter-space);
}

.services__single-service-text {
  width: 80%;
  margin: 0 auto;
  text-align: left;
  line-height: 1.5;
  letter-spacing: var(--letter-space);
}

@media screen and (min-width: 768px) {
  .services__center {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .services__single-service {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media screen and (min-width: 992px) {
  .services__single-service {
    flex: 0 0 calc(33.33% - 0.3rem);
  }
}

/* services end */

/* numbers start */

.numbers {
  padding: 3rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../img/numbers-bcg.jpeg") center/cover no-repeat fixed;
  color: var(--light);
}

.numbers__center {
  max-width: 95vw;
  margin: 2rem auto;
}

.numbers__single-number {
  text-align: center;
  margin: 2rem 0;
}

.numbers__single-number-icon {
  font-size: 3rem;
}

.numbers__single-number-text {
  font-size: 2rem;
  letter-spacing: var(--letter-space);
  margin: 0.5rem 0;
}

.numbers__single-number-title {
  text-transform: uppercase;
  letter-spacing: var(--letter-space);
}

@media screen and (min-width: 576px) {
  .numbers__center {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .numbers__single-number {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media screen and (min-width: 992px) {
  .numbers__single-number {
    flex: 0 0 calc(25% - 0.5rem);
  }
}
/* numbers end */
/* projects start */
.projects {
  padding: 3rem 0;
  background: var(--light);
}

.projects__center {
  max-width: 90vw;
  margin: 2rem auto;
}

.projects__single-project {
  margin: 2rem auto;
  position: relative;
}

.projects__single-project-img {
  display: block;
  width: 100%;
  border-radius: 0.25rem;
}

.projects__single-project::before {
  content: "";
  background: var(--dark);
  width: 100%;
  height: 100%;
  position: absolute;
  transform: scale(0);
  transition: all 1s ease;
  opacity: 0;
}

.projects__single-project:hover:before {
  transform: scale(1);
  opacity: 0.5;
}

.projects__single-project-icon {
  color: var(--light);
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 6rem;
  transform: scale(0);
  opacity: 0;
  transition: all 1.3s ease;
}

.projects__single-project-icon:hover {
  color: var(--grey);
}

.projects__single-project:hover .projects__single-project-icon {
  opacity: 1;
  transform: scale(1) translate(-50%, -50%);
}

@media screen and (min-width: 768px) {
  .projects__center {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .projects__single-project {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media screen and (min-width: 992px) {
  .projects__single-project {
    flex: 0 0 calc(25% - 0.5rem);
  }
}

/* projects end */

/* contact start */
.contact {
  background: var(--section-grey);
  padding: 4.2rem 0;
}

.contact__center {
  max-width: 80vw;
  margin: 2rem auto;
}

.contact__header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.contact__name,
.contact__email,
.contact__textarea {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--dark);
  padding: 0.25rem 0;
  margin: 2rem 0;
  font-size: 1.2rem;
  outline: none;
}

.contact__name,
.contact__email {
  flex: 0 0 calc(50% - 1rem);
}

.contact__textarea {
  width: 100%;
}

.contact__btn {
  background: var(--dark);
  color: var(--light);
  display: block;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  margin-top: 2rem;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: var(--letter-space);
  transition: all 0.5s linear;
  border: 2px solid var(--dark);
}

.contact__btn:hover {
  background: var(--light);
  color: var(--dark);
  border-color: var(--dark);
  cursor: pointer;
}

.contact__icon {
  margin-right: 0.5rem;
}

/* contact end */
/* footer start */

.footer {
  background: var(--dark);
  padding: 1rem 0;
  /* position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1; */
}

.footer__icons {
  display: flex;
  justify-content: space-around;
}

.footer__single-icon {
  font-size: 2rem;
  color: var(--light);
  transition: all 2s ease;
}

.footer__single-icon:hover {
  color: var(--grey);
}

/* footer end */
