/* ===== Footer ===== */
#footer-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-height: 740px;
  color: var(--dl-color-theme-accent1);
}

#footer-section .footer-gray-accent {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 150px;
  min-height: 444px;
  top: 120px;
}

#footer-section .footer-gray-accent .footer-gray-main-accent {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: var(--color-gray-light) url('../assets_revamp/footer-background.png') no-repeat bottom
    left / 50% auto;
  clip-path: polygon(0 0, 50% 10%, 100% 20%, 100% 80%, 50% 90%, 0 100%);
}

#footer-section .footer-gray-accent .footer-gray-sub-accent {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-color: var(--color-gray-mid);
  clip-path: polygon(0 20%, 50% 10%, 100% 0, 100% 100%, 50% 90%, 0 80%);
}

#footer-section .footer-gray-accent .footer-cta-content {
  width: 700px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 5;
  gap: 16px;
}

#footer-section .footer-gray-accent .footer-cta-content h1 {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--dl-color-grays-dark80);
}

#footer-section .footer-gray-accent .footer-cta-content p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: var(--dl-color-grays-dark80);
}

#footer-section .footer-gray-accent .footer-cta-content .tools {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-top: 16px;
}

#footer-section .footer-gray-accent .footer-cta-content .tools a {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  background-color: var(--dl-color-theme-primary1);
  color: var(--dl-color-theme-accent1);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#footer-section .footer-gray-accent .footer-cta-content .tools a:hover {
  background-color: var(--dl-color-theme-primary2);
}

#footer-section .footer-primary-accent {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 142px 0 32px;
  bottom: 0;
}

#footer-section .footer-primary-accent .footer-primary-main-accent {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  pointer-events: none;
  background-color: var(--color-font-accent);
  clip-path: polygon(0 0, 50% 10%, 100% 20%, 100% 100%, 0 100%);
}

#footer-section .footer-primary-accent .footer-primary-sub-accent {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  pointer-events: none;
  background-color: var(--dl-color-theme-primary2);
  clip-path: polygon(0 20%, 50% 10%, 100% 0, 100% 100%, 0 100%);
}

#footer-section .footer-content {
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 80%;
}

#footer-section .footer-content .content1 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  color: var(--dl-color-theme-accent1);
}

#footer-section .footer-content .content1 .layout-content1,
#footer-section .footer-content .content1 .layout-content2 {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

#footer-section .footer-content .content1 .layout-content3 {
  display: flex;
  flex-direction: column;
  width: 324px;
}

#footer-section .footer-content .content1 .layout-content1 .address {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#footer-section .footer-content .content1 .layout-content1 .title-content {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.15px;
}

#footer-section .footer-content .content1 .layout-content1 p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 200;
  line-height: 24px;
  letter-spacing: 0.5px;
}

#footer-section .footer-content .content1 .layout-content1 .mail-address {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#footer-section .footer-content .content1 .layout-content1 .mail-tdi {
  display: flex;
  align-items: center;
}

#footer-section .footer-content .content1 .layout-content1 .mail-address .mail-tdi p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 200;
  line-height: 24px;
  letter-spacing: 0.5px;
}

#footer-section .footer-content .content1 .layout-content1 img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

#footer-section .footer-content .content1 .layout-content2 .about,
#footer-section .footer-content .content1 .layout-content2 .license {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#footer-section .footer-content .content1 .layout-content2 .title-content {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.15px;
}

#footer-section .footer-content .content1 .layout-content2 ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 200;
  letter-spacing: 0.25px;
}

#footer-section .footer-content .content1 .layout-content2 .img-lists {
  display: flex;
  align-items: center;
  gap: 16px;
}

#footer-section .footer-content .content1 .layout-content2 .img-lists img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

#footer-section .footer-content .content1 .layout-content3 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#footer-section .footer-content .content1 .layout-content3 .title-content {
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.15px;
}

#footer-section .footer-content .content1 .layout-content3 .desc-layout-content3 {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 200;
  line-height: 24px;
  letter-spacing: 0.5px;
}

#footer-section .footer-content hr {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

#footer-section .footer-content .content2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 200;
  line-height: 20px;
  letter-spacing: 0.25px;
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  #footer-section {
    width: 100%;
    max-height: 1610px;
    padding: 0;
    margin: 0;
  }

  #footer-section .footer-gray-accent {
    width: 100%;
    min-height: 750px;
    padding: 0 24px;
  }

  #footer-section .footer-gray-accent .footer-gray-main-accent {
    width: 100%;
    clip-path: polygon(0 3.5%, 100% 7%, 100% 100%, 0 100%);
    background: var(--color-gray-light);
  }

  #footer-section .footer-gray-accent .footer-gray-main-accent::before {
    content: '';
    position: absolute;
    inset: 20px 0 0;
    background: url('../assets_revamp/Hero-Background-Mobile.png') no-repeat top / 100% auto;
    opacity: 80%;
    transform: scaleX(-1);
    z-index: -1;
  }

  #footer-section .footer-gray-accent .footer-gray-sub-accent {
    width: 100%;
    clip-path: polygon(0 3.5%, 100% 0, 100% 100%, 0 100%);
  }

  #footer-section .footer-gray-accent .footer-cta-content {
    width: 100%;
    margin-top: 260px;
    margin-bottom: 35px;
  }

  #footer-section .footer-gray-accent .footer-cta-content h1 {
    font-size: 20px;
    line-height: 28px;
  }

  #footer-section .footer-gray-accent .footer-cta-content p {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.25px;
    max-width: 90%;
  }

  #footer-section .footer-gray-accent .footer-cta-content .tools a {
    padding: 14px 18px;
    line-height: 20px;
    letter-spacing: 0.25px;
  }

  #footer-section .footer-primary-accent {
    padding: 100px 24px 50px;
  }

  #footer-section .footer-primary-accent .footer-primary-main-accent {
    clip-path: polygon(0 2.5%, 100% 5%, 100% 100%, 0 100%);
  }

  #footer-section .footer-primary-accent .footer-primary-sub-accent {
    clip-path: polygon(0 2.5%, 100% 0, 100% 100%, 0 100%);
  }

  #footer-section .footer-primary-accent .footer-content {
    width: 100%;
    gap: 32px;
  }

  #footer-section .footer-primary-accent .footer-content .content1 {
    flex-direction: column;
    gap: 40px;
  }

  #footer-section .footer-content .content1 .layout-content1,
  #footer-section .footer-content .content1 .layout-content2 {
    width: 100%;
  }

  #footer-section .footer-content .content1 .layout-content3 {
    width: 100%;
    gap: 12px;
  }

  #footer-section .footer-content .content1 .layout-content1 .mail-address .mail-tdi p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 200;
    line-height: 24px;
    letter-spacing: 0.5px;
  }

  #footer-section .footer-content .content1 .layout-content1 .title-content {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.15px;
  }

  #footer-section .footer-content .content1 .layout-content1 p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0.25px;
  }

  #footer-section .footer-content .content1 .layout-content1 .mail-address .mail-tdi p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0.25px;
  }

  #footer-section .footer-content .content1 .layout-content2 .title-content {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.15px;
  }

  #footer-section .footer-content .content1 .layout-content2 ul {
    font-size: 16px;
    font-weight: 300;
    line-height: 26px;
    letter-spacing: 0.25px;
  }

  #footer-section .footer-content .content1 .layout-content2 .img-lists {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #footer-section .footer-content .content1 .layout-content3 .title-content {
    font-family: 'Sora', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    letter-spacing: 0.15px;
  }

  #footer-section .footer-content .content1 .layout-content3 .desc-layout-content3 {
    gap: 16px;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0.25px;
  }

  #footer-section .footer-content .content2 {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    font-size: 16px;
    font-weight: 300;
    line-height: 20px;
    letter-spacing: 0.25px;
  }
}

/* ===== Tablet or iPad ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  #footer-section {
    max-height: 725px;
  }

  #footer-section .footer-gray-accent {
    padding: 75px 48px 150px;
  }

  #footer-section .footer-gray-accent .footer-gray-main-accent {
    background: var(--color-gray-light) url('../assets_revamp/footer-background.png') no-repeat
      bottom 45% left;
    background-size: 70% auto;
    clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
  }

  #footer-section .footer-gray-accent .footer-gray-sub-accent {
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 90%);
  }

  #footer-section .footer-primary-accent .footer-primary-main-accent {
    clip-path: polygon(0 0, 50% 5%, 100% 10%, 100% 100%, 0 100%);
  }

  #footer-section .footer-primary-accent .footer-primary-sub-accent {
    clip-path: polygon(0 10%, 50% 5%, 100% 0, 100% 100%, 0 100%);
  }

  #footer-section .footer-gray-accent .footer-cta-content {
    width: 50%;
  }

  #footer-section .footer-gray-accent .footer-cta-content h1 {
    font-size: 16px;
    line-height: 24px;
  }

  #footer-section .footer-gray-accent .footer-cta-content p {
    font-size: 14px;
    line-height: 18px;
  }

  #footer-section .footer-gray-accent .footer-cta-content .tools {
    margin-top: 12px;
  }

  #footer-section .footer-gray-accent .footer-cta-content .tools a {
    font-size: 14px;
    font-weight: 400;
    padding: 14px 18px;
  }

  #footer-section .footer-primary-accent {
    padding: 120px 0 40px;
  }

  #footer-section .footer-content {
    width: 90%;
  }

  #footer-section .footer-content .content1 .layout-content1 {
    max-width: 30%;
  }

  #footer-section .footer-content .content1 .layout-content2 {
    max-width: 30%;
  }

  #footer-section .footer-content .content1 .layout-content3 {
    max-width: 30%;
  }

  #footer-section .footer-content .content1 .layout-content1 p,
  #footer-section .footer-content .content1 .layout-content1 .mail-address .mail-tdi p,
  #footer-section .footer-content .content1 .layout-content2 ul,
  #footer-section .footer-content .content1 .layout-content3 .desc-layout-content3 {
    font-size: 14px;
    line-height: 22px;
  }

  #footer-section .footer-content .content1 .layout-content2 .img-lists {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #footer-section .footer-content .content2 p,
  #footer-section .footer-content .content2 span a {
    font-size: 14px;
    line-height: 22px;
  }
}
