.page-register {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  background-color: #FFFFFF;
}

.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; /* Light text for dark background */
  overflow: hidden; /* Prevent content overflow */
}

.page-register__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-register__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
}

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

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

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

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

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

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

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

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

.page-register__value-item {
  text-align: center;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-register__value-icon {
  width: 100%; /* Ensure images are not tiny */
  height: auto;
  max-width: 400px; /* Constrain max width to its container */
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

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

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

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

.page-register__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color for button */
  color: #FFFFFF; /* White text */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

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

.page-register__steps-list,
.page-register__conditions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 30px;
}

.page-register__step-item,
.page-register__condition-item {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-register__step-text,
.page-register__condition-text {
  font-size: 1em;
  color: #555555;
}

.page-register__faq-container {
  display: grid;
  gap: 20px;
}

.page-register__faq-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

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

.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: 20px;
  font-size: 1em;
  color: #555555;
}

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

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

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

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

  .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: 2em;
    margin-bottom: 30px;
  }

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

  .page-register__value-icon,
  .page-register__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure all images within .page-register are responsive and not smaller than 200px */
  .page-register img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

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

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