/* Base styles for the register page */
.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background: #F5F7FA; /* Body background from custom colors */
}

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background-color: #E53935; /* Primary brand color for hero background */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-register__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height on desktop */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop, will change to contain for mobile */
  aspect-ratio: 16/9; /* Maintain aspect ratio */
}

.page-register__hero-content {
  padding: 40px 15px;
  max-width: 800px;
  z-index: 1;
  color: #ffffff; /* White text for dark background */
}

.page-register__main-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

/* CTA Buttons */
.page-register__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  width: 100%;
  max-width: 500px; /* Limit max width for button group */
  margin: 0 auto;
}

.page-register__cta-buttons--center {
  margin-top: 40px;
}