.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f8f8f8; /* A light background for the main content */
}

/* Ensure main content has padding-top to clear fixed header */
.page-register__hero-section {
  padding-top: var(--header-offset, 120px);
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff; /* Light text for dark hero background */
}

.page-register__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
  z-index: 2;
}

.page-register__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-register__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Buttons */
.page-register__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure long words break */
  text-align: center;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-register__button--primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-register__button--primary:hover {
  background-color: #1e87b8;
  transform: translateY(-2px);
}

.page-register__button--secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-register__button--secondary:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-register__button--submit {
  background-color: #EA7C07; /* Login/Register specific color */
  color: #ffffff;
  border: 2px solid #EA7C07;
  width: 100%;
  max-width: 400px; /* Limit width for form button */
  margin-top: 20px;
}

.page-register__button--submit:hover {
  background-color: #c96706;
  transform: translateY(-2px);
}

/* Container for main content sections */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Section Titles and Descriptions */
.page-register__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}