/* Fix for content under fixed navbar */
body {
  padding-top: 4rem; /* Match your navbar height, adjust if needed */
}

/* Hero section styling */
.hero-image {
  min-height: calc(100vh - 4rem); /* Full viewport height minus navbar */
  padding: 0 1rem;
  position: relative;
  overflow: visible; /* Buttons can extend if needed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Hero content container */
.hero-image > .relative.z-10 {
  max-width: 100%;
  width: 100%;
  padding-top: 1.5rem; /* Gives breathing room from top */
}

/* Headings */
.hero-image h1 {
  font-size: 2rem;
  line-height: 1.2;
  word-break: break-word;
  margin: 0;
}

.hero-image h1 span {
  margin-top: 0.75rem;
  display: block;
  color: var(--color-safetyOrange, white);
}

/* Paragraph */
.hero-image p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 1rem auto 0 auto;
  line-height: 1.6;
  max-width: 90%;
  word-break: break-word;
  font-weight: 300;
}

/* Button container flex */
.hero-image .flex {
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

/* Buttons */
.hero-image a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  padding: 0 2.5rem;
  font-size: 1rem;
  border-radius: 9999px;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}

/* Responsive tablet and up */
@media (min-width: 768px) {
  .hero-image h1 {
    font-size: 2.5rem;
  }

  .hero-image p {
    font-size: 1.25rem;
    max-width: 70%;
  }

  .hero-image .flex {
    flex-direction: row;
    justify-content: center;
  }
}

/* Responsive desktop and up */
@media (min-width: 1024px) {
  .hero-image h1 {
    font-size: 3rem;
  }

  .hero-image p {
    font-size: 1.375rem;
  }
}

/* Navbar fix (example, adjust colors as needed) */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  color: white;
}
