.page-register {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-register__section {
  padding: 60px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

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

.page-register__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  cursor: pointer;
}

.page-register__button--primary {
  background-color: #FFD700; /* Gold */
  color: #000000; /* Black text on gold */
  border: 2px solid #FFD700;
}

.page-register__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-register__button--secondary {
  background-color: #000000; /* Black */
  color: #FFD700; /* Gold text on black */
  border: 2px solid #000000;
}

.page-register__button--secondary:hover {
  background-color: #333333;
  border-color: #333333;
  transform: translateY(-2px);
}

.page-register__button--text {
  background: none;
  color: #000000;
  border: none;
  padding: 0;
  text-decoration: underline;
}

.page-register__button--text:hover {
  color: #FFD700;
  transform: none;
}

.page-register__button--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

/* Hero Section */
.page-register__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.page-register__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Limit hero width */
  margin: 0 auto;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6; /* Slightly dim image to make text stand out */
  object-fit: cover;
}

.page-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  max-width: 900px;
  padding: 20px;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Value Section */
.page-register__value-section {
  background-color: #f9f9f9;
  text-align: center;
}

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

.page-register__section-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

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

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

.page-register__feature-icon {
  width: 100%; /* Ensure images take full width of their container */
  height: auto;
  max-height: 250px; /* Maintain aspect ratio and reasonable height */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-register__feature-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
}

.page-register__feature-text {
  font-size: 1em;
  color: #666666;
}

/* Steps Section */
.page-register__steps-section {
  background-color: #ffffff;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-register__step-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  padding-top: 80px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #FFD700;
  color: #000000;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
}

.page-register__step-title {
  font-size: 1.7em;
  color: #000000;
  margin-bottom: 15px;
}

.page-register__step-text {
  color: #666666;
  font-size: 1em;
}

/* Conditions Section */
.page-register__conditions-section {
  background-color: #f0f0f0;
}

.page-register__conditions-list {
  list-style: disc;
  padding-left: 25px;
  color: #555555;
  font-size: 1.05em;
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: left;
}

.page-register__condition-item {
  margin-bottom: 15px;
}

/* FAQ Section */
.page-register__faq-section {
  background-color: #ffffff;
}

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

.page-register__faq-item {
  background-color: #f9f9f9;
  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: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFD700;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '-';
}

.page-register__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.05em;
  color: #555555;
}

/* CTA Section */
.page-register__cta-section {
  background-color: #000000;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-register__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-register__cta-description {
  font-size: 1.4em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

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

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

  .page-register__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-register {
    padding-top: var(--header-offset, 80px);
  }

  .page-register__hero-content {
    padding: 15px;
  }

  .page-register__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }

  .page-register__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-register__section {
    padding: 40px 15px;
  }

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

  .page-register__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-register__features-grid, .page-register__steps-list {
    grid-template-columns: 1fr;
  }

  .page-register__feature-icon {
    max-height: 200px;
  }

  .page-register__step-item {
    padding-top: 60px;
  }

  .page-register__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    top: 15px;
    left: 15px;
  }

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

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

  .page-register__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }

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

  /* Critical for mobile image overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }

  .page-register__hero-image {
    height: 300px; /* Adjust hero image height for mobile */
    object-fit: cover;
  }
}

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

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

  .page-register__button {
    width: 100%;
    box-sizing: border-box;
  }

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

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