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

.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #007bff; /* Primary color background for hero */
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

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

.page-register__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-register__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Secondary color for CTA */
  color: #000000;
  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;
}

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

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

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

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

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

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

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

.page-register__card-image {
  width: 100%; /* Ensure image fills card width */
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px;
}

.page-register__card-title {
  font-size: 1.3em;
  color: #007bff;
  margin-bottom: 10px;
}

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

.page-register__steps-container {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 30px;
}

.page-register__step-list {
  list-style: none;
  padding: 0;
  flex: 1;
}

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

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

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

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

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

.page-register__steps-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-register__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #ffc107;
  color: #000000;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-register__conditions-container {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-top: 30px;
}

.page-register__condition-list {
  list-style: disc;
  padding-left: 25px;
  flex: 1;
}

.page-register__condition-item {
  margin-bottom: 15px;
  line-height: 1.6;
  font-size: 1em;
  color: #555555;
}

.page-register__inline-link {
  color: #007bff;
  text-decoration: underline;
}

.page-register__inline-link:hover {
  color: #0056b3;
}

.page-register__conditions-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-register__faq-container {
  margin-top: 30px;
  border-top: 1px solid #eeeeee;
  padding-top: 20px;
}

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

.page-register__faq-question {
  width: 100%;
  background-color: #f9f9f9;
  color: #007bff;
  padding: 18px 25px;
  border: none;
  text-align: left;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  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;
  transition: transform 0.3s ease;
}

.page-register__faq-question.active {
  background-color: #e6f0ff;
}

.page-register__faq-question.active::after {
  content: '-';
  transform: rotate(0deg);
}

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

.page-register__faq-answer p {
  padding-bottom: 20px;
  margin-top: 10px;
  line-height: 1.6;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__steps-container,
  .page-register__conditions-container {
    flex-direction: column;
    gap: 30px;
  }
  .page-register__steps-image,
  .page-register__conditions-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 40px 15px;
  }
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.7em;
  }
  .page-register__section {
    margin: 30px auto;
    padding: 15px;
  }
  .page-register__card-image,
  .page-register__steps-image,
  .page-register__conditions-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-register__card-image {
    height: 200px; /* Maintain height for cards */
  }
  .page-register__hero-button,
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.5em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__card {
    padding: 20px;
  }
  .page-register__step-number {
    width: 35px;
    height: 35px;
    font-size: 1em;
    margin-right: 15px;
  }
  .page-register__step-title {
    font-size: 1.2em;
  }
}