/* hero-rockets Start */

#hero-rockets .image-background {
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 844px;
  border-radius: 16px;
  padding: 0px 128px 0px 64px;
  position: relative; /* Make it a positioned element for the pseudo-element */
  overflow: hidden; /* Ensure the pseudo-element stays within the container */
  padding: 64px;
  background-position: center;
}

#hero-rockets .image-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    0,
    0,
    0,
    0.5
  ); /* Adjust the color and opacity (0.5) as needed */
  border-radius: 30px; /* Maintain the same border radius */
  z-index: 1; /* Ensure the overlay appears above the image */
}

#hero-rockets .image-background * {
  position: relative;
  z-index: 2;
}

#hero-rockets h1 {
  color: var(--White, #fff);
  /* H3 semibold 50 (AA) */
  font-size: 50px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%; /* 65px */
  text-transform: uppercase;
  margin-bottom: 24px;
}

#hero-rockets p {
  color: white;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 155.556% */
  margin-bottom: 40px;
  width: 73%;
}

#hero-rockets .button-wrapper a {
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  letter-spacing: 3.2px;
  text-transform: uppercase;
}

/* Hexagon button with SVG background */
#hero-rockets .hexagon-button {
  position: relative;
  display: grid;
  width: 283px;
  height: 54px;
  line-height: 54px !important;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #1e3c72;
  text-decoration: none;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  background: url("/images/hexagon-white-medium.svg") no-repeat center;
  background-size: auto;
  background-size: contain;
  transition: all 0.3s ease;
  z-index: 1;
  box-sizing: border-box;
}

#hero-rockets .hexagon-button:hover {
  color: var(--Red);
  background: url("/images/hexagon-red-medium.svg") no-repeat center;
  background-size: auto;
  background-size: contain;
  transition: all 0.3s ease;
  z-index: 1;
  box-sizing: border-box;
}

/* Adding silver lines */
#hero-rockets .hexagon-button::before,
#hero-rockets .hexagon-button::after {
  content: "";
  position: absolute;
  width: 40px; /* Adjust the size of the silver lines */
  height: 2px; /* Thickness of the silver lines */
  background-color: #1d1e31; /* Silver color */
  z-index: 2; /* Ensure they appear above the SVG background */
  transition: all 0.3s ease;
}

#hero-rockets .hexagon-button::before {
  top: 0px;
  left: 63%;
  transform: translateX(-50%);
  height: 2px;
  width: 75px;
}

#hero-rockets .hexagon-button::after {
  bottom: 0px;
  left: 37%;
  transform: translateX(-50%);
  height: 2px;
  width: 120px;
}

#hero-rockets .hexagon-button:hover::before {
  left: 28%;
}

#hero-rockets .hexagon-button:hover::after {
  left: 65%;
}

#hero-rockets .stats {
  padding: 0px;
  display: inline-block; /* Makes the container fit its content */
  text-align: right; /* Aligns the content to the right */
}

#hero-rockets .stats .number {
  color: var(--White, #fff);
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 130%; /* 62.4px */
}

#hero-rockets .line {
  height: 2px;
  border-top: 2px solid white; /* Set the thickness and color */
  width: 277px; /* Adjust the width of the line */
  margin-left: auto; /* Push the line to the right */
  opacity: 1;
}

#hero-rockets .stats .length {
  color: var(--White, #fff);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  letter-spacing: 4.2px;
  text-transform: uppercase;
}

@media only screen and (min-width: 789px) and (max-width: 1200px) {
  #hero-rockets .stats {
    padding-top: 42px;
    margin-bottom: 10%;
  }

  #hero-rockets .button-wrapper {
    justify-content: left !important;
  }
}

@media only screen and (max-width: 768px) {
  #hero-rockets h1 {
    color: var(--White, #fff);
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px; /* 111.111% */
    text-transform: uppercase;
    margin-bottom: 0px;
  }

  #hero-rockets .image-background {
    height: 696px;
    border-radius: 16px;
    background-position: center;
    padding: 42px 24px 0px;
    align-items: flex-start !important;
  }

  #hero-rockets .stats {
    padding-top: 0px;
    margin-bottom: 0%;
  }

  #hero-rockets .stats .number {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px; /* 133.333% */
  }

  #hero-rockets .line {
    width: 231px;
  }

  #hero-rockets .stats .length {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 133.333% */
  }

  #hero-rockets p {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 40px;
    width: 100%;
  }

  #hero-rockets .button-wrapper {
    justify-content: left !important;
  }
}

/* hero-rockets End */