/* ===================================
   HERO SECTION
   =================================== */

/* Hero Main Container */
#hero {
  background: var(--secondary-400);
  overflow: hidden;
}

/* Hero Layout Container */
.hero-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
  min-height: 773px;
  padding: 20px;
}

@media screen and (max-width: 1920px) {
  .hero-container {
    min-height: 100vh;
  }
}

/* Hero Background Text */
.bg-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bg-text img {
  width: 100%;
  height: auto;
}

.larger-bg-test {
  display: none;
}

.smallest-bg-test {
  display: block;
}

@media screen and (min-width: 1024px) {
  .larger-bg-test {
    display: block;
  }

  .smallest-bg-test {
    display: none;
  }
}

/* Hero Content Z-Index */
.text-contents,
.before-after-image {
  z-index: 1;
}
.text-contents.hero {
  padding-left: 72px;
}

/* Hero Text Content */
.text-contents .bioswitch-text {
  font-family: var(--font-skywalk);
  font-size: 26px;
  text-transform: uppercase;
  letter-spacing: -0.512px;
  color: var(--primary-500);
}

.text-contents .hero-heading {
  font-size: clamp(48px, 10vw, 80px);
  font-weight: 700;
  line-height: 1em;
  letter-spacing: -1.6px;
  color: var(--primary-500);
  margin-top: 32px;
}

.text-contents .description {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5em;
  color: #001581;
}

@media screen and (max-width: 768px) {
  .large-sc {
    max-width: 300px;
    margin: 0 auto;
  }
  .discount-heading {
    max-width: 300px;
    margin: 0 auto;
  }
}

.text-contents .description .strong {
  font-size: 24px;
  font-weight: 700;
}

/* Hero Image Content */
.before-after-image {
  position: relative;
  min-height: 100%;
  display: flex;
  width: 100%;
  padding-left: 56px;
  justify-content: center;
}

.before-after-image .image-container {
  padding-top: 40px;
  background: var(--primary-500);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 0.5px solid var(--primary-500);
  box-shadow: 8px 8px 0 0 rgba(0, 0, 0, 0.1);
}

.before-after-image .image-container.before {
  position: relative;
  rotate: -5deg;
}

.before-after-image .image-container.after {
  position: absolute;
  top: 110px;
  right: 0;
  rotate: 5deg;
}

.before-after-image .image-container img {
  width: 342px;
  height: 342px;
  object-fit: cover;
}

.before-after-image .image-container span {
  padding: 6px;
  font-size: 32px;
  font-family: var(--font-skywalk);
  letter-spacing: -0.631px;
  text-transform: uppercase;
  color: white;
  text-align: center;
  width: 100%;
}

/* Hero Symptoms Block */
.before-after-image .symptoms-block {
  position: absolute;
  top: 0px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: var(--primary-900);
  font-family: var(--font-inter);
  padding: 20px;
  border-radius: 28px 28px 28px 0px;
  box-shadow: 6.895px 6.895px 0 0 rgba(0, 0, 0, 0.04);
}

/* Hero Solution Block */
.before-after-image .solution-block {
  position: absolute;
  right: 50%;
  bottom: 0;
  z-index: 9;
  rotate: -5deg;
  transform: translate(-125%, 100%);
  color: var(--primary-900);
}

.before-after-image .solution-block .contents-wrapper {
  position: relative;
}

.before-after-image .solution-block .avatar-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--neutral-300);
  overflow: hidden;
  box-shadow: 2.784px 2.784px 0 0 rgba(0, 0, 0, 0.05);
}

.before-after-image .solution-block .avatar-wrapper img {
  width: 100%;
  height: auto;
  transform: scale(85%, 85%);
  transform: translate(-2px, 8px);

}

.before-after-image .solution-block .solution-texts {
  position: absolute;
  bottom: 50%;
  left: 50%;
  z-index: -1;
  background: white;
  display: flex;
  align-items: start;
  text-align: left;
  gap: 6px;
  border-radius: 28px 28px 28px 0px;
  width: 265px;
  padding: 20px;
  box-shadow: 6.895px 6.895px 0 0 rgba(0, 0, 0, 0.04);
}

/* ===================================
   DISCOUNT SECTION
   =================================== */

/* Discount Main Container */
#discountSection {
  background: #fcd2d0;
  padding: 108px 48px;
}

/* Discount Layout Container */
#discountSection .discountContainer {
  max-width: 770px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: center;
}

/* Discount Text Content */
#discountSection .text-contents {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#discountSection .discount-heading {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.11em;
  letter-spacing: -1.08px;
  color: var(--primary-500);
  font-family: var(--font-metropolis);
  margin-bottom: 8px;
}

#discountSection .discount-description {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.66em;
  color: #001581;
  font-family: var(--font-metropolis);
  max-width: 460px;
}

#discountSection .discount-opening {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.66em;
  color: #001581;
  font-family: var(--font-metropolis);
}

/* Discount QR Code */

#discountSection .qr-code .qr-code-figure {
  position: relative;
}
.qr-code-figure img {
  width: 250px;
  height: 250px;
}

#discountSection .qr-code .qr-code-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 106px;
  height: 106px;
  border-radius: 50%;
  border: 5px solid white;
  background: linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.2) 0%,
      rgba(255, 255, 255, 0.2) 100%
    ),
    linear-gradient(
      180deg,
      var(--secondary-400) 0%,
      var(--neutral-300) 47.12%,
      #fcd2d0 100%
    );
  padding: 10px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25em;
  color: var(--primary-500);
  font-family: var(--font-metropolis);
}

/* Discount Button */
#discountSection .begin-journey-btn {
  display: flex;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--primary-500);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35em;
  color: white;
  font-family: var(--font-inter);
}

/* ===================================
   FOOTER SECTION
   =================================== */

/* Footer Main Container */
#footer {
  background: var(--primary-500);
  padding: 12px 16px;
}

/* Footer Navigation */
#footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.875em;
  color: white;
  font-family: var(--font-metropolis);
}

/* ===================================
   MEDIA QUERIES
   =================================== */

/* Min-width: 768px */
@media (min-width: 768px) {
  #discountSection .begin-journey-btn {
    display: none;
  }
}

/* Max-width: 768px */
@media (max-width: 768px) {
  .text-contents .hero-heading {
    max-width: 300px;
    margin-inline: auto;
  }

  .text-contents .description .strong {
    font-size: 20px;
  }

  .before-after-image .image-container {
    padding-top: 28px;
  }

  .before-after-image .image-container img {
    width: 238px;
    height: 238px;
  }

  .before-after-image .image-container span {
    font-size: 18px;
    padding: 4px;
  }

  .before-after-image .symptoms-block {
    padding: 12px;
    font-size: 10px;
    top: 40px;
  }

  .before-after-image .solution-block .avatar-wrapper {
    width: 67px;
    height: 67px;
  }

  .before-after-image .solution-block .solution-texts {
    width: 200px;
    padding: 12px;
    font-size: 10px;
    border-radius: 20px 20px 20px 0px;
  }

  .before-after-image .solution-block .solution-texts img {
    width: 16px;
    height: auto;
  }

  #discountSection {
    padding: 48px 16px 72px 16px;
  }

  #discountSection .discountContainer {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  #discountSection .discount-heading {
    font-size: 48px;
  }

  #discountSection .discount-description {
    font-size: 15px;
  }

  #discountSection .discount-opening {
    font-size: 16px;
  }

  #discountSection .qr-code {
    display: none;
  }

}

/* Min-width: 1024px */
@media (min-width: 1024px) {
  .text-contents {
    max-width: 500px;
  }

  .before-after-image {
    justify-content: end;
  }

  .before-after-image .image-container.before {
    transform: translate(-80%, -25%);
  }
}

/* Max-width: 1024px */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
    gap: 64px;
    padding-bottom: 148px;
  }

  .bg-text {
    align-items: flex-end;
    top: 100px;
  }

  .text-contents.hero {
    padding-left: 0;
  }

  .before-after-image .image-container.before {
    transform: translate(-35%, -12%);
  }

  .before-after-image .image-container.after {
    right: 58%;
    transform: translateX(100%);
  }

  .before-after-image .symptoms-block {
    right: 44%;
    transform: translateX(85%);
    text-wrap: nowrap;
  }

  .before-after-image .symptoms-block img {
    width: 16px;
    height: auto;
  }

  .before-after-image .solution-block {
    transform: translate(-200%, 125%);
  }
}

/* Max-width: 1280px */
@media (max-width: 1280px) {
  .before-after-image {
    padding-left: 0;
  }

  .before-after-image .image-container img {
    width: 275px;
    height: 275px;
  }
}

/* Min-width: 1281px */
@media (min-width: 1281px) {
  .hero-container {
    padding: 90px 0px 90px 0px;
  }

  .before-after-image .image-container img {
    width: 342px;
    height: 342px;
  }

  .before-after-image .solution-block {
    transform: translate(-150%, 100%);
  }
}
ution-block {
  transform: translate(-150%, 100%);
}
