/* ===== Hero Section ===== */
#hero {
  position: relative;
  width: 100%;
  overflow-x: hidden;
}

#hero .hero-section {
  position: relative;
  width: 100%;
  min-height: 704px;
  background: linear-gradient(#ececec, #e1e1e1);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  z-index: 1;
}

#hero .hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 704px;
  background-color: #b0b0b0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  z-index: 0;
}

#hero .hero-section .hero-background {
  width: 100%;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: url('../assets_revamp/Hero-Background.png') no-repeat bottom right / auto 100%, url('../assets_revamp/Hero-Super-Graphic.png') no-repeat bottom left / auto 100%;
  opacity: 80%;
}

#hero .hero-section .hero-content {
  width: fit-content;
  position: absolute;
  top: 210px;
  left: 150px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 24px;
}

#hero .hero-section .hero-content h1 {
  max-width: 520px;
  font-family: 'Sora', sans-serif;
  font-size: 45px;
  font-weight: 600;
  line-height: 52px;
  color: var(--color-font-mid);
}

#hero .hero-section .hero-content h1 .highlight-hero {
  position: relative;
  color: var(--color-font-accent);
  padding: 4px 10px;
  margin-right: -10px;
  left: -10px;
}

#hero .hero-section .hero-content h1 .highlight-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-highlight-accent);
  transform: skewX(-8deg);
  z-index: -1;
}

#hero .hero-section .hero-content h3 {
  max-width: 520px;
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.5px;
  color: var(--color-font-dark);
}

#hero .hero-section .hero-content a {
  padding: 16px 24px;
  margin-top: 16px;
  background-color: var(--dl-color-theme-primary1);
  color: var(--dl-color-theme-accent1);
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 12px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.1s ease;
}

#hero .hero-section .hero-content a:hover {
  background-color: var(--dl-color-theme-primary2);
}

@media (max-width: 767px) {
  #hero .hero-section {
    clip-path: polygon(0 0, 100% 0, 100% 97%, 0 100%);
    width: 100%;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    padding: 72px 0;
  }

  #hero .hero-accent {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 97%);
    bottom: 0;
  }

  #hero .hero-section .hero-background {
    position: static;
    min-height: 276px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../assets_revamp/Hero-Background-Mobile.png') no-repeat bottom / 100% auto;
  }

  #hero .hero-section .hero-content {
    margin-top: 32px;
    width: 100%;
    position: static;
    top: 0;
    left: 0;
    padding: 10px 24px;
    gap: 16px;
  }

  #hero .hero-section .hero-content h1 {
    max-width: 100%;
    font-size: 32px;
    line-height: 40px;
  }

  #hero .hero-section .hero-content h1 .highlight-hero {
    left: -10px;
  }

  #hero .hero-section .hero-content h3 {
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0.25px;
  }

  #hero .hero-section .hero-content a {
    margin-top: 8px;
    font-size: 16px;
    letter-spacing: 0.25px;
    padding: 14px 18px;
  }
}

/* ===== Tablet or iPad ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  #hero .hero-section {
    min-height: 560px;
    padding: 100px 0 80px;
  }

  #hero .hero-section .hero-background {
    background-size: auto 70%, auto 100%;
  }

  #hero .hero-accent {
    min-height: 560px;
  }

  #hero .hero-section .hero-content {
    left: 48px;
    top: 160px;
    gap: 24px;
  }

  #hero .hero-section .hero-content h1 {
    max-width: 420px;
    font-size: 36px;
    line-height: 44px;
  }

  #hero .hero-section .hero-content h3 {
    font-size: 16px;
    line-height: 22px;
  }

  #hero .hero-section .hero-content a {
    font-size: 16px;
    padding: 14px 20px;
  }
}
