.page-register {
  color: #333333; /* Dark text for default white body background */
  padding-top: var(--header-offset, 120px);
}

.page-register__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  color: #ffffff;
  text-align: center;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

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

.page-register__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #F2C94C; /* Accent color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-register__register-button {
  display: inline-block;
  background-color: #F2C94C; /* Accent color for button */
  color: #0A2342; /* Primary color for button 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__register-button:hover {
  background-color: #e0b83e;
  transform: translateY(-2px);
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #0A2342; /* Primary color for section titles */
  text-align: center;
  margin-bottom: 20px;
}

.page-register__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

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

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

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

.page-register__value-card, .page-register__explore-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-register__value-card:hover, .page-register__explore-card:hover {
  transform: translateY(-5px);
}

.page-register__value-card img, .page-register__explore-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

.page-register__card-title {
  font-size: 1.5em;
  color: #0A2342;
  margin-bottom: 15px;
}

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

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

.page-register__step-item {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: relative;
  padding-left: 70px;
}

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

.page-register__step-title {
  font-size: 1.4em;
  color: #0A2342;
  margin-bottom: 10px;
}

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

.page-register__steps-section .page-register__register-button--bottom {
  margin-top: 40px;
}

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

.page-register__condition-item {
  background-color: #fdfdfd;
  border-left: 5px solid #0A2342;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  border-radius: 5px;
}

.page-register__condition-title {
  font-size: 1.3em;
  color: #0A2342;
  margin-bottom: 10px;
}

.page-register__condition-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-register__explore-link {
  display: inline-block;
  margin-top: 20px;
  color: #0A2342;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #F2C94C;
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-register__explore-link:hover {
  color: #F2C94C;
  border-color: #0A2342;
}

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

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

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

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

.page-register__faq-question.active::after {
  content: '-';
  transform: rotate(0deg); /* No rotation for minus */
}

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

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

.page-register__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding: 15px 25px;
}

.page-register__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: #555555;
}

.page-register__call-to-action {
  background-color: #0A2342;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-register__call-to-action .page-register__section-title {
  color: #F2C94C;
}

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

.page-register__register-button--final {
  margin-top: 20px;
  margin-bottom: 20px;
}

.page-register__login-link {
  display: block;
  color: #F2C94C;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-register__login-link:hover {
  color: #e0b83e;
}

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

@media (max-width: 768px) {
  .page-register__main-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__value-grid, .page-register__explore-grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    padding-left: 60px;
  }
  .page-register__step-item::before {
    width: 35px;
    height: 35px;
    font-size: 1.1em;
    left: 15px;
  }
  .page-register__hero-section {
    min-height: 400px;
  }
  .page-register__register-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  /* Mobile content image constraint */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__container {
    padding: 20px 15px;
  }
  .page-register__value-card img, .page-register__explore-card img {
    min-width: 200px; /* Ensure min size is still met */
    min-height: 200px; /* Ensure min size is still met */
  }
}

@media (max-width: 480px) {
  .page-register__main-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.95em;
  }
  .page-register__register-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 10px 20px;
  }
}