.cta {
  background-color: white;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden; /* Contain the particles */
}

.cta main {
  margin: 32vh 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  text-align: center;
  gap: 20px;

  h1 {
    color: rgb(0, 0, 0);
    font-size: 4vmax;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 800;
    line-height: 1;

    img {
      position: absolute;
      width: 80px;
    }
    #bars {
      right: calc(100% - 90px);
      top: -30px;
    }
    #star {
      left: 100%;
      bottom: 0%;
    }
    .bi {
      color: #ff6100;
    }
  }
  .bi {
    font-size: xx-large;
    animation: keep-bouncing 5s infinite ease-in-out;

    color: #ff6100;
  }
  p {
    color: rgb(45, 45, 45);
    font-family: poppins, sans-serif;
    letter-spacing: 1px;
    line-height: 1.4;
    font-size: 1.5vmax;
  }
  a {
    background-color: #ff6100;
    padding: 12.5px 30px;
    padding: 16px 30px;
    font-family: Arial, poppins, sans-serif;
    font-weight: bolder;
    border-radius: 100px;
    font-size: 15px;
    border: 0;
    border-radius: 100px;
    background-color: #ff6100;
    text-decoration: none;

    cursor: pointer;
    color: #ffffff;
    font-weight: Bold;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
  }

  a:hover {
    background-color: #ff8e6f;
    box-shadow: 0 0 20px #ff7d6f50;
    transform: scale(1.1);
  }

  a:active {
    background-color: #cf663d;
    transition: all 0.25s;
    -webkit-transition: all 0.25s;
    box-shadow: none;
    transform: scale(0.98);
  }
}

@media screen and (max-width: 768px) {
  .cta main {
    h1 {
      font-size: 4vmax;
    }
    p {
      width: 80%;
    }

    #nav-buttons {
      display: flex;
    }
  }
}

.orange {
  color: #ff6100;
}

.particles-container {
  position: absolute;
  top: -50%;
  left: 0; /* Changed from -50% */
  width: 100%; /* Changed from 200% */
  height: 200%;
  z-index: 0;
  pointer-events: none;
  /* Removed overflow: hidden since .cta has it */
}

.particle {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: #ff6100;
  border-radius: 50%;
  opacity: 1;
  transition: transform 0.3s ease;
}

.shadow1 {
  width: 16vmax;
  height: 16vmax;
  border-radius: 50%;
  background-color: #ff6100; /* your main color */
  box-shadow: 0 0 30px rgba(255, 97, 0, 0.6), 0 0 60px rgba(255, 97, 0, 0.4),
    0 0 90px rgba(255, 97, 0, 0.2);
  animation: pulse 15s infinite ease-in-out;
  filter: blur(150px);
  position: absolute;
  bottom: -100px;
  left: 0vw;
  z-index: 100;
  border: 1px solid red;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 97, 0, 0.6), 0 0 40px rgba(255, 97, 0, 0.3);
    left: 100vw;
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 97, 0, 0.8), 0 0 80px rgba(255, 97, 0, 0.5);
    left: 1vw;
  }
}

@media screen and (max-width: 768px) {
  .shadow1 {
    filter: blur(100px);
  }
}

@keyframes keep-bouncing {
  0% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(+10px);
  }
  100% {
    transform: translateY(-10px);
  }
}
