.page-register {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-register__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the background image for text readability */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-register__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for primary CTA */
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

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

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

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

.page-register__value-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

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

.page-register__value-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-register__value-card:hover {
  transform: translateY(-10px);
}

.page-register__value-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for content images */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-register__card-description {
  color: #666666;
  font-size: 0.95em;
}

.page-register__cta-button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 40px;
}

.page-register__cta-button--secondary:hover {
  background-color: #333333;
}

.page-register__steps-section {
  padding: 60px 0;
}

.page-register__registration-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-register__step-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FCBC45;
  margin-bottom: 15px;
}

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

.page-register__step-description {
  color: #666666;
}

.page-register__conditions-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

.page-register__conditions-list {
  list-style: disc;
  max-width: 800px;
  margin: 40px auto 0 auto;
  padding-left: 25px;
  color: #555555;
}

.page-register__condition-item {
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-register__cta-link {
  display: block;
  text-align: center;
  margin-top: 30px;
  color: #FCBC45;
  text-decoration: underline;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-register__cta-link:hover {
  color: #e0a53b;
}

.page-register__faq-section {
  padding: 60px 0;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #fefefe;
  transition: background-color 0.3s ease;
}

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

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

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2.2em;
  }

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

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

  .page-register__section-intro {
    font-size: 0.95em;
  }

  .page-register__value-cards,
  .page-register__registration-steps {
    grid-template-columns: 1fr;
  }

  .page-register__hero-section,
  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section {
    padding: 40px 0;
  }

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

  /* Mobile content area image constraint */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
}

/* Ensure content images are not smaller than 200px in content area */
.page-register img:not(.page-register__hero-image) {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure HTML width/height attributes are respected or overridden responsively */
.page-register__value-icon {
  width: 100%; /* Overrides HTML width to be responsive */
  height: auto; /* Overrides HTML height to maintain aspect ratio */
}