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

.page-register__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100%;
  z-index: -1;
}

.page-register__hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Minimum height for hero section */
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.6); /* Overlay for readability */
}

.page-register__hero-content {
  max-width: 900px;
  padding: 20px;
}

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

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

.page-register__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color for CTA */
  color: #000000; /* Dark text for contrast */
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__hero-button:hover {
  background-color: #e0a53a;
}

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

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

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

.page-register__value-section, .page-register__steps-section, .page-register__conditions-section, .page-register__faq-section, .page-register__join-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-register__value-section {
  background-color: #f8f8f8;
}

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

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

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

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

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

.page-register__cta-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin: 0 10px;
}

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

.page-register__steps-container, .page-register__conditions-grid, .page-register__faq-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-register__steps-image, .page-register__conditions-image, .page-register__faq-image, .page-register__final-cta-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-register__step-list, .page-register__condition-list {
  list-style: none;
  padding: 0;
}

.page-register__step-item, .page-register__condition-item {
  background-color: #FFFFFF;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #FCBC45;
}

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

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

.page-register__condition-text a {
  color: #FCBC45;
  text-decoration: none;
}

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

.page-register__steps-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-register__steps-button:hover {
  background-color: #e0a53a;
}

.page-register__faq-list {
  max-width: 100%;
}

.page-register__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  background-color: #FFFFFF;
  color: #000000;
  padding: 20px 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::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-register__faq-question.active {
  background-color: #FCBC45;
  color: #000000;
}

.page-register__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

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

.page-register__faq-answer.open {
  max-height: 200px; /* Adjust as needed */
  padding: 15px 25px 25px 25px;
}

.page-register__faq-answer p {
  color: #666666;
  line-height: 1.6;
  margin: 0;
}

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

.page-register__join-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
}

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

.page-register__join-text {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-register__join-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-register__final-cta {
  text-align: center;
  margin-top: 60px;
  position: relative;
  padding: 40px;
  background-color: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}

.page-register__final-cta-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
  min-width: 200px;
  min-height: 200px;
}

.page-register__final-cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 50px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  z-index: 1;
}

.page-register__final-cta-button:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__steps-container, .page-register__conditions-grid, .page-register__faq-container {
    grid-template-columns: 1fr;
  }
  .page-register__steps-image, .page-register__conditions-image, .page-register__faq-image {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__section-intro {
    font-size: 0.95em;
  }
  .page-register__value-grid, .page-register__join-grid {
    grid-template-columns: 1fr;
  }
  .page-register__cta-button {
    margin: 10px 0;
    width: 100%;
  }
  .page-register__final-cta-button {
    font-size: 1.2em;
    padding: 15px 30px;
  }
  /* Ensure content area images do not overflow on mobile */
  .page-register__content-area img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-register__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-register__hero-container {
    min-height: 400px;
  }
  .page-register__faq-answer.open {
    max-height: 300px; /* Adjust for more content on mobile */
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__value-heading, .page-register__step-heading, .page-register__condition-heading, .page-register__join-heading {
    font-size: 1.3em;
  }
  .page-register__value-item, .page-register__step-item, .page-register__condition-item, .page-register__join-item {
    padding: 20px;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-answer.open {
    padding: 10px 20px 20px 20px;
  }
}