/* ----------- LOADER Section ------------- */
#img_Intro {
  width: 100%;
  height: 100%;
  background: url("../img/image_Nature'sGuardians/canvas title.webp") 50% 50%;
  background-size: cover;
  z-index: -1;
  transition: opacity 0.5s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

#img_Intro svg {
  width: 50%;
  opacity: 0;
}

#BlocvideoIntro {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #edeadd;
  z-index: 2000;
  transition: opacity 1s ease;
  opacity: 1;
  transform-origin: center;
  transform: scale(1.23) translateY(-50px);
}

#BlocvideoIntro.fadeout {
  opacity: 0;
}

#BlocvideoIntro.hidden {
  display: none;
}

#BlocvideoIntro.invisible {
  z-index: -999999999999999999999999999999999999999999999 !important;
}

/* ---------------- Hero Section --------------- */
#videoIntro {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  min-width: 177.78vh;
  min-height: 100vh;
  aspect-ratio: 16 / 9;
  transition: opacity 1s ease, visibility 0s 1s;
  pointer-events: none;
  border: none;
  z-index: 2;
}

#videoIntro.visible {
  opacity: 1;
  visibility: visible;
}

#videoIntro.hidden {
  opacity: 0;
  filter: blur(10px);
}

/* ---------------- Card Section --------------- */
.CardSectionContainer {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  padding: 64px;
}

.card {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 40em;
  display: flex;
  flex-direction: column;
  justify-content: center;

  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background: url("../img/Screenshot_2.webp") 50% 50%;
  opacity: 0.3;
  z-index: 1;
}

.card:nth-of-type(2)::before {
  background: url("../img/Screenshot_35.webp") 50% 50%;
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 4em;
  height: 100%;

  color: black;
  background-color: rgba(255, 255, 255, 0);
}

.card-title {
  margin-bottom: 24px;
}

.card h2 {
  position: relative;
  font-size: 2em;
  color: white;
  display: inline-block;
  z-index: 1;
  margin: 0;
}

.card h2 span {
  display: block;
}

.card p {
  font-size: 1.1em;
  line-height: 1.4;
}

.card button {
  position: absolute;
  bottom: 10%;
  left: 8%;
  transform: scale(0.8);
  display: inline-block;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  z-index: 999;
  cursor: none;
}
.card button.learn-more {
  width: 12rem;
  height: auto;
}
.card button.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #1d7031;
  border-radius: 1.625rem;
}
.card button.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}
.card button.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}
.card button.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}
.card button.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #1d7031;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}
.card button:hover .circle {
  width: 100%;
}
.card button:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem, 0);
}
.card button:hover .button-text {
  color: #fff;
}

@media screen and (max-width: 1200px) {
  .card-content {
    padding: 2em;
  }

  .card-content p {
    font-size: 1em;
  }
}

@media screen and (max-width: 768px) {
  .CardSectionContainer {
    flex-direction: column;
    margin: 0;
    padding: 32px;
  }

  .card {
    height: auto;
    padding: 32px;
  }

  .card-content {
    padding: 0;
  }

  .card-content h2 {
    font-size: 1.5em;
  }

  .card button {
    position: static;
  }
}

@media screen and (max-width: 480px) {
  .CardSectionContainer {
    padding: 16px;
    gap: 24px;
  }

  .card {
    height: auto;
  }

  .card-content h2 {
    font-size: 1.2em;
  }

  .card-content p {
    font-size: 0.8em;
  }
}

@media screen and (max-width: 400px) {
  .CardSectionContainer {
    margin-top: 68px;
  }
  .card {
    padding: 12px;
  }

  .card-title {
    margin-bottom: 12px;
  }

  .card-content h2 {
    font-size: 1em;
  }
}

/* ------------------ ABOUT SECTION ------------------ */
.AboutSection {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.blocTextHB {
  max-width: 1286px;
  margin: 0 40px;
  height: 50%;
  top: 50%;
  left: 8em;
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* transform: translateY(-50%); */
}
.blocTextHB h1 {
  color: white;
}
.blocTextHB p {
  font-size: max(2.2vw, 16px);
  font-weight: 400;
  line-height: 150%;
}

.blocTextHB .line-wrapper {
  line-height: normal;
  height: auto;
}

@media screen and (max-width: 768px) {
  .blocTextHB {
    gap: 20px;
  }
}

/* -------------------------- SLIDER SECTION -------------------------- */
.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  user-select: none;
  overflow: hidden;
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  position: relative;
}

.slideMap {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slider-control {
  z-index: 2;
  position: absolute;
  top: 0;
  width: 12%;
  height: 100%;
  transition: opacity 0.3s;
  opacity: 0;
}

.slider-control:not(.inactive):hover {
  opacity: 1;
  cursor: none;
}

.slider-control.left {
  cursor: none;
  left: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.18) 0%,
    transparent 100%
  );
}

.slider-control.right {
  cursor: none;
  right: 0;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.18) 0%,
    transparent 100%
  );
}

.slider-pagi {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  padding: 0;
  bottom: 2rem;
  display: flex;
  justify-content: center;
  gap: 16px;
  list-style: none;
  font-size: 0;
  cursor: none;
}

.slider-pagi__elem {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid #fff;
  position: relative;
  cursor: none;
}

.slider-pagi__elem::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 1.2rem;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s;
}

.slider-pagi__elem.active::before,
.slider-pagi__elem:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.slide__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}

.slide__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100%;
  min-height: 810px;
  transition: transform 0.5s 0.5s, opacity 0.2s 0.5s;
  transform: translate3d(-20%, 0, 0);
  opacity: 0;
  will-change: transform, opacity;
}

.slideMap.active .slide__overlay {
  opacity: 1;
  transform: translateX(0);
}

.slide__text {
  position: absolute;
  width: 25%;
  bottom: 20%;
  left: 9%;
  color: #fff;
  transition: transform 0.5s 0.8s, opacity 0.5s 0.8s;
  opacity: 0;
}

.slide__overlay-path {
  fill: #1d7031;
  stroke: black;
  stroke-width: 4;
  transform-origin: center;
  transform: scale(1.4) translateX(80px);
  opacity: 0.7;
}

.slide__text-heading {
  position: absolute;
  top: -135px;
  font-size: 3.6vw;
  margin-bottom: 2rem;
  line-height: 1em;
  text-transform: uppercase;
  background-color: #1d7031;
  width: auto;
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.slide__text-heading2 {
  margin-bottom: 16px;
  font-size: 1.2vw;
  line-height: 1em;
  text-transform: uppercase;
}

.slide__text-desc {
  font-size: 1.2vw;
  margin-bottom: 1.5rem;
  font-weight: 100;
}

@media screen and (max-width: 768px) {
  .slide__text {
    width: 100%;
    left: 0;
    bottom: 20%;
    padding: 0 20px;
  }

  .slide__text-heading {
    position: relative;
    top: auto;
    width: fit-content;
    margin-bottom: 40px;
    font-size: 24px;
  }

  .slide__text-heading2 {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .slide__text-desc {
    font-size: 12px;
    padding-right: 40px;
  }
}

.slideMap:nth-child(1) .slide__bg {
  transform: translate3d(0%, 0, 0);
}
.slideMap:nth-child(2) .slide__bg {
  transform: translate3d(50%, 0, 0);
}
.slideMap:nth-child(3) .slide__bg {
  transform: translate3d(100%, 0, 0);
}
.slideMap:nth-child(4) .slide__bg {
  transform: translate3d(150%, 0, 0);
}
