/* Basic Reset & Global Styles */
@font-face {
  font-family: 'JUST Sans';
  src: url('fonts/JUST Sans Light.woff') format('woff');
  font-weight: 300;      /* Light weight */
  font-style: normal;
  font-display: swap;
}

/* (Your existing Regular and Bold) */
@font-face {
  font-family: 'JUST Sans';
  src: url('fonts/JUST Sans Regular.woff') format('woff');
  font-weight: 500;      /* Regular */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'JUST Sans';
  src: url('fonts/JUST Sans Bold.woff') format('woff');
  font-weight: 700;      /* Bold */
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'JUST Sans';
}

html,
body {
  font-family: sans-serif;
  color: #fff;
  background: linear-gradient(135deg, #002B5B, #7D1ADC);
  background-size: 200% 200%;

  /* Animate the gradient */
  animation: gradientMove 10s ease infinite;
  /* Ensure the element covers full viewport */
  margin: 0;
}

/* Define the keyframes for moving the gradient */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.wrapper {
  padding: 4vw;
  padding-bottom:0;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  position:relative;
  min-height:100svh;
}

/* Top Bar */
.top-bar {
  position: relative;

  width: 100%;
  z-index: 2;
}

.top-bar-inner {
  max-width: 75vw;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.logo-text {
  font-weight: bold;
  font-size: 1rem;

  img {
    width: 75px;
  }
}

.contact-button {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 9999px;
  background-color: #00d4b0;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
  text-decoration:none;
  border:1px solid #fff;
}
.contact-button:hover {
  background:#FF5273;
}
/* Corner Circles */
.circle {
  position: absolute;
  z-index: 1;
  /* behind header */

  img {
    width: 100%;
    display: block;
    max-width:300px;
  }
}

/* Adjust these positions/colors as necessary */
.circle-top-right {
  top: 0;
  right: 0;
  background-color: #fbbc04;
  /* yellow */
  transform: translate(50%, -50%);
}

.circle-bottom-left {
  bottom: 0;
  left: 0;
  width: 100px;
  height: auto;
}

.circle-bottom-right {
  bottom: 0;
  right: 0;
  width: 100px;
  height: auto;
}

/* Main Content Container */
.main {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;

}

/* CSS Grid for Text Elements: Default (mobile) layout */
.text-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  text-align: center;
  margin-bottom: 1rem;
}

.headline {
  font-size: 2.4rem;
  font-weight:100;
  line-height: 1.2;
  max-width: 75%;
  margin: 0 auto;
  margin-bottom: 1em;
  font-family: 'JUST Sans';
  letter-spacing: -0.04em;
  line-height:1em;
}

/* The span for "new" changes color to match the design */
.headline span {
  color: #fbbc04;
  font-family: 'JUST Sans';
  font-weight:400;
}

::placeholder {
  color: white;
}
/* For WebKit browsers (Chrome, Safari, newer Opera) */
::-webkit-input-placeholder {
  color: white;
}

/* For Firefox (older versions) */
::-moz-placeholder {
  color: white;
}

/* For IE 10+ */
:-ms-input-placeholder {
  color: white;
}

/* For Edge */
::-ms-input-placeholder {
  color: white;
}
.footer-text{
  color:#fff;
  margin-bottom:4em;
}
.footer-text a {
  color:#fff;
  text-decoration:none;
}

.terms {
  color:#A5A8AB;
  max-width:65%;
  font-size:12px;
}
.description {
  font-size: 1rem;
  line-height: 1.5;
  max-width: 500px;
  margin: 0 auto;
  font-weight: normal;
  text-align: left;
  display: none;
  letter-spacing: initial;

}

/* Email Form */
.email-form .form-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.email-form input {
  padding: 0.8rem 1rem;
  border-radius: 9999px;
  font-size: 1rem;
  border: none;
  outline: none;
  background: none;
  border: 1px solid #fff;
  min-width: 300px;
}

.email-form button {
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 9999px;
  background-color: #00d4b0;
  color: #fff;
  border:1px solid #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space:nowrap;
}
.email-form button:hover {
  background:#FF5273;
}

.content {
  margin-bottom: 3rem;
}


/* ## Form */
::placeholder {
  color:#999;
  font-family: var(--text-font);
  font-size:16px;
}

form .g-recaptcha {
  margin:0 auto;
  margin-top:30px;
  margin-bottom:30px;
  
}
form .g-recaptcha > div {
  margin:0 auto;
}

#feedback {
  transition: var(--transition-standard);
  margin-top:20px;
  color: #FF5273;
  margin-bottom:2em;
}

#feedback.show {
  opacity: 1;
}


/* Increase headline size on larger screens */
@media (min-width: 768px) {
  .headline {
    font-size: 6rem;
    max-width: none;
  }

  .content {
    margin-bottom: 4rem;
    max-width: 75vw;
  }
}

/* Increase headline size on larger screens */
@media (min-width: 1024px) {
  .headline {
    font-size: 8rem;
    margin-bottom: 0.5em;
  }

  .circle-bottom-left {
    width: 200px;
    height: auto;

  }

  .circle-bottom-right {
    width: 200px;
    height: auto;

  }

  .logo-text {
    img {
      width: 100px;
    }
  }
}

/* Increase headline size on larger screens */
@media (min-width: 1240px) {
  .headline {
    font-size: 8rem;
    margin-bottom: 0
  }

  .mobile-description {
    display: none;
  }

  .description {
    display: block;
  }

  .email-form .form-inner{
    flex-direction: row;
  }

  .circle-bottom-left {
    width: auto;
    height: auto;

  }

  .circle-bottom-right {
    width: auto;
    height: auto;

  }
}