/**
 * Homepage specific styling goes here. Excluded on all subpages
 *
 * @format
 */

/* For most builds, this stylesheet should be wiped and started fresh */

/* PRELOADER */
.preloader-outer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  height: 100vh;
  background-color: var(--color-white);
  transition: opacity 600ms ease-out;
}

.preloader-outer.active {
  visibility: visible !important;
}

.preloader-outer.preloader-remove {
  opacity: 0;
  pointer-events: none;
}

.preloader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.preloader-inner p {
  margin-bottom: 15px;
}

.preloader-inner p:last-of-type {
  margin: 0;
}

.preloader-part {
  margin: 20px;
  display: none;
}

.preloader-part-left.active {
  display: block;
  -webkit-animation: fadeinright 800ms ease-out;
  animation: fadeInRight 800ms ease-out;
}

.preloader-part-right.active {
  display: block;
  -webkit-animation: fadeinleft 500ms ease-out;
  animation: fadeInLeft 500ms ease-out;
}

/* hero */
.hero {
  color: var(--color-white);
  background-color: var(--color-black);
  border-bottom: 7px solid var(--color-primary);
}

.hero-holder {
  width: 100%;
  position: relative;
}

.hero-info {
  z-index: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: center;
  min-height: 100dvh;
  justify-content: center;
}

.hero-info h1,
.hero-info h2 {
  padding-top: 150px;
  color: inherit;
  line-height: 1;
  font-size: var(--font-size-h1);
}

.hero-info h1 span,
.hero-info h2 span {
  display: inline-block;

  /* animation-delay: 600ms; */
}

.hero-info h1 > div > span,
.hero-info h2 > div > span {
  display: block;
  font-size: 19px;
  letter-spacing: 8.55px;
  text-transform: uppercase;
}

.hero-info h1 > strong,
.hero-info h2 > strong {
  display: block;
  font-weight: 700;
  /* font-size: 4.688rem; */
  font-size: 4.2rem;
}

.hero-info h1 > strong > span,
.hero-info h2 > strong > span {
  display: block;
  /* animation-delay: 1500ms; */
  animation-delay: 500ms;
}

.hero-info h1 > strong > span + span,
.hero-info h2 > strong > span + span {
  /* animation-delay: 2000ms; */
}

.hero-image {
  min-height: 100dvh;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image,
.hero-image:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-image:before {
  content: '';
  pointer-events: none;
  background: linear-gradient(90deg, rgba(30, 30, 30, 0.8) 15%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-image-wrap {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

.hero-small-image {
  flex: 1;
  position: relative;
  text-align: center;
  height: 33.33%;
  animation-delay: 600ms;
}

.hero-small-image:nth-child(2) {
  animation-delay: 1200ms;
}

.hero-small-image:nth-child(3) {
  animation-delay: 1800ms;
}

.hero-small-image:nth-child(2) .hero-title span {
  animation-delay: 2000ms;
}

.hero-small-image:nth-child(3) .hero-title span {
  animation-delay: 2600ms;
}

.hero-small-image:before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background-color: var(--color-black);
  pointer-events: none;
  content: '';
}

.hero-small-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 100%;
  font-size: 50px;
  color: var(--color-white);
  transform: translateY(-50%);
}

.hero-title span {
  animation-delay: 1400ms;
}

.hero .swiper-pagination {
  bottom: 50px !important;
  width: 100% !important;
  /* max-width: calc(var(--width-normal) + var(--gutter-size) * 2) !important; */
  /* margin: 0 auto !important; */
  left: 50% !important;
  transform: translateX(-50%) !important;
  text-align: left !important;
  padding: 0 var(--gutter-size);
}

.hero .swiper-pagination .swiper-pagination-bullet {
  border-radius: 0 !important;
  background-color: transparent !important;
  border: 2px solid var(--color-white) !important;
}

.hero .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary) !important;
  border-color: var(--color-primary) !important;
}

@media screen and (min-width: 768px) {
  .hero {
    border-bottom: 9px solid var(--color-primary);
  }

  .hero-info {
    padding-top: 0;
    text-align: unset;
  }

  .hero-info h1,
  .hero-info h2 {
    padding-top: 120px;
  }

  .hero-info h1 > div > span,
  .hero-info h2 > div > span {
    font-size: 2.1875rem;
    letter-spacing: 15.75px;
  }

  .hero-info h1 > strong,
  .hero-info h2 > strong {
    font-size: 6.25rem;
    line-height: 1.2;
  }

  .hero-image-wrap {
    flex-direction: inherit;
  }

  .hero-small-image {
    flex: auto;
    width: 33.33%;
    height: 100%;
  }

  .hero-title {
    font-size: 40px;
  }
}

@media screen and (min-width: 1200px) {
  .hero-title {
    font-size: 70px;
  }
}

@media screen and (min-width: 1441px) {
  .hero-info h1 > span,
  .hero-info h2 > span {
    font-size: 2.188rem;
    letter-spacing: 0.969rem;
  }

  .hero-info h1 > strong,
  .hero-info h2 > strong {
    font-size: 8.125rem;
  }
}

/* intro */
.intro {
  margin-bottom: 66px;
  padding-top: 100px;
  position: relative;
}

.intro-left {
  position: relative;
  z-index: 1;
}

.intro-left h3 {
  letter-spacing: 4px;
  margin-bottom: 16px;
  font-size: 1rem;
  font-weight: 700;
}

.intro-left h2 {
  position: relative;
  font-size: 3.75rem;
  line-height: 1;
  margin-bottom: 36px;
  color: var(--color-secondary);
}

.intro-left h2:before {
  position: absolute;
  bottom: -11px;
  right: 200%;
  width: 100vw;
  height: 5px;
  content: '';
  pointer-events: none;
  background-color: var(--color-primary);
  animation-delay: 2000ms;
  transition: all 2.5s;
}

.intro-left h2.animated:before {
  right: 0;
}

.intro-left h2 strong {
  display: block;
  color: var(--color-primary);
}

.intro-right strong {
  color: var(--color-blue);
}

.intro-left strong {
  color: var(--color-blue);
}

.intro-image {
  margin-top: 40px;
  margin-left: calc(var(--gutter-size) * -1);
  margin-right: calc(var(--gutter-size) * -1);
}

.intro-image img {
  width: 100%;
  display: block;
}

.intro-shape {
  position: absolute;
  z-index: -1;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.2;
  pointer-events: none;
  margin-left: 4px;
  width: calc(100% + 212px);
  height: 505px;
}

.intro-shape img {
  width: 100%;
  height: 100%;
  display: block;
}

@media screen and (min-width: 768px) {
  .intro-holder {
    display: flex;
    justify-content: space-between;
  }

  .intro-left {
    width: 45%;
  }

  .intro-left h3 {
    letter-spacing: 5px;
    font-size: 1.125rem;
  }

  .intro-left h2 {
    margin-bottom: 70px;
  }

  .intro-left h2:before {
    bottom: -45px;
    height: 7px;
  }

  .intro-right {
    width: 46%;
  }

  .intro-image {
    margin: 0;
  }

  .intro-shape {
    margin-left: -276px;
    height: calc(100% + 20px);
  }
}

@media screen and (min-width: 1025px) {
  .intro {
    padding-top: 88px;
    margin-bottom: 88px;
  }

  .intro-shape {
    top: auto;
    bottom: -15px;
    width: auto;
    height: auto;
    margin-left: -310px;
  }

  .intro-shape img {
    width: auto;
  }

  .intro-left {
    width: 43%;
    padding-top: 10px;
    padding-left: 20px;
  }

  .intro-left h2 {
    font-size: 5rem;
    margin-bottom: 104px;
  }

  .intro-right {
    width: 47.7%;
  }

  .intro-image {
    margin-top: 30px;
    width: calc(100% + 80px);
  }

  .intro-image img {
    width: auto;
  }
}

@media screen and (min-width: 1200px) {
  .intro-shape img {
    height: auto;
  }
}

@media screen and (min-width: 1441px) {
  .intro {
    /* margin-bottom: 177px; */
    margin-bottom: 120px;
    padding-top: 163px;
  }

  .intro-shape {
    margin-left: -476px;
  }

  .intro-left {
    width: 38.7%;
    padding-top: 0;
    padding-left: 0;
  }

  .intro-left h3 {
    font-weight: 900;
  }

  .intro-left h2:before {
    bottom: -47px;
  }

  .intro-right {
    width: 49.7%;
    padding-top: 32px;
  }

  .intro-image {
    margin-top: 52px;
  }
}

/* features */
.features {
  margin-bottom: 70px;
}

.features-content {
  text-align: center;
  margin: 0 auto;
  font-weight: 600;
}

.features-content h3 {
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.features-content h2 {
  font-size: 3.75rem;
  line-height: 1;
  color: var(--color-secondary);
}

.features-content h2 strong {
  display: block;
  color: var(--color-primary);
}

.features .practice-box-list {
  border-top: 1px solid var(--color-gray);
  border-bottom: 1px solid var(--color-gray);
}

@media screen and (min-width: 768px) {
  .features {
    margin-bottom: 77px;
  }

  .features-content {
    max-width: 775px;
    margin: 0 auto 46px;
  }

  .features-content h3 {
    letter-spacing: 5px;
    margin-bottom: 14px;
  }

  .features-content h2 {
    font-size: 5rem;
  }

  .features .practice-box-list {
    margin: 0 auto;
    max-width: 807px;
  }
}

@media screen and (min-width: 1441px) {
  .features {
    margin-bottom: 82px;
  }

  .features .practice-box-list {
    max-width: 100%;
  }
}

.color-block {
  width: 0%;
  height: inherit;
  background: var(--color-primary);
  position: absolute;
  display: flex;
}

.color-block.animate {
  animation: mainBlock 1.5s cubic-bezier(0.74, 0.06, 0.4, 0.92) forwards;
}

@keyframes mainBlock {
  0% {
    width: 0%;
    left: 0;
  }

  50% {
    width: 100%;
    left: 0;
  }

  100% {
    width: 0;
    left: 100%;
  }
}

/* Hero slide text animations */
/* .hero strong.overflow-hidden span.animate,
.hero .uppercase span.animate,
.hero .hero-title span.animate {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero strong.overflow-hidden span.animate.animated,
.hero .uppercase span.animate.animated,
.hero .hero-title span.animate.animated {
  opacity: 1;
  transform: translateY(0);
} */
