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

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-register__hero-container {
  max-width: 900px;
  z-index: 1;
  position: relative;
}

.page-register__hero-title {
  font-size: 3.2em;
  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__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for CTA */
  color: #000000;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

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

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-register__value-section {
  background-color: #F8F8F8;
  text-align: center;
}

.page-register__value-title,
.page-register__steps-title,
.page-register__conditions-title,
.page-register__faq-title,
.page-register__cta-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #000000;
  text-align: center;
}

.page-register__value-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.page-register__value-description {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

.page-register__value-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-register__steps-section {
  background-color: #FFFFFF;
}

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

.page-register__step-item {
  background-color: #F8F8F8;
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

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

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

.page-register__step-description {
  font-size: 1em;
  line-height: 1.6;
}

.page-register__steps-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-register__conditions-section {
  background-color: #F0F0F0;
}

.page-register__conditions-intro {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-register__conditions-item {
  background-color: #FFFFFF;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 5px solid #000000;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
}

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

.page-register__conditions-link {
  display: inline-block;
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
  margin-top: 20px;
  transition: color 0.3s ease;
}

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

.page-register__faq-section {
  background-color: #FFFFFF;
}

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

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

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

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

.page-register__faq-question[aria-expanded="true"] {
  background-color: #FCBC45;
  color: #000000;
}

.page-register__faq-question[aria-expanded="true"] .page-register__faq-icon {
  transform: rotate(45deg);
}

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

.page-register__faq-answer {
  padding: 0 25px;
  background-color: #FDFDFD;
  color: #333333;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register__faq-answer p {
  padding: 15px 0;
  margin: 0;
  line-height: 1.7;
}

.page-register__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-register__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-register__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 50px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

  .page-register__value-title,
  .page-register__steps-title,
  .page-register__conditions-title,
  .page-register__faq-title,
  .page-register__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-register__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }

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

  .page-register__value-title,
  .page-register__steps-title,
  .page-register__conditions-title,
  .page-register__faq-title,
  .page-register__cta-title {
    font-size: 1.8em;
  }

  .page-register__value-content {
    flex-direction: column;
  }

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

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

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

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

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

  .page-register__cta-button {
    padding: 15px 40px;
    font-size: 1.1em;
  }

  /* Ensure content images do not overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
}