.hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* Ensure canvas covers the background responsively */
canvas#heroCanvas {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  color: white;
  text-align: center;
  padding: 1rem;
}

.heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 5vw, 4rem);
  line-height: 1;
  word-wrap: break-word;
  margin-bottom: 0px;
}

.btn {
  height: 50px;
  width: 300px;
  text-align: center;
  cursor: pointer;

  color: rgb(71, 211, 71);

  display: flex;
  align-items: center;
  justify-content: center;
}


.btn-one {
  transition: all 0.3s ease;
  position: relative;
  font-size: 1.3rem;
}
.btn-one span {
  transition: all 0.3s;
}
.btn-one::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  transition: all 0.3s;
  border-top-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-bottom-style: solid;
  border-color: lime;
  transform: scale(0.1, 1);
}
.btn-one:hover span {
  letter-spacing: 2px;
}
.btn-one:hover::before {
  opacity: 1; 
  transform: scale(1, 1); 
}
.btn-one::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: all 0.3s;
  background-color: rgba(255,255,255,0.1);
}
.btn-one:hover::after {
  opacity: 0; 
  transform: scale(0.1, 1);
}


/* Responsive tweaks for small screens */
@media (max-width: 600px) {
  .heading {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
  }

  .hero a {
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
  }
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  font-size: 1.5rem;
}

.arrow-icon {
  font-size: 1.6rem;
  font-variation-settings: 'FILL' 1, 'wght' 700;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}