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

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

.page-register__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* Light text for hero content over dark image */
  text-align: center;
  padding-bottom: 60px;
}

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

.page-register__hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 500px;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #FFFFFF;
}

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

.page-register__hero-button:hover,
.page-register__action-button:hover,
.page-register__cta-button:hover {
  background-color: #e0a53b; /* Slightly darker yellow on hover */
  transform: translateY(-2px);
}

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

.page-register__section-intro,
.page-register__section-outro {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

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

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

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

.page-register__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-register__value-icon {
  width: 100%; /* Ensure images are responsive within card */
  max-width: 400px; /* Max width to prevent overly large images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-register__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f0f0f0;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.page-register__step-content {
  flex-grow: 1;
}

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

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

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

.page-register__condition-item {
  background-color: #f8f8f8;
  border-left: 5px solid #000000; /* Main color as accent */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.page-register__condition-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

.page-register__faq-item {
  background-color: #f0f0f0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.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;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-item[open] .page-register__faq-question {
  background-color: #e0e0e0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.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;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-register__cta-section {
  text-align: center;
  padding-bottom: 80px;
}

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

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

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

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }

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

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

  .page-register__hero-content {
    padding: 80px 15px;
    min-height: 400px;
  }

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

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

  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

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

  .page-register__condition-title {
    font-size: 1.2em;
  }

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

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

  /* Ensure all images within .page-register are responsive and don't overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }

  .page-register__value-icon {
    max-width: 100%; /* Ensure images are responsive within card */
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
}

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

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

  .page-register__hero-content {
    padding: 60px 10px;
  }
}

/* Ensure no image filters are applied */
.page-register img {
  filter: none !important;
}

/* Enforce minimum image size for content images */
.page-register__value-card img,
.page-register__hero-image {
  min-width: 200px;
  min-height: 200px;
}

/* Prevent specific selectors from making images too small */
.page-register__step-item img,
.page-register__condition-item img,
.page-register__faq-item img {
  min-width: 200px;
  min-height: 200px;
  max-width: 100%;
  height: auto;
}