#home #container .s1 {
  position: relative;
  height: 130vh;
  max-height: 1400px;
  background: #EFEFEF;
  overflow: hidden;
}

#home #container .s1 .content {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  text-align: center;
  z-index: 1;
}

#home #container .s1 .content p {
  font-size: 1.12rem;
  line-height: 1.5rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

#home #container .s1 .content h1 {
  font-family: "Roboto Serif", serif;
  font-style: normal;
  font-weight: 400;
  font-size: 3.89rem;
  line-height: 4.5rem;
  color: #5C676F;
  margin-bottom: 2.23rem;
}

#home #container .s1 .content .hero-btn {
  display: inline-block;
  background: #2E2826;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 16px 26px 16px 26px;
  text-transform: uppercase;
  letter-spacing: 0.17rem;
  color: #fff;
  border-radius: 23px;
  transition: background-color .3s ease;
}

#home #container .s1 .content .hero-btn span {
  display: inline-block;
  position: relative;
  background-image: url(/i/svg/play-btn-icon.svg);
  background-repeat: no-repeat;
  background-size: 8px;
  background-position: 100%;
  padding-right: 21px;
  transition: all .3s ease;
}

#home #container .s1 .content .hero-btn:hover {
  background: #fff;
}

#home #container .s1 .content .hero-btn:hover span {
  background-image: url(/i/svg/play-btn-icon-cl.svg);
  color: #2E2826;
}

#home #container .s1 .forest {
  display: block;
  height: 90vh;
  max-height: 800px;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(/i/hero-mountains2.png) no-repeat top center/cover;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

#home #container .s1 .knot {
  display: block;
  width: 40vw;
  height: 55vh;
  background: url(/i/Knot_large.png) no-repeat center/contain;
  position: fixed;
  top: 85%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: transform;
}

#home #container .s1 .cloud {
  width: 40vw;
  height: 40vh;
  position: absolute;
  top: 70%;
  left: 0;
  transform: translateY(-50%);
  pointer-events: none;
  will-change: transform;
  mix-blend-mode: screen;
  opacity: 0.6;
  z-index: 10;
}

#home #container .s1 .cloud.left {
  background: url(/i/left-cloud.png) no-repeat center/contain;
}

#home #container .s1 .cloud.right {
  left: auto;
  right: 0;
  background: url(/i/right-cloud.png) no-repeat center/contain;
}

#home #container .s2 {
  background: #fff;
  padding: 8.34rem 0 11rem 0;
  z-index: 1;
  position: relative;
}

#home #container .s2 .intro {
  text-align: center;
  margin-bottom: 5.55rem;
}

#home #container .s2 .intro .icon {
  width: 86px;
  height: 86px;
  background: url(/i/jfg_logomark-new.png) no-repeat center/contain;
  margin: 0 auto 1.88rem auto;
}

#home #container .s2 .block_top {
  padding-top: 100px;
}

#home #container .s2 .next_block {
  padding-top: 100px;
}

#home #container .s2 .cards {
  position: relative;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 60vh;
  margin-bottom: 90px;
}

#home #container .s2 .custom-card {
  max-width: 1640px;
  width: 100%;
  margin: 0 auto;
  position: absolute;
  top: 0px;
  height: 76vh;
  margin-bottom: 50px;
  border-radius: 43px;
  overflow: hidden;
}

#home #container .s2 .custom-card > div {
  width: calc(100% - 5rem);
  max-width: 1364px;
  margin: 0 auto;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

#home #container .s2 .custom-card h2 {
  width: 40%;
  max-width: 414px;
  color: #fff;
}

#home #container .s2 .custom-card p {
  font-size: 1.94rem;
  line-height: 3rem;
  color: #fff;
  width: 100%;
  max-width: 900px;
}

#home #container .s2 .card1 {
  background: url(/i/our-legacy-bg-img.jpg) no-repeat center/cover;
}

#home #container .s2 .card2 {
  background: url(/i/our-clientele-bg-img.jpg) no-repeat top/cover;
}

/***** MEDIA *****/
@media screen and (max-width: 1100px) {
  #home #container .s1 {
    height: 100vh;
    max-height: 1300px;
  }
  #home #container .s1 .content {
    top: 35%;
  }
  #home #container .s1 .content h1 {
    font-size: 2.7rem;
    line-height: 3.5rem;
  }
  #home #container .s1 .knot {
    top: 68%;
  }
  #home #container .s1 .cloud {
    top: 77%;
  }
  #home #container .s1 .forest {
    height: 55vh;
    background-position: top left;
  }
  #home #container .s2 {
    padding: 8.34rem 0;
  }
  #home #container .s2 .intro h2 {
    font-size: 2.2rem;
    line-height: 3rem;
  }
  #home #container .s2 .intro h2 br {
    display: none;
  }
  #home #container .s2 .cards {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
    margin-bottom: 0;
  }
  #home #container .s2 .custom-card {
    position: relative;
    height: auto;
    padding: 7rem 0;
    top: auto;
  }
  #home #container .s2 .custom-card > div {
    top: auto;
    transform: none;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
  }
  #home #container .s2 .custom-card h2 {
    width: auto;
    max-width: none;
  }
  #home #container .s2 .custom-card h2 br {
    display: none;
  }
  #home #container .s2 .custom-card p {
    font-size: 1.3rem;
    line-height: 2rem;
    width: auto;
    max-width: none;
  }
  #home #container .s2 .custom-card:last-of-type {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 980px) {
  #home #container .s1 {
    max-height: 1100px;
  }
}

@media screen and (max-height: 800px) {
  #home #container .s1 {
    height: auto;
    padding: 10rem 0 12rem 0;
  }
  #home #container .s1 .content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
  }
  #home #container .s1 .content p {
    font-size: 1rem;
    line-height: 1.4rem;
  }
  #home #container .s1 .content h1 {
    font-size: 2.3rem;
    line-height: 2.9rem;
  }
  #home #container .s1 .content .hero-btn {
    font-size: 0.7rem;
  }
  #home #container .s1 .forest {
    height: 400px;
  }
}

@media screen and (max-width: 767px) {
  #home #container .s1 {
    height: auto;
    max-height: none;
    padding: 10rem 1rem 17rem 1rem;
  }
  #home #container .s1 .content {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
  }
  #home #container .s1 .content p {
    font-size: 1rem;
    line-height: 1.4rem;
  }
  #home #container .s1 .content h1 {
    font-size: 2rem;
    line-height: 2.7rem;
    margin-bottom: 1rem;
  }
  #home #container .s1 .content h1 br {
    display: none;
  }
  #home #container .s1 .content .hero-btn {
    font-size: 0.7rem;
    padding: 13px 23px;
    position: relative;
    z-index: 10;
  }
  #home #container .s1 .forest {
    height: 350px;
    background-position: top left;
  }
  #home #container .s1 .knot, #home #container .s1 .cloud {
    top: 65%;
  }
  #home #container .s1 .knot {
    display: none;
  }
  #home #container .s2 {
    padding: 6rem 0;
  }
  #home #container .s2 .intro {
    margin-bottom: 3rem;
  }
  #home #container .s2 .intro h2 {
    font-size: 1.5rem;
    line-height: 2.1rem;
  }
  #home #container .s2 .intro .icon {
    width: 75px;
    height: 75px;
    margin-bottom: 1.5rem;
  }
  #home #container .s2 .custom-card {
    padding: 6rem 0;
  }
  #home #container .s2 .custom-card > div {
    width: calc(100% - 2rem);
    gap: 1rem;
  }
  #home #container .s2 .custom-card p {
    font-size: 1.1rem;
    line-height: 1.7rem;
  }
  #home #container .s2 .card1 {
    background-image: url(/i/our-legacy-bg-img.jpg);
  }
  #home #container .s2 .card2 {
    background-image: url(/i/our-clientele-bg-img.jpg);
  }
}
