/* General styles for the register page */
.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main color for dark background */
  background: #B71C1C; /* Background color */
}

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

/* Section Titles */
.page-register__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF5E1; /* Text Main color */
}

.page-register__section-title--light {
  color: #FFF5E1; /* Text Main color */
}

.page-register__intro-text {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #FFF5E1; /* Text Main color */
}

.page-register__intro-text--light {
  color: #FFF5E1; /* Text Main color */
}

/* Buttons */
.page-register__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for text on gold button for contrast */
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: #B71C1C; /* Background color */
  color: #FFF5E1; /* Text Main color */
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #F2B544; /* Border color */
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-secondary:hover {
  background-color: #7A0E0E; /* Deep Red */
  border-color: #FFCC66; /* Glow */
}

.page-register__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: #FFF5E1; /* Text Main color */
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 2px solid #FFF5E1;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-tertiary:hover {
  background-color: #FFF5E1;
  color: #7A0E0E;
}

.page-register__btn-primary--large,
.page-register__btn-secondary--large,
.page-register__btn-tertiary--large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding for hero section, assuming body handles --header-offset */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background: #B71C1C; /* Background color */
}

.page-register__hero-image {
  width: 100%;
  max-height: 70vh; /* Limit height of hero image */
  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 */
  filter: none; /* Ensure no CSS filter */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 15px;
  max-width: 900px;
  margin-top: -100px; /* Overlap slightly for visual flow */
  background: #D32F2F; /* Card BG */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border color */
}

.page-register__main-title {
  font-size: clamp(32px, 5vw, 48px); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD86A; /* Gold-like for title */
}