.thanks-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px var(--layout-gutter) 100px;
  background-color: rgb(3, 33, 61);
  background-image: url('Thank-You.gif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.thanks-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(3, 33, 61, 0.8) 0%, rgba(3, 33, 61, 0.6) 100%);
  z-index: 1;
}

.thanks-hero .thanks-hero__container {
  padding: 0;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.thanks-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 8vw, 4rem);
  color: #FFFFFF;
  margin-bottom: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.thanks-hero__text {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: #FFFFFF;
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.thanks-hero__btn {
  display: inline-block;
  background-color: #FF8A3D;
  color: #03213D;
  padding: 16px 40px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.thanks-hero__btn:hover {
  background-color: #FF7A2F;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .thanks-hero {
    padding-top: 120px;
    min-height: 60vh;
  }
}

@media (max-width: 640px) {
  .thanks-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .thanks-hero__text {
    margin-bottom: 32px;
  }
  .thanks-hero__btn {
    width: 100%;
    max-width: 300px;
    padding: 14px 24px;
  }
}
