.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); /* Ensures content is not hidden by fixed header */
}

.page-register__hero-section {
  position: relative;
  background-color: #000000; /* Dark background for hero section */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

.page-register__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle background effect */
  z-index: 0;
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

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

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 10px;
  cursor: pointer;
}

.page-register__cta-button--register {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

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

.page-register__cta-button--login {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-register__cta-button--login:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

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

.page-register__benefits-section {
  background-color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

.page-register__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-register__benefit-card {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

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

.page-register__benefit-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__benefit-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-register__benefit-description {
  font-size: 1em;
  color: #555555;
}

.page-register__cta-button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 40px;
  border: 2px solid #FCBC45;
}

.page-register__cta-button--learn-more:hover {
  background-color: #e0a53b;
}

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

.page-register__steps-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-register__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  gap: 20px;
}

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

.page-register__step-content {
  text-align: left;
}

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

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

.page-register__steps-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-register__terms-section {
  background-color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

.page-register__terms-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__terms-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

.page-register__terms-item {
  background-color: #F8F8F8;
  border-left: 5px solid #FCBC45;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1em;
  color: #333333;
}

.page-register__cta-button--read-terms {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

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

.page-register__faq-section {
  background-color: #F0F0F0;
  padding: 60px 20px;
  text-align: center;
}

.page-register__faq-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: flex-start;
}

.page-register__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 15px;
  text-align: left;
  flex: 1;
  min-width: 300px;
}

.page-register__faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  color: #000000;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-register__faq-question[aria-expanded="true"]::after {
  content: '-';
  transform: rotate(0deg);
}

.page-register__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: #555555;
  line-height: 1.8;
}

.page-register__faq-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  margin-top: 30px;
}

.page-register__final-cta-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-register__final-cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

.page-register__cta-button--final-register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-register__cta-button--final-register:hover {
  background-color: #e0a53b;
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2.5em;
  }

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

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

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

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

  .page-register__steps-container {
    flex-direction: column;
  }

  .page-register__steps-image {
    max-width: 100%;
    margin-top: 40px;
  }

  .page-register__faq-container {
    flex-direction: column;
  }

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

  /* Critical: Ensure all images within .page-register are responsive and don't overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  /* Specific overrides for content images to ensure min-width rules are respected if they were set smaller */
  .page-register__benefit-image, 
  .page-register__steps-image, 
  .page-register__faq-image {
    min-width: 200px; /* Ensure images are not displayed smaller than 200px */
    width: 100%; /* Take full width of container */
    height: auto; /* Maintain aspect ratio */
  }
}

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

  .page-register__cta-button {
    display: block;
    margin: 10px auto;
  }

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

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

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

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