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

/* p {
  line-height: 28px;
  text-align: justify;
} */

.header-scrolled {
  background: transparent !important;
}

.hero {
  background: url("../assets/images/hero-bg-1.webp") no-repeat center
    center/cover;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 100%;
  height: 300px;
  background: linear-gradient(to top, #3b4331 20%, transparent);
}

.who-we-are-section {
  background: url("../assets/images/who-we-are-bg.webp") no-repeat center
    center/cover;

  position: relative;
}

.who-you-are-section {
  background: url("../assets/images/who-you-are-bg.webp") no-repeat center
    center/cover;
}

.all-what-changes-section {
  background: url("../assets/images/what-changes-bg.webp") no-repeat center
    center/cover;
}
.and-so-section {
  background: url("../assets/images/and-so-bg.webp") no-repeat center
    center/cover;
}
.why-change-section {
  background: url("../assets/images/why-change-bg.webp") no-repeat center
    center/cover;
}
.free-section {
  background: url("../assets/images/free-bg.webp") no-repeat center center/cover;
}
.what-we-will-section {
  background: url("../assets/images/challenging-bg.webp") no-repeat center
    center/cover;
}
.imagine-world-section {
  background: url("../assets/images/imagne-bg.webp") no-repeat center
    center/cover;
}
.join-us-section {
  background: url("../assets/images/join-us-bg.webp") no-repeat center
    bottom/cover;
}
.chalanging-industrial {
  background: url("../assets/images/challenging-bg.webp") no-repeat center
    bottom/cover;
}

.hero h1,
.who-we-are-section h1,
.who-you-are-section h1,
.all-what-changes-section h1,
.and-so-section h1,
.why-change-section h1,
.free-section h1,
.what-we-will-section h1,
.imagine-world-section h1,
.join-us-section h1,
.chalanging-industrial h1 {
  font-family: Adoretta-Holland-Serif, sans-serif;
}

.what-are-we-section h2,
.who-we-are-section h2,
.who-you-are-section h2,
.all-what-changes-section h2,
.and-so-section h2,
.why-change-section h2,
.free-section h2,
.what-we-will-section h2,
.imagine-world-section h2,
.chalanging-industrial h2 {
  font-family: InriaSans-Bold, sans-serif;
}

.hamburger.opened span[data-position="top"] {
  transform: translateY(0) rotate(45deg) scaleX(1.05);
}
.hamburger.opened span[data-position="bottom"] {
  transform: translateY(-6px) rotate(-45deg) scaleX(1.05);
}
.hamburger.opened span[data-position="hidden"] {
  transform: scaleX(0);
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  transform-style: preserve-3d;
  pointer-events: none;
  will-change: transform;
  perspective: 1000px;
  background: black;
  transform: translateY(-100%);
  opacity: 0;
  /* clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); */
  z-index: 99;
  background: url("../assets/images/join-us-bg.webp") no-repeat center
    bottom/cover;
}

.nav-link {
  position: relative;
}

.nav-link:before {
  left: 0;
  z-index: 1;
  content: "";
  width: 100%;
  height: 2px;
  bottom: -2px;
  background: #b99273;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 500ms cubic-bezier(0.215, 0.61, 0.355, 1);
}

.nav-link:hover:before {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active:before {
  transform: scaleX(1);
  transform-origin: left;
}

.menu ul li a {
  transform: translateY(30px);
  opacity: 0;
}

.more-hidden-content {
  position: relative !important;
  max-height: 60px !important;
  overflow: hidden !important;
}

.show-content {
  max-height: 100% !important;
}

.hidden-content::after {
  position: absolute;
  height: 200px;
  width: 100%;
  content: "";
  background: rgb(255, 255, 255);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.19091386554621848) 0%,
    rgba(255, 255, 255, 0.4514180672268907) 50%,
    rgba(255, 255, 255, 1) 100%
  );
  top: -100%;
  left: 0;
}

.card-section .card,
.join-us-section-2 .card {
  overflow: hidden;
  z-index: 0;
}
.card-section .card span {
  transform: translateY(300%);
  perspective: 3000px;
  transition: all 1s ease-in-out !important;
}
.join-us-section-2 .card span {
  transform: translateY(100%) !important;
  perspective: 3000px;
}

.card-section .card .craft-card-title {
  transform: translateY(358%) !important;
}

.join-us-section-2 .card .sub-next-title {
  transform: translateY(285%) !important;
}
.join-us-section-2 .card .creators-title {
  transform: translateY(166%) !important;
}
.card-section .card:hover span,
.join-us-section-2 .card:hover span,
.card-section .onView span,
.card-section .onView .craft-card-title,
.join-us-section-2 .onView span,
.join-us-section-2 .onView .sub-next-title,
.join-us-section-2 .onView .creators-title {
  transform: translateY(-10%) !important;
}
.card-section .card p,
.join-us-section-2 .card p,
.join-us-section-2 .card .form-container {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%) !important;
  width: 70%;
  line-height: 22px;
  transform: translateY(200%) !important;
  transition: all 1s ease-in-out !important;
}
.card-section .card:hover p,
.join-us-section-2 .card:hover p,
.join-us-section-2 .card:hover .form-container,
.card-section .onView p,
.join-us-section-2 .onView .form-container,
.join-us-section-2 .onView p {
  clip-path: polygon(0% 0%, 100% 0, 100% 100%, 0 100%) !important;
  transform: translateY(0) !important;
}
.card-section .card:hover img,
.join-us-section-2 .card:hover img,
.card-section .onView img,
.join-us-section-2 .onView img {
  /* transform: translateY(0); */
  clip-path: polygon(0% 0%, 100% 0, 100% 100%, 0 100%) !important;
  transform: scale(1) !important;
}

.card-section .card img,
.join-us-section-2 .card img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  /* transform: translateY(-100%); */
  transition: all 0.6s ease-in-out;
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
  transform: scale(1.2);
}

/* // add as onView class */
/* .card-section .onView span,
.card-section .onView .craft-card-title {
  transform: translateY(-10%) !important;
} */
/* .card-section .onView p,
.onView .form-container {
  clip-path: polygon(0% 0%, 100% 0, 100% 100%, 0 100%) !important;
  transform: translateY(0) !important;
} */

/* .card-section .onView img {
  clip-path: polygon(0% 0%, 100% 0, 100% 100%, 0 100%) !important;
  transform: scale(1) !important;
} */

img[data-scroll-class="appear"],
h1[data-scroll-class="appear"],
h2[data-scroll-class="appear"],
p[data-scroll-class="appear"] {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

@media (max-width: 935px) {
  img[data-scroll-class="appear"],
  h1[data-scroll-class="appear"],
  h2[data-scroll-class="appear"],
  p[data-scroll-class="appear"] {
    opacity: 1;
  }
}

.appear {
  opacity: 1 !important;
}

.rotating-main-text {
  position: relative;
  z-index: 2;
  display: block;
}

.text {
  animation: textRotate 15s linear infinite;
}

.the-shift-section {
  background: url("../assets/images/the-shift-bg.webp") no-repeat center center /
    cover;
  background-position: bottom;
  position: relative;
}

@media (max-width: 768px) {
  .the-shift-section {
    height: 1044px;
    background: url("../assets/images/the-shift-bg-tablet.webp") no-repeat;
  }
}

@media (max-width: 480px) {
  .the-shift-section {
    height: 1285px;
    background: url("../assets/images/the-shift-bg-mobile.webp");
    background-position: center;
  }
}

@keyframes textRotate {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}
