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

.page-register__hero-section {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #0056B3; /* Fallback for image loading */
}

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

.page-register__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  max-width: 800px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-register__main-heading {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for main heading */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0056B3; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #FFD700;
}

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

.page-register__section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.page-register__section-heading {
  font-size: 2.2em;
  color: #0056B3; /* Main blue for section headings */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

.page-register__section-heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

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

.page-register__benefit-card {
  text-align: center;
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-register__benefit-icon {
  width: 400px; /* HTML width attribute */
  height: 267px; /* HTML height attribute */
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 5px;
}

.page-register__card-title {
  font-size: 1.4em;
  color: #0056B3;
  margin-bottom: 10px;
}

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

.page-register__action-area {
  text-align: center;
  margin-top: 30px;
}

.page-register__secondary-cta-button {
  display: inline-block;
  background-color: #0056B3; /* Dark blue button */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: 2px solid #0056B3;
}

.page-register__secondary-cta-button:hover {
  background-color: #004085; /* Darker blue on hover */
  transform: translateY(-2px);
}

.page-register__link {
  color: #0056B3;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
  transition: color 0.3s ease;
}

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

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
}

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

.page-register__step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #FFD700;
  color: #0056B3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 20px;
}

.page-register__step-title {
  font-size: 1.3em;
  color: #0056B3;
  margin-top: 0;
  margin-bottom: 5px;
}

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

.page-register__cta-button--bottom {
  margin-top: 40px;
}

.page-register__guidelines-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.page-register__guidelines-image {
  flex: 1;
  min-width: 300px; /* Ensure image is not too small */
  width: 600px; /* HTML width attribute */
  height: 450px; /* HTML height attribute */
  object-fit: cover;
  border-radius: 8px;
}

.page-register__guidelines-list {
  flex: 2;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__guideline-item {
  background-color: #f0f8ff; /* Light blue background for list items */
  border-left: 5px solid #0056B3;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.05em;
}

.page-register__guideline-item strong {
  color: #0056B3;
}

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

.page-register__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #0056B3;
  cursor: pointer;
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

.page-register__faq-question:hover {
  background-color: #e6f2ff; /* Lighter blue on hover */
}

.page-register__faq-toggle {
  font-size: 1.5em;
  color: #FFD700;
  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;
  font-size: 1em;
  color: #555555;
}

.page-register__action-area--bottom {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-register__main-heading {
    font-size: 2.5em;
  }

  .page-register__intro-text {
    font-size: 1.1em;
  }

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

  .page-register__guidelines-content {
    flex-direction: column;
  }

  .page-register__guidelines-image {
    width: 100%;
    height: auto; /* Ensure image scales */
    max-width: 600px; /* Limit max width on smaller screens */
  }
}

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

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

  .page-register__main-heading {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-register__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-register__section {
    margin: 30px auto;
    padding: 15px;
  }

  .page-register__section-heading {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

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

  .page-register__benefit-icon {
    width: 200px; /* Enforce min size */
    height: 133px;
  }

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

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

  .page-register__guidelines-image {
    width: 100%;
    height: auto; /* Ensure image scales */
    max-width: 100%; /* Ensure content area image does not overflow */
  }

  .page-register__guideline-item {
    padding: 12px 15px;
  }

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

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

  .page-register__action-area--bottom {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__secondary-cta-button, .page-register__link {
    margin: 0;
    width: 100%;
    box-sizing: border-box;
  }

  /* Ensure all content area images are responsive and don't overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
    display: block; /* To remove extra space below img */
  }
  .page-register__benefit-icon, .page-register__guidelines-image {
    min-width: 200px; /* Re-affirm minimum size */
    min-height: 150px; /* Adjust height based on aspect ratio */
    width: auto; /* Allow auto width to respect max-width */
  }
}

@media (max-width: 480px) {
  .page-register__main-heading {
    font-size: 1.7em;
  }

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

  .page-register__cta-button {
    width: 100%;
    box-sizing: border-box;
  }
}