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

.page-register__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-register__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px; /* Ensure content has space */
  background: rgba(26, 46, 68, 0.7); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #1A2E44; /* Dark blue-gray text */
  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;
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-register__cta-button--secondary {
  background-color: #1A2E44;
  color: #FFD700;
  border: 2px solid #FFD700;
}

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

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

.page-register__value-section, .page-register__steps-section, .page-register__terms-section, .page-register__faq-section, .page-register__call-to-action-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-register__value-section {
  background-color: #ffffff;
}

.page-register__section-title {
  font-size: 2.8em;
  color: #1A2E44;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-register__section-intro {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  color: #555555;
}

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

.page-register__value-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #FFD700;
}

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

.page-register__value-icon {
  width: 100%; /* Ensure image fills container */
  max-width: 250px; /* Max width for consistency */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-register__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-register__step-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  counter-increment: step-counter;
}

.page-register__step-number {
  position: absolute;
  top: 30px;
  left: -20px;
  background-color: #FFD700;
  color: #1A2E44;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-register__step-heading {
  font-size: 1.6em;
  color: #1A2E44;
  margin-bottom: 10px;
  padding-left: 30px; /* Space for step number */
}

.page-register__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #666666;
  padding-left: 30px; /* Space for step number */
}

.page-register__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

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

.page-register__terms-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  border-left: 4px solid #1A2E44;
}

.page-register__terms-heading {
  font-size: 1.5em;
  color: #1A2E44;
  margin-bottom: 10px;
}

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

.page-register__terms-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 1em;
  color: #555555;
}

.page-register__terms-footer a {
  color: #1A2E44;
  text-decoration: underline;
  font-weight: bold;
}

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

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

.page-register__faq-question {
  width: 100%;
  background-color: #1A2E44; /* Dark blue-gray background */
  color: #ffffff;
  padding: 20px 25px;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-icon {
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-register__faq-question[aria-expanded="true"] .page-register__faq-icon {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  padding: 0 25px;
  background-color: #fdfdfd;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-register__faq-answer p {
  padding: 20px 0;
  margin: 0;
  line-height: 1.6;
}

.page-register__faq-question[aria-expanded="true"] + .page-register__faq-answer {
  max-height: 200px; /* Adjust as needed for content */
  padding: 0 25px 20px;
}

.page-register__call-to-action-section {
  background-color: #1A2E44; /* Dark blue-gray background */
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.page-register__call-to-action-section .page-register__section-title {
  color: #FFD700; /* Gold title */
}

.page-register__call-to-action-section .page-register__section-intro {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-register__cta-subtext {
  margin-top: 20px;
  font-size: 1em;
  color: #cccccc;
}

.page-register__cta-subtext a {
  color: #FFD700;
  text-decoration: underline;
  font-weight: bold;
}

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

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

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

  .page-register__hero-container {
    padding: 30px 15px;
  }

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

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

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

  .page-register__value-section, .page-register__steps-section, .page-register__terms-section, .page-register__faq-section, .page-register__call-to-action-section {
    padding: 60px 0;
  }

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

  .page-register__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

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

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

  .page-register__step-number {
    top: 25px;
    left: -15px;
    width: 30px;
    height: 30px;
    font-size: 1.2em;
  }

  .page-register__step-heading {
    font-size: 1.4em;
    padding-left: 20px;
  }

  .page-register__step-text {
    padding-left: 20px;
  }

  .page-register__terms-item {
    padding: 25px;
  }

  .page-register__terms-heading {
    font-size: 1.3em;
  }

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

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

  .page-register__faq-question[aria-expanded="true"] + .page-register__faq-answer {
    padding: 0 20px 15px;
  }

  .page-register__call-to-action-section {
    padding: 80px 0;
  }

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

  .page-register__value-icon {
    max-width: 100%; /* Ensure value icons are responsive */
  }
}

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

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

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

  .page-register__hero-container {
    padding: 20px 10px;
  }
}