/*
============
BASE CSS
============
*/

@import url('/base.css');


/*
==================
WELCOME SECTION
------------------
*/

.background-image {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)), linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 100%), url("/images/home-mobile.jpg");
  background-size: cover;
  background-position: 70%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 1.4rem;
}

.background-image::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  background-image: inherit;
  background-size: cover;
  background-position: 70%;
  background-repeat: no-repeat;
  animation: zoom 30s linear 1s infinite;
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}


@media screen and (min-width: 1200px) {
  .background-image {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)), linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 100%), url("/images/home.jpg");
  }
}

.welcome-section {
  height: 100vh;
  background: transparent;
  z-index: 1;
  position: relative;
}

.welcome-section-content {
  width: 100%;
  max-width: var(--max-width-nav);
  margin: 0 auto;
  z-index: 1;
}

.title {
  color: var(--color-white);
  font-family: var(--font-logo);
  font-size: 2.4rem;
  line-height: 0.65;
  padding-bottom: 0.6rem;
  font-style: italic;
}

.title .end {
  font-weight: normal;
  font-size: 2rem;
}

.welcome-section-content .separator {
  width: 260px;
  height: 4px;
  background-color: var(--color-logo-blue-dark);
  margin: 1rem 0;
}

.subtitle {
  color: var(--color-white);
  font-family: var(--font-logo);
  font-weight: bold;
  font-size: 0.9rem;
  font-style: italic;
}

.subtitle .end {
  font-weight: normal;
  font-size: 0.85rem;
}

@media screen and (min-width: 400px) {
  .title {
    font-size: 2.85rem;
  }

  .title .end {
    font-size: 2.4rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .subtitle .end {
    font-size: 1rem;
  }
}

@media screen and (min-width: 500px) {
  .title {
    font-size: 3rem;
  }

  .title .end {
    font-size: 2.45rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .subtitle .end {
    font-size: 1rem;
  }
}

@media screen and (min-width: 700px) {
  .title {
    font-size: 3.4rem;
  }

  .title .end {
    font-size: 2.6rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .subtitle .end {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1000px) {
  .title {
    font-size: 4rem;
  }

  .title .end {
    font-size: 2.9rem;
  }

  .subtitle {
    font-size: 1.4rem;
  }

  .subtitle .end {
    font-size: 1rem;
  }
}



.welcome-section::before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  border-left: 100vw solid transparent;
  border-right: 0 solid transparent;
  border-bottom: var(--welcome-section-triangle-height) solid var(--color-background);
}



/*
=============
SECTIONS
-------------
*/

.section-title {
  max-width: var(--max-width-section-content);
  margin: 0 auto;
  font-size: 1.4rem;
  font-style: italic;
  text-align: left;
  text-transform: uppercase;
  color: var(--color-logo-blue-dark);
}

.section-title .title-number {
  font-size: 2.8rem;
  color: var(--color-gray-light);
}

@media screen and (min-width: 400px) {
  .section-title {
    font-size: 2rem;
  }

  .section-title .title-number {
    font-size: 4rem;
  }
}

@media screen and (min-width: 600px) {
  .section-title {
    font-size: 2.25rem;
  }

  .section-title .title-number {
    font-size: 4.5rem;
  }
}

@media screen and (min-width: 1020px) {
  .section-title {
    font-size: 2.6rem;
  }

  .section-title .title-number {
    font-size: 5.2rem;
  }
}



/*
==================
LEAN SECTION
------------------
*/

.lean-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.lean-section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 2rem;
}

/* Info */

.lean-info-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.lean-text-container {
  width: 100%;
}

.lean-description {
  width: 100%;
  max-width: 600px;
  font-size: 1rem;
}

.optimal-text {
  font-size: 1.4rem;
  font-style: italic;
  text-transform: uppercase;
}

@media screen and (min-width: 360px) {
  .optimal-text {
    font-size: 1.6rem;
  }
}

.lean-image {
  width: 100%;
  max-width: 400px;
  object-fit: contain;
}


/* Elements */

.lean-elements-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.element-text-container {
  padding-top: 1rem;
  max-width: 600px;
}

.element-color-label {
  width: 60%;
  max-width: 240px;
  height: 6px;
  margin-bottom: 0.6rem;
}

.element-color-label.one {
  background-color: rgb(63, 127, 168);
}

.element-color-label.two {
  background-color: rgb(64, 87, 146);
}

.element-color-label.three {
  background-color: rgb(92, 176, 154);
}

.element-color-label.four {
  background-color: rgb(205, 69, 50);
}

.element-color-label.five {
  background-color: rgb(120, 74, 145);
}

.element-text {
  font-size: 0.9rem;
}


@media screen and (min-width: 920px) {
  .lean-info-container {
    flex-direction: row;
    align-items: flex-end;
    justify-content: left;
    gap: 4rem;
  }

  .lean-text-container {
    width: 50%;
    max-width: 450px;
  }

  .lean-image {
    width: 50%;
  }
}


@media screen and (min-width: 1160px) {
  .lean-elements-container {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .element-text-container {
    width: 20%;
  }
}






/*
==================
LEARN SECTION
------------------
*/

.learn-section {
  background-color: var(--color-background-darker);
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.learn-section::before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  border-left: 100vw solid transparent;
  border-right: 0 solid transparent;
  border-top: var(--welcome-section-triangle-height) solid var(--color-background);
}

.learn-section::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  border-left: 100vw solid transparent;
  border-right: 0 solid transparent;
  border-bottom: var(--welcome-section-triangle-height) solid var(--color-background);
}

.learn-section-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.encyclopedia-promo {
  width: 100%;
}

.encyclopedia-promo-desc {
  font-size: 1rem;
  padding: 0 0.4rem;
  margin: 2rem 0;
}

.encyclopedia-promo-link {
  margin-bottom: 2rem;
}

.encyclopedia-image {
  width: 90%;
  max-width: 360px;
  margin: 0 auto;
  object-fit: contain;
}

@media screen and (min-width: 740px) {
  .learn-section-content {
    flex-direction: row;
    justify-content: space-around;
  }

  .encyclopedia-promo {
    width: 60%;
  }

  .encyclopedia-promo-desc {
    margin: 1rem 0;
  }

  .encyclopedia-promo-link {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .encyclopedia-image {
    width: 30%;
    height: 240px;
    margin-left: 0;
  }
}


/*
==================
APPLY SECTION
------------------
*/

.apply-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.apply-section-content {
  width: 100%;
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.apply-tile {
  width: 100%;
  max-width: 600px;
  height: auto;
  padding: 1.4rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: center;
}

.apply-tile:first-of-type {
  border-bottom: 1px solid var(--color-gray-light);
}

.tile-title-container {
  width: 100%;
  padding: 2rem 0;
  margin-bottom: 2rem;
  background-size: cover;
  background-repeat: no-repeat;
  background-position-x: center;
  background-position-y: 60%;
}

.tile-title-container.first {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)), url('/images/construction.jpg');
}

.tile-title-container.last {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0)), url('/images/manufacturing.jpg');
}

.tile-title {
  padding-top: 0.4rem;
  padding-bottom: 0.8rem;
  font-size: 1.8rem;
  color: var(--color-white);
}

.tile-desc {
  font-size: 1rem;
  margin-bottom: 2rem;
  text-align: justify;
}

@media screen and (min-width: 800px) {
  .apply-section-content {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .apply-tile {
    padding: 0;
    width: 50%;
  }

  .apply-tile:first-of-type {
    padding-right: 40px;
    border: none;
    border-right: 0.5px solid var(--color-gray-light);
  }

  .apply-tile:last-of-type {
    padding-left: 40px;
    border: none;
    border-left: 0.5px solid var(--color-gray-light);
  }
}


/*
==================
CONSULTING SECTION
------------------
*/

.consulting-section {
  background-color: var(--color-background-darker);
  background: url('/images/blue-texture-background.jpg');
  background-size: cover;
  padding-top: 4rem;
  padding-bottom: 4rem;
  position: relative;
}

.consulting-section::before {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  border-left: 100vw solid transparent;
  border-right: 0 solid transparent;
  border-top: var(--welcome-section-triangle-height) solid var(--color-background);
}

.consulting-section::after {
  content: "";
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  bottom: 0;
  border-left: 100vw solid transparent;
  border-right: 0 solid transparent;
  border-bottom: var(--welcome-section-triangle-height) solid var(--color-background);
}

.consulting-section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.consulting-info-container {
  width: 100%;
}

.consulting-section .section-title {
  color: var(--color-white);
}

.consulting-section .section-title .title-number {
  color: var(--color-logo-blue-light);
}

.consulting-desc {
  width: 100%;
  padding-top: 1rem;
  padding-bottom: 2rem;
  font-size: 1rem;
  text-align: justify;
  color: var(--color-white);
}

.contact-promo-link {
  color: var(--color-white) !important;
  border-color: var(--color-white) !important;
}

.contact-promo-link:hover {
  background-color: var(--color-white) !important;
  color: var(--color-logo-blue-dark) !important;
}

.consulting-visuals-container {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.consulting-icons-container {
  width: 100%;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.consulting-icon-container {
  width: 100%;
  text-align: center;
}

.consulting-icon {
  width: 90%;
  max-width: 180px;
  object-fit: contain;
}

.consulting-icon-desc {
  font-size: 1.2rem;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-white);
}

.consulting-icon-desc .desc-number {
  color: var(--color-logo-blue-light);
  font-weight: bold;
}

.consulting-triangle-icon {
  width: 20px;
}

.consulting-image-container {
  display: none;
}

.consulting-image {
  width: 100%;
}


@media screen and (min-width: 800px) {
  .consulting-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .consulting-section-content {
    flex-direction: row;
  }

  .consulting-info-container {
    width: 70%;
  }

  .consulting-visuals-container {
    width: 30%;
  }

  .consulting-icons-container {
    padding: 0;
  }

  .consulting-icon {
    max-width: 120px;
  }

  .consulting-icon-desc {
    font-size: 1rem;
  }
}

@media screen and (min-width: 1000px) {
  .consulting-info-container {
    width: 55%;
  }

  .consulting-visuals-container {
    width: 45%;
  }
}


@media screen and (min-width: 1240px) {
  .consulting-section {
    padding-top: 4rem;
    padding-bottom: 0;
  }

  .consulting-section-content {
    align-items: flex-start;
  }

  .consulting-info-container {
    width: 45%;
    padding-bottom: 4rem;
  }

  .consulting-visuals-container {
    width: 55%;
  }

  .consulting-icons-container {
    width: 35%;
    padding-top: 4rem;
  }

  .consulting-image-container {
    display: block;
    width: 65%;
  }

  .consulting-image-container {
    padding-top: 2rem;
  }
}


/*
==================
FAQ SECTION
------------------
*/


.faq-section-content {
  width: 100%;
  padding-top: 3rem;
  padding-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
}

.faq-section .section-title {
  margin: 0;
  padding-bottom: 2rem;
}

.question-tile {
  width: 100%;
  max-width: 600px;
  overflow: hidden;
  border-bottom: 1px solid var(--color-gray-light);
}

.question-tile:first-of-type {
  border-top: 2px solid var(--color-logo-blue-dark);
}

.question-header {
  width: 100%;
  padding-right: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.question-text {
  padding: 0.4rem 0;
  padding-right: 0.2rem;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: left;
  flex: 1;
}

.answer-toggle {
  width: 40px;
  text-align: center;
  padding: 0.4rem;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1;
}

.question-tile:not(.open) .answer-toggle .minus-icon {
  display: none;
}

.question-tile.open .answer-toggle .plus-icon {
  display: none;
}

.answer-container {
  width: 100%;
  height: 0;
  overflow: hidden;
  transition: var(--transition-question-tile);
}

.answer {
  padding-top: 0.4rem;
  padding-bottom: 1rem;
  font-size: 1.1rem;
  text-align: left;
}


.letter-a {
  width: 500px;
  object-fit: contain;
  position: absolute;
  right: 0;
  bottom: -140px;
  display: none;
}

@media screen and (min-width: 1100px) {
  .letter-a {
    display: block;
  }
}