.hero {
  position: relative;
  padding: 3rem 3rem 0;
  overflow: hidden;
  top: 0;
}

.hero .hero-bg {
  background-image: url("../images/orbit/stack-2.png");
  background-size: 1800px;
  background-position: center 0px;
  background-repeat: no-repeat;
  opacity: 0.3;
  width: 1800px;
  height: 1000px;
  position: absolute;
  top: 28.5%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero .top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.3rem;
  background-color: rgba(38, 60, 75, 0.95);
  border-radius: 10px;
  position: relative;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 1000px;
}

.top-nav .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-nav .wrapper button {
  background-color: rgb(89, 171, 197) !important;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  color: #fff !important;
  -webkit-transition: all 0.3s ease-in-out !important;
  transition: all 0.3s ease-in-out !important;
}

.top-nav .wrapper button:hover {
  background-color: #0d4753 !important;
}

.general-wrapper button {
  background-color: #00bf91 !important;
  padding: 1.1rem 1.6rem;
  border-radius: 10px;
  color: #fff !important;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease-in-out !important;
  transition: all 0.3s ease-in-out !important;
}

.general-wrapper button:hover {
  background-color: #005944 !important;
}

.top-quote h3 {
  margin-bottom: 1.5rem;
}

.hero .top-nav .outlined {
  border: 1px solid #fff;
  border-radius: 10px;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #fff;
  margin: 0;
}

.hero .hero-content {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 12rem 0 7rem;
}

.hero .hero-content-inner {
  position: relative;
  z-index: 999;
  text-align: center;
}

.hero .hero-content h1 {
  font-size: 4rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 0px 20px rgba(0, 0, 0, 0.75);
  font-family: "Rubik", serif;
  margin-bottom: 1.5rem;
}

.hero .hero-content h1 span {
  font-weight: 700;
}

.hero .hero-content h4 {
  font-weight: 400;
}

.top-nav {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.hero-content .button-wrapper {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  max-width: 500px;
  margin: 4rem auto;
  justify-content: center;
}

.hero-content .button-wrapper button {
  padding: 1rem 2rem;
  color: #fff !important;
  -webkit-transition: all 0.3s ease-in-out !important;
  transition: all 0.3s ease-in-out !important;
  border-radius: 10px;
}

.hero-content .button-wrapper button:hover {
  background-color: #0d4753 !important;
}

/** Orbitting Circles */

.orbit-container {
  position: relative;
}

/* Orbit paths */
.orbit-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.09);
  transform: translate(-50%, -50%);
}

.orbit-small {
  left: 27%;
  top: 18%;
  width: 45vw;
  height: 45vw;
  max-width: 450px;
  max-height: 450px;
  animation: spin 20s linear infinite;
}

.orbit-large {
  top: -6%;
  left: 10%;
  width: 80vw;
  height: 80vw;
  max-width: 800px;
  max-height: 800px;
  animation: spin 38s linear infinite;
}

/* Orbiting icons */
.orbit-small .orbit-icon {
  width: 45px;
  height: 45px;
  animation: counter-spin 20s linear infinite; /* Counteracts orbit rotation */
}

.orbit-icon {
  position: absolute;
  transform-origin: center;
  animation: counter-spin 38s linear infinite; /* Counteracts orbit rotation */
}

.orbit-large .orbit-icon {
  width: 60px;
  height: 60px;
}

/* Positioning the icons around the circles */
#icon1 {
  top: 0%;
  left: 68%;
  transform: translate(-50%, -50%);
}
#icon2 {
  bottom: 40%;
  left: -3%;
  transform: translate(-50%, 50%);
}
#icon3 {
  bottom: 10%;
  right: 10%;
  transform: translate(50%, -50%);
}
#icon4 {
  bottom: -3%;
  left: 50%;
  transform: translate(-50%, 50%);
}
#icon5 {
  left: 8%;
  top: 77%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
}
#icon6 {
  right: 0%;
  top: 65%;
  width: 70px;
  height: 70px;
  transform: translate(50%, -50%);
}
#icon7 {
  left: 50%;
  top: -3%;
  transform: translate(50%, -50%);
}
#icon8 {
  left: 0%;
  top: 25%;
  transform: translate(50%, -50%);
}
#icon9 {
  left: 89%;
  top: 20%;
  transform: translate(50%, -50%);
}

/* Infinite spinning effect */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Counter-rotation to keep icons upright */
@keyframes counter-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}

#application_image img {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 0 400px rgb(26, 197, 236, 0.75);
}

/** Responsive */

@media (max-width: 1100px) {
  .orbit-large {
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    top: 0%;
    left: 8%;
  }

  .orbit-small {
    opacity: 0.5;
  }

  .orbit-large {
    opacity: 0.75;
    left: 5%;
  }

  #application_image img {
    border-radius: 30px 30px 0 0;
  }

  .hero .hero-content h1 {
    margin-bottom: 3rem;
  }
}

@media (max-width: 767px) {
  .hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 3rem;
  }

  #application_image img {
    border-radius: 10px 10px 0 0;
  }
}

@media (max-width: 575px) {
  .hero .hero-content h1 {
    font-size: 2.6rem;
  }

  .orbit-small {
    left: 25%;
    top: 30%;
    opacity: 0.35;
  }

  .orbit-large {
    top: 5%;
    left: 2%;
    opacity: 0.35;
  }

  .hero .hero-content {
    padding: 8rem 0 0;
  }
}
