.page-register {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding: 40px 20px;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.7); /* Slightly dim the background image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
}

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

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

.page-register__cta-button {
  display: inline-block;
  background-color: #000000; /* Dark background for white text */
  color: #FFFFFF; /* White text as per custom color */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 10px;
  border: 2px solid #FFFFFF;
}

.page-register__cta-button:hover {
  background-color: #222222;
  border-color: #FCBC45;
}

.page-register__login-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 10px;
  border: 2px solid #FCBC45;
}

.page-register__login-button:hover {
  background-color: #e0a538;
  border-color: #000000;
  color: #FFFFFF;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

.page-register__value-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-register__value-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__value-image {
  width: 100%; /* Ensure content image is large */
  height: auto;
  max-width: 400px; /* Constrain max width for aesthetics */
  min-width: 200px; /* Min size for content images */
  min-height: 200px; /* Min size for content images */
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__value-heading {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-register__value-text {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-register__cta-area {
  text-align: center;
  margin-top: 40px;
}

.page-register__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-register__steps-section {
  background-color: #f0f0f0;
  padding: 60px 20px;
}

.page-register__steps-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-register__steps-image {
  flex: 1;
  min-width: 300px; /* Ensure content image is large */
  max-width: 600px; /* Constrain max width for aesthetics */
  min-height: 200px; /* Min size for content images */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-register__step-list {
  flex: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-register__step-number {
  background-color: #000000;
  color: #FFFFFF;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 20px;
  flex-shrink: 0;
}

.page-register__step-heading {
  font-size: 1.5em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-register__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-register__conditions-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__conditions-container {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  gap: 40px;
}

.page-register__conditions-image {
  flex: 1;
  min-width: 300px; /* Ensure content image is large */
  max-width: 400px; /* Constrain max width for aesthetics */
  min-height: 200px; /* Min size for content images */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-register__conditions-list {
  flex: 2;
  list-style: disc;
  margin-left: 20px;
  padding: 0;
}

.page-register__conditions-item {
  font-size: 1.1em;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 10px;
}

.page-register__conditions-disclaimer {
  font-size: 0.9em;
  color: #666666;
  margin-top: 20px;
  flex-basis: 100%;
  text-align: center;
}

.page-register__conditions-disclaimer a {
  color: #000000;
  text-decoration: underline;
}

.page-register__conditions-disclaimer a:hover {
  color: #FCBC45;
}

.page-register__faq-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
}

.page-register__faq-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.page-register__faq-image {
  flex: 1;
  min-width: 300px; /* Ensure content image is large */
  max-width: 400px; /* Constrain max width for aesthetics */
  min-height: 200px; /* Min size for content images */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-register__faq-list {
  flex: 2;
  min-width: 300px;
}

.page-register__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: block;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  position: relative;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #f5f5f5;
}

.page-register__faq-question::marker {
  display: none;
}

.page-register__faq-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  line-height: 1;
  color: #000000;
  transition: transform 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: translateY(-50%) rotate(45deg);
}

.page-register__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__steps-container, .page-register__conditions-container, .page-register__faq-container {
    flex-direction: column;
    text-align: center;
  }
  .page-register__steps-image, .page-register__conditions-image, .page-register__faq-image {
    max-width: 100%;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header if needed */
  }
  .page-register__hero-section {
    min-height: 400px;
    padding: 20px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__cta-button, .page-register__login-button {
    width: calc(100% - 20px);
    margin: 10px 0;
  }
  .page-register__value-section, .page-register__steps-section, .page-register__conditions-section, .page-register__faq-section {
    padding: 40px 15px;
  }
  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-register__value-item, .page-register__steps-container, .page-register__conditions-container, .page-register__faq-container {
    gap: 20px;
  }
  .page-register__step-heading {
    font-size: 1.3em;
  }
  .page-register__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
    margin-right: 15px;
  }
  .page-register__conditions-list {
    margin-left: 0;
    text-align: left;
  }
  .page-register__conditions-item {
    font-size: 1em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-register__faq-answer {
    padding: 0 15px 15px 15px;
  }
  /* Mobile content images must not overflow */
  .page-register__hero-image, .page-register__value-image, .page-register__steps-image, .page-register__conditions-image, .page-register__faq-image {
    max-width: 100%;
    height: auto;
  }
  .page-register__value-grid img, .page-register__steps-container img, .page-register__conditions-container img, .page-register__faq-container img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.8em;
  }
  .page-register__cta-button--large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
}