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

.page-register__hero-section {
  background: linear-gradient(135deg, #007bff, #0056b3);
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  padding-bottom: 60px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-register__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-register__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffc107; /* Auxiliary gold for emphasis */
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-register__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary gold for button */
  color: #007bff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__hero-button:hover {
  background-color: #e0a800;
  transform: translateY(-3px);
}

.page-register__hero-image-wrapper {
  margin-top: 40px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-register__content-section {
  padding: 60px 0;
}

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

.page-register__section-title {
  font-size: 2.2em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.page-register__value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

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

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

.page-register__value-icon {
  width: 200px; /* Minimum size requirement */
  height: 150px; /* Minimum size requirement */
  object-fit: contain;
  margin-bottom: 20px;
}

.page-register__value-heading {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

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

.page-register__registration-steps {
  background-color: #f8f9fa;
}

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

.page-register__steps-image {
  flex: 1 1 45%;
  min-width: 300px; /* Ensure minimum image size */
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-register__steps-list {
  flex: 1 1 50%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__step-item {
  margin-bottom: 25px;
  position: relative;
  padding-left: 40px;
}

.page-register__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #007bff;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-register__step-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 5px;
}

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

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

.page-register__guidelines-image {
  flex: 1 1 45%;
  min-width: 300px; /* Ensure minimum image size */
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-register__guidelines-list {
  flex: 1 1 50%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__guideline-item {
  margin-bottom: 20px;
}

.page-register__guideline-title {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 5px;
}

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

.page-register__faq {
  background-color: #f0f8ff;
}

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

.page-register__faq-image-wrapper {
  flex: 1 1 40%;
  min-width: 300px; /* Ensure minimum image size */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-register__faq-illustration {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-register__faq-list {
  flex: 1 1 55%;
  min-width: 300px;
}

.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 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #007bff;
  cursor: pointer;
  background-color: #fdfdfd;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.3s ease;
}

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

.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: 15px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
  border-top: 1px solid #e9ecef;
}

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

.page-register__cta-section {
  background: linear-gradient(45deg, #007bff, #0056b3);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
}

.page-register__cta-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffc107;
}

.page-register__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #007bff;
  padding: 18px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-register__hero-title {
    font-size: 2.4em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__steps-wrapper, .page-register__guidelines-wrapper, .page-register__faq-grid {
    flex-direction: column;
  }
  .page-register__steps-image, .page-register__guidelines-image, .page-register__faq-illustration {
    max-width: 100%;
    width: 100%;
  }
  .page-register__faq-image-wrapper {
    order: 2; /* Move image below FAQ list on smaller screens */
  }
  .page-register__faq-list {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__cta-title {
    font-size: 2em;
  }
  .page-register__cta-description {
    font-size: 1.1em;
  }
  .page-register__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Ensure content area images are responsive and do not overflow */
  .page-register__hero-image, 
  .page-register__value-icon, 
  .page-register__steps-image, 
  .page-register__guidelines-image, 
  .page-register__faq-illustration {
    max-width: 100%; 
    height: auto; 
  }
  .page-register__steps-wrapper, .page-register__guidelines-wrapper, .page-register__faq-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__value-item, .page-register__step-item, .page-register__guideline-item {
    padding: 20px;
  }
  .page-register__faq-question {
    font-size: 1em;
  }
  .page-register__faq-answer {
    padding: 10px 20px;
  }
  .page-register__cta-title {
    font-size: 1.8em;
  }
  .page-register__cta-description {
    font-size: 1em;
  }
}