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

.page-register__hero-section {
  background-color: #f8f8f8;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-register__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-register__hero-title {
  font-size: 3.2em;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-register__hero-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
}

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

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

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.2;
  filter: grayscale(100%); /* Maintain original color but use grayscale for background effect */
  object-fit: cover;
}

.page-register__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-register__value-section {
  background-color: #FFFFFF;
  padding: 60px 20px;
}

.page-register__value-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-register__value-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-register__value-text {
  flex: 1;
  min-width: 300px;
}

.page-register__value-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

.page-register__value-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-register__value-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure no extra space below image */
  margin: 0 auto;
}

.page-register__value-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

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

.page-register__steps-section {
  background-color: #f2f2f2;
  padding: 60px 20px;
}

.page-register__steps-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.page-register__steps-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__steps-intro {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  text-align: left;
}

.page-register__step-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  counter-increment: step-counter;
  position: relative;
  padding-left: 70px;
}

.page-register__step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4em;
  font-weight: bold;
}

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

.page-register__step-description {
  color: #444444;
}

.page-register__steps-image {
  margin-bottom: 40px;
}

.page-register__steps-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-register__steps-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #FCBC45;
}

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

.page-register__conditions-section {
  background-color: #FFFFFF;
  padding: 60px 20px;
}

.page-register__conditions-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-register__conditions-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.page-register__conditions-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-register__conditions-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-register__conditions-text {
  flex: 2;
  min-width: 300px;
}

.page-register__conditions-text p {
  margin-bottom: 15px;
  color: #444444;
}

.page-register__conditions-subtitle {
  font-size: 1.8em;
  color: #000000;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__conditions-list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #444444;
}

.page-register__conditions-item {
  margin-bottom: 10px;
}

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

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

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

.page-register__faq-section {
  background-color: #f8f8f8;
  padding: 60px 20px;
}

.page-register__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__faq-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

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

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

.page-register__faq-item[open] .page-register__faq-question {
  background-color: #e0a538;
  border-bottom: 1px solid #c28e2d;
}

.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 25px;
  font-size: 1.1em;
  color: #444444;
  background-color: #FFFFFF;
  border-top: 1px solid #eeeeee;
}

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

.page-register__cta-section {
  background-color: #000000;
  padding: 80px 20px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.page-register__cta-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-register__cta-title {
  font-size: 3em;
  margin-bottom: 25px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-register__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FCBC45;
}

.page-register__cta-button:hover {
  background-color: #e0a538;
  transform: translateY(-3px);
  color: #FFFFFF;
}

.page-register__cta-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15;
  filter: brightness(0.5); /* Darken for overlay effect */
  object-fit: cover;
}

.page-register__cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__value-content,
  .page-register__conditions-content {
    flex-direction: column;
  }
  .page-register__value-image,
  .page-register__conditions-image {
    order: -1; /* Image first on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-register__hero-section,
  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 40px 15px;
  }

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

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

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

  .page-register__value-title,
  .page-register__steps-title,
  .page-register__conditions-title,
  .page-register__faq-title,
  .page-register__cta-title {
    font-size: 2em;
  }

  .page-register__step-item {
    padding-left: 60px;
  }

  .page-register__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.2em;
    left: 15px;
  }

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

  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  
  /* Ensure images do not overflow on mobile */
  .page-register__hero-image img,
  .page-register__value-image img,
  .page-register__steps-image img,
  .page-register__conditions-image img,
  .page-register__cta-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__cta-title {
    font-size: 2.2em;
  }
  .page-register__value-title,
  .page-register__steps-title,
  .page-register__conditions-title,
  .page-register__faq-title {
    font-size: 1.8em;
  }
}