.page-register {
  color: #333333; /* Dark text for light body background */
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-register__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Max width for the hero content area */
  margin: 0 auto;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  padding: 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay for readability */
  border-radius: 8px;
}

.page-register__main-title {
  font-size: 2.8em;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFFFF;
}

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

.page-register__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for bright button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-register__cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-register__section-padding {
  padding: 60px 20px;
}

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

.page-register__section-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-register__section-title--light {
  color: #FFFFFF;
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.page-register__section-intro--light {
  color: #F0F0F0;
}

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

.page-register__value-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-register__value-item:hover {
  transform: translateY(-5px);
}

.page-register__value-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for images in grid */
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 20px;
}

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

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

.page-register__bg-light {
  background-color: #f8f8f8;
}

.page-register__bg-dark {
  background-color: #000000;
}

.page-register__registration-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 30px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.page-register__step-content {
  flex-grow: 1;
}

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

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

.page-register__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-register__cta-button--centered {
  margin: 0 auto;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__condition-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  line-height: 1.7;
  color: #444444;
  font-size: 1em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.page-register__condition-item strong {
  color: #000000;
}

.page-register__condition-item a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-register__condition-item a:hover {
  text-decoration: underline;
}

.page-register__section-footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95em;
  color: #666666;
}

.page-register__section-footer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-register__section-footer a:hover {
  text-decoration: underline;
}

.page-register__faq-list {
  display: grid;
  gap: 15px;
}

.page-register__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #FFFFFF;
  border: none;
  width: 100%;
  text-align: left;
  position: relative;
  user-select: none;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FCBC45;
}

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

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

.page-register__faq-answer p {
  margin: 0;
}

.page-register__faq-answer a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-register__faq-answer a:hover {
  text-decoration: underline;
}

.page-register__cta-final-section {
  text-align: center;
}

.page-register__cta-final-content {
  padding: 40px 20px;
  border-radius: 8px;
}

.page-register__cta-button--light {
  background-color: #FCBC45;
  color: #000000;
  margin-bottom: 20px;
}

.page-register__cta-button--light:hover {
  background-color: #e0a53b;
}

.page-register__cta-link--light {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1em;
  display: block;
  margin-top: 10px;
}

.page-register__cta-link--light:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-register__hero-content {
    max-width: 600px;
  }

  .page-register__main-title {
    font-size: 2.2em;
  }

  .page-register__hero-description {
    font-size: 1em;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__value-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset-mobile, 80px); /* Mobile header offset */
  }

  .page-register__hero-content {
    padding: 15px;
    width: 90%;
  }

  .page-register__main-title {
    font-size: 1.8em;
  }

  .page-register__hero-description {
    font-size: 0.9em;
    margin-bottom: 20px;
  }

  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: unset;
  }

  .page-register__section-padding {
    padding: 40px 15px;
  }

  .page-register__section-title {
    font-size: 1.6em;
  }

  .page-register__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-register__value-grid {
    grid-template-columns: 1fr;
  }

  .page-register__step-item {
    flex-direction: column;
    text-align: center;
  }

  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-register__step-heading {
    font-size: 1.2em;
  }

  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-register__faq-answer {
    padding: 0 20px 15px;
  }

  /* Ensure all content images in .page-register are responsive and don't overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }

  /* Content area images must be >= 200px. This ensures they don't shrink too small, but still respond. */
  .page-register__value-image,
  .page-register__hero-image {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto width to maintain aspect ratio with max-width */
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.5em;
  }

  .page-register__hero-description {
    font-size: 0.85em;
  }

  .page-register__section-title {
    font-size: 1.4em;
  }

  .page-register__step-number {
    font-size: 2em;
  }

  .page-register__faq-question {
    font-size: 0.95em;
  }
}