.page-register {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for content area if needed, though body handles it */
}

.page-register__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-register__hero-content {
  max-width: 900px;
  padding: 40px 20px;
  z-index: 2;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #FCBC45; /* Login color for highlight */
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

.page-register__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  opacity: 0.3;
}

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-register__cta-button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Black for contrast */
}

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

.page-register__cta-button--secondary {
  background-color: #000000; /* Main color */
  color: #FCBC45; /* Login color */
  border: 2px solid #FCBC45;
}

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

.page-register__cta-button--tertiary {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
}

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

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

.page-register__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__final-cta-section {
  padding: 60px 0;
}

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

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

.page-register__value-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-register__value-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-register__value-card-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

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

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

.page-register__step-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  position: relative;
  padding-top: 70px;
}

.page-register__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #FCBC45; /* Login color */
  color: #000000;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: 600;
}

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

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

.page-register__condition-item {
  background-color: #f0f0f0;
  border-left: 5px solid #FCBC45; /* Login color */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1em;
  color: #333333;
  line-height: 1.5;
}

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

.page-register__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  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.2em;
  font-weight: 600;
  color: #000000;
  cursor: pointer;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-item[open] .page-register__faq-question {
  background-color: #FCBC45; /* Login color */
  color: #000000;
}

.page-register__faq-item[open] .page-register__faq-question .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-toggle {
  font-size: 1.5em;
  transition: transform 0.3s ease;
  color: #000000;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  color: #000000;
}

.page-register__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  border-top: 1px solid #e0e0e0;
}

.page-register__final-cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-register__final-cta-section .page-register__section-title {
  color: #FCBC45; /* Login color */
}

.page-register__final-cta-section .page-register__section-description {
  color: #FFFFFF;
  margin-bottom: 50px;
}

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

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

  .page-register__value-cards,
  .page-register__registration-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2.5em;
  }

  .page-register__hero-description {
    font-size: 1.1em;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__section-description {
    font-size: 1em;
  }

  .page-register__value-cards,
  .page-register__registration-steps {
    grid-template-columns: 1fr;
  }

  .page-register__value-card-image, 
  .page-register__value-card img, 
  .page-register__step-item img, 
  .page-register__conditions-section img, 
  .page-register__faq-section img, 
  .page-register__final-cta-section img, 
  .page-register__content-wrapper img, 
  .page-register__hero-section img {
    max-width: 100%;
    height: auto;
  }

  .page-register__hero-image {
    width: 100%;
    height: auto;
  }

  /* Ensure all content images are responsive and don't cause overflow */
  .page-register * img {
    max-width: 100%;
    height: auto;
  }

  .page-register {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }

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

  .page-register__section-title {
    font-size: 1.5em;
  }

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

/* Global image size constraint check */
.page-register__value-card-image,
.page-register__hero-image {
  min-width: 200px;
  min-height: 200px;
}

/* Ensure no CSS filter changes image colors */
.page-register img {
  filter: none !important;
}