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

.page-register__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #000000; /* Dark background for hero content contrast */
  color: #FFFFFF;
  text-align: center;
}

.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;
  opacity: 0.6;
}

.page-register__hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 600px; /* Minimum height for hero section */
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__hero-content {
  max-width: 800px;
}

.page-register__main-heading {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__intro-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

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

.page-register__cta-button--bottom {
  margin-top: 30px;
}

.page-register__cta-button--large {
  padding: 18px 35px;
  font-size: 1.4em;
}

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

.page-register__section-heading {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-register__section-heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

.page-register__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  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-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

.page-register__value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-register__value-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-register__closing-paragraph {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.6;
  margin-top: 50px;
  color: #444444;
}

.page-register__steps-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-register__step-item {
  text-align: center;
  position: relative;
}

.page-register__step-item::before {
  content: counters(step-counter, ".");
  counter-increment: step-counter;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5em;
  font-weight: bold;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-icon-wrapper {
  background-color: #000000;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto 20px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-register__step-icon {
  width: 60px; /* Minimum 200px rule applies to content images, not decorative icons */
  height: 60px;
  object-fit: contain;
  filter: invert(100%); /* Invert color for visibility on dark background */
}

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

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

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

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

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

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

.page-register__condition-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  line-height: 1.6;
  color: #444444;
}

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

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

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

.page-register__conditions-footer-text {
  font-size: 1em;
  line-height: 1.6;
  text-align: center;
  max-width: 800px;
  margin: 30px auto 0 auto;
  color: #555555;
}

.page-register__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-register__faq-list {
  margin-top: 40px;
}

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

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

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

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

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

.page-register__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  background-color: #f9f9f9;
}

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

.page-register__cta-final-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  color: #FFFFFF;
  text-align: center;
}

.page-register__cta-final-section .page-register__section-heading,
.page-register__cta-final-section .page-register__section-description {
  color: #FFFFFF;
}

.page-register__cta-final-section .page-register__section-heading::after {
  background-color: #FCBC45;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__main-heading {
    font-size: 3em;
  }

  .page-register__intro-text {
    font-size: 1.2em;
  }

  .page-register__section-heading {
    font-size: 2em;
  }

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

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

@media (max-width: 768px) {
  .page-register__hero-container {
    min-height: 400px;
    padding: 30px 15px;
  }

  .page-register__main-heading {
    font-size: 2.5em;
  }

  .page-register__intro-text {
    font-size: 1em;
  }

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

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

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

  .page-register__content-area {
    padding: 30px 15px;
  }

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

  .page-register__value-item, .page-register__step-item {
    padding: 25px;
  }

  .page-register__step-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 20px auto 15px auto;
  }

  .page-register__step-icon {
    width: 50px;
    height: 50px;
  }

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

  .page-register__condition-item {
    font-size: 1em;
    padding: 20px;
  }

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

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

  /* Ensure content images are responsive and do not overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  
  /* Specific rule to ensure content images are not too small */
  .page-register__value-image {
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  /* Decorative icons are exempt from 200px rule but still responsive */
  .page-register__step-icon {
    max-width: 100%;
    height: auto;
    width: 50px; 
    height: 50px;
  }
}

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

  .page-register__intro-text {
    font-size: 0.9em;
  }

  .page-register__cta-button {
    padding: 10px 20px;
    font-size: 1em;
  }

  .page-register__section-heading {
    font-size: 1.5em;
  }

  .page-register__section-description {
    font-size: 0.9em;
  }

  .page-register__value-item, .page-register__step-item {
    padding: 20px;
  }

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

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

  .page-register__cta-button--large {
    padding: 15px 30px;
    font-size: 1.2em;
  }
}