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

.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background: linear-gradient(135deg, #007bff, #0056b3); /* Primary color gradient */
  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: 2;
}

.page-register__hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-register__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #dc3545; /* Auxiliary color for CTA */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.page-register__cta-button--secondary {
  background-color: #0056b3;
}

.page-register__cta-button--secondary:hover {
  background-color: #004085;
}

.page-register__cta-button--primary {
  background-color: #dc3545;
}

.page-register__cta-button--primary:hover {
  background-color: #c82333;
}

.page-register__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.7); /* Allowed for background effect, not changing original image color */
}

.page-register__content-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.page-register__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #007bff;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-register__section-paragraph {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__cta-bottom-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
}

.page-register__value-section:nth-of-type(even),
.page-register__conditions-section:nth-of-type(even) {
  background-color: #ffffff;
}

.page-register__value-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-register__value-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-size: 1.1rem;
  line-height: 1.5;
  border-left: 5px solid #dc3545;
}

.page-register__value-item strong {
  color: #007bff;
  display: block;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-register__step-item {
  background-color: #ffffff;
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  counter-increment: step-counter;
  position: relative;
  padding-left: 80px;
}

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

.page-register__step-title {
  font-size: 1.6rem;
  color: #007bff;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-register__step-description {
  font-size: 1rem;
  line-height: 1.6;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-register__condition-item {
  background-color: #f0f8ff; /* Light blue background for conditions */
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 4px solid #007bff;
  border-radius: 5px;
  font-size: 1rem;
  line-height: 1.6;
}

.page-register__condition-item strong {
  color: #007bff;
}

.page-register__content-image {
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
}

.page-register__content-image--large {
  width: 100%;
  max-width: 1000px;
}

.page-register__faq-list {
  margin-top: 30px;
}

.page-register__faq-item {
  background-color: #ffffff;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-item[open] .page-register__faq-question {
  background-color: #007bff;
  color: #ffffff;
  border-bottom-color: #0056b3;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '-';
  transform: rotate(180deg);
}

.page-register__faq-toggle {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-register__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

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

.page-register__text-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.page-register__text-link:hover {
  text-decoration: underline;
  color: #0056b3;
}

.page-register__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
  background-color: #007bff; /* Primary color background */
  color: #ffffff;
}

.page-register__cta-bottom-section .page-register__section-title {
  color: #ffffff;
}

.page-register__cta-bottom-section .page-register__section-paragraph {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-register__hero-section {
    padding-top: var(--header-offset, 120px);
    padding: 40px 15px;
  }

  .page-register__hero-title {
    font-size: 2.5rem;
  }

  .page-register__hero-description {
    font-size: 1rem;
  }

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

  .page-register__section-title {
    font-size: 2rem;
  }

  .page-register__section-paragraph {
    font-size: 0.95rem;
  }

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

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

  .page-register__step-item::before {
    left: 15px;
    top: 25px;
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }

  .page-register__step-title {
    font-size: 1.4rem;
  }

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

  .page-register__faq-toggle {
    font-size: 1.5rem;
  }

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

  /* Ensure content images are responsive and do not overflow */
  .page-register__content-image {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }

  .page-register__content-container {
    padding: 15px;
  }

  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section,
  .page-register__cta-bottom-section {
    padding: 40px 0;
  }
}