.page-register {
  color: #333333; /* Dark text for light body background */
  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;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  padding: 0; /* Hero image will fill the space */
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  z-index: 10;
}

.page-register__hero-title {
  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__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #F0F0F0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.page-register__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-register__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure buttons are large enough */
}

.page-register__button--register {
  background-color: #FFFFFF; /* Custom color for register */
  color: #000000;
}

.page-register__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

.page-register__button--login {
  background-color: #FCBC45; /* Custom color for login */
  color: #000000;
}

.page-register__button--login:hover {
  background-color: #E6A73A;
  transform: translateY(-2px);
}

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

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
  color: #333333;
}

.page-register__value-section, .page-register__steps-section, .page-register__conditions-section, .page-register__faq-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-top: 40px;
}

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

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

.page-register__value-icon {
  width: 250px;
  height: 187px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure it's a block element */
  margin-left: auto; /* Center the image */
  margin-right: auto; /* Center the image */
}

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

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

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  font-size: 2em;
  font-weight: bold;
  color: #FCBC45;
  background-color: #000000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

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

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

.page-register__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.page-register__condition-item {
  background-color: #F8F8F8;
  padding: 20px;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #333333;
}

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

.page-register__disclaimer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95em;
  color: #666666;
}

.page-register__link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-register__link:hover {
  text-decoration: underline;
}

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

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

.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;
  line-height: 1;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #F8F8F8;
}

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

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

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

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

  .page-register__value-icon {
    width: 200px;
    height: 150px;
  }

  .page-register__button {
    padding: 12px 25px;
    font-size: 1em;
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px); /* Keep padding for mobile */
  }

  .page-register__hero-content {
    padding: 15px;
    max-width: 90%;
  }

  .page-register__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-register__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .page-register__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__button {
    width: 100%;
    max-width: 250px;
    padding: 10px 20px;
    font-size: 0.95em;
  }

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

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

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

  .page-register__value-icon {
    width: 200px;
    height: 150px;
  }

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

  .page-register__step-number {
    margin-bottom: 10px;
  }

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

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

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

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

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

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

  .page-register__value-icon {
    width: 180px;
    height: 135px;
  }

  .page-register__button {
    max-width: 200px;
  }
}