    :root {
      --deep-navy: #033764;
      --slate: #414c6f;
      --sky: #75cbfe;
      --violet: #6a598d;
      --mint: #9ad9c2;

      --bg: #020818;
      --text: #f5f7ff;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
      background: radial-gradient(circle at top left, #020818 0, #020818 40%, #02010f 100%);
      color: var(--text);
      line-height: 1.6;
      scroll-behavior: smooth;
    }

    a {
      color: var(--sky);
      text-decoration: none;
    }

    a:hover,
    a:focus {
      text-decoration: underline;
    }

.hero {
  position: relative;
  min-height: 40vh;               /* adjust to taste */
  display: flex;
  align-items: center;
  padding: 3rem 8vw;
  color: #fff;

  background-image: url("/images/herobanner.jpg");
  background-size: cover;
  background-position: center left; /* keeps moon visible */
}

/* The dark “rectangle” on the right */
.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 75%;  /* how wide the dark area is */

  /* gradient that fades toward the image = soft edges */
  background: linear-gradient(
    to left,
    rgba(0, 0, 40, 0.95),
    rgba(0, 0, 40, 0.7),
    rgba(0, 0, 40, 0)
  );
  pointer-events: none; /* clicks pass through */
}

/* Actual text content */
.hero-content {
  position: relative;   /* so it's above the overlay */
  max-width: 28rem;
  margin-left: auto;    /* push it to the right side */
  text-align: left;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content p {
  margin-top: 0.75rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.hero-content span {
  color: #80ffe8; /* pick a light teal from your circuitry */
}

/* Mobile: make overlay cover whole thing and center text */
@media (max-width: 800px) {
  .hero-overlay {
    width: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 40, 0.85),
      rgba(0, 0, 40, 0.95)
    );
  }

  .hero {
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

}

/* Style the top navigation bar */
.main-nav  {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #02041a;      /* same dark blue */
  color: #fff;
  overflow: hidden;
  background-color: #333;
}

/* Style the topnav links */
.main-nav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.main-nav a:hover {
  background-color: #ddd;
  color: black;
}

/* Button style (adjust to taste) */
.join-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

/* Modal shell */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.hidden {
  display: none; /* start hidden */
}

/* Dark overlay */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

/* Modal card */
.modal-content {
  position: relative;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  background: #020617; /* match your page background */
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  z-index: 1001;
}

/* Close button */
.modal-close {
  position: relative;
  padding: 0.5rem;
  top: 0.4rem;
  
  border: none;
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
  color: #e5e7eb;
}

/* Iframe container */
.modal-inner {
  height: 70vh; /* responsive height */
}

.modal-inner iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/*FOOTER*/
.footer{
  background-image:url(/images/footer-image.png);
}
