/* Base Styles */
.footer-banner {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.sarabun-light {
  font-family: 'Sarabun', sans-serif;
  font-weight: 300;
}

.footer-banner.uk-background-black {
  background-color: #000 !important;
  padding: 30px 20px;
}

.footer-banner.hero-banner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-banner .text-content,
.footer-banner .headline-wrapper {
  text-align: center;
}

.footer-banner .headline-wrapper {
  transition: transform 0.4s ease;
}

.footer-banner .headline {
  font-size: 68px;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: 3px;
  white-space: normal;
  word-break: break-word;
  color: #F3F4F8;
}

.footer-banner .subtext {
  font-size: 22px;
  color: #fff;
  margin-bottom: 8px;
  margin-top: 0 !important;
}

.footer-banner .gradient-heading {
  font-weight: bold;
  background: linear-gradient(90deg, #00B1F7, #1E1DA5, #8A69D4, #EC3FFF, #EB7722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% auto;
  animation: gradientHeading 5s ease infinite;
  display: inline-block;
}

.footer-banner .cta-button {
  margin-top: -10px !important;
  font-size: 27px;
  padding: 20px 30px;
  border-radius: 50px;
  font-weight: bold;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  background:
    linear-gradient(#000, #000) padding-box,
    linear-gradient(90deg, #00B1F7, #1E1DA5, #8A69D4, #EC3FFF, #EB7722) border-box;
  border: 3px solid transparent;
  background-size: 300% auto;
  background-position: 0% center;
  animation: gradientBorderMove 5s ease infinite;
  transition: all 0.4s ease;
}

.footer-banner .cta-button:hover {
  background: #B53FFF !important;
  color: #fff;
  border: 3px solid #B53FFF;
  background-image: none;
  text-decoration: none;
}

.footer-banner .cta-button:active,
.footer-banner .cta-button:visited {
  color: #fff !important;
}

/* Animations */
@keyframes gradientHeading {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

@keyframes gradientBorderMove {
  0%   { background-position: 0% center; }
  50%  { background-position: 100% center; }
  100% { background-position: 0% center; }
}

@media (min-width: 1760px) {
  .footer-banner.hero-banner {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .footer-banner .text-content {
    width: 75%;
    white-space: nowrap;
    padding-right: 0;
  }

  .footer-banner .image-wrapper {
    width: 25%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .footer-banner .headline-wrapper,
  .footer-banner .subtext,
  .footer-banner .cta-button {
    transform: none;
  }

  .footer-banner .headline {
    font-size: 68px;
    letter-spacing: 3px;
  }

  .footer-banner .subtext {
    font-size: 22px;
  }

  .footer-banner .cta-button {
    font-size: 27px;
    padding: 20px 30px;
  }
}

/* STANDARD & MEDIUM SCREENS (1024–1759px) */
@media (min-width: 1024px) and (max-width: 1759px) {
  .footer-banner.hero-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-banner .text-content {
    width: 100%;
    text-align: center;
  }

  .footer-banner .headline-wrapper,
  .footer-banner .subtext,
  .footer-banner .cta-button {
    transform: none;
  }

  .footer-banner .headline {
    font-size: 48px;
    letter-spacing: 2px;
    line-height: 1.2;
  }

  .footer-banner .subtext {
    font-size: 18px;
  }

  .footer-banner .cta-button {
    font-size: 22px;
    padding: 16px 24px;
  }

  .footer-banner .image-wrapper {
    width: 100%;
    text-align: center;
  }

  .footer-banner .image-wrapper img {
    width: 80%;
    max-width: 400px;
    height: auto;
  }
}

/* TABLETS AND DOWN (≤959px) */
@media (max-width: 959px) {
  .footer-banner.hero-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-banner .text-content,
  .footer-banner .image-wrapper {
    width: 100%;
    padding: 15px 0;
    text-align: center;
    margin-bottom: 0;
  }

  .footer-banner .headline {
    font-size: 42px;
    line-height: 1.2;
    letter-spacing: 1.5px;
  }

  .footer-banner .subtext {
    font-size: 16px;
  }

  .footer-banner .cta-button {
    font-size: 18px;
    padding: 12px 20px;
  }

  .footer-banner .image-wrapper img {
    width: 75%;
    max-width: 320px;
  }
}

/* SMALL MOBILE (≤480px) */
@media (max-width: 480px) {
  .footer-banner .headline {
    font-size: 36px;
  }

  .footer-banner .subtext {
    font-size: 14px;
  }

  .footer-banner .cta-button {
    font-size: 16px;
    padding: 10px 18px;
  }

  .footer-banner .image-wrapper img {
    width: 90%;
    max-width: 260px;
  }
}