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

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(40, 167, 69, 0.1));
  gap: 30px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

.page-register__hero-content {
  max-width: 800px;
  margin-bottom: 20px;
}

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

.page-register__hero-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-register__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-register__hero-image-wrapper {
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

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

.page-register__button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-register__button--primary {
  background-color: #007bff;
  color: #ffffff;
}

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

.page-register__button--secondary {
  background-color: #28a745;
  color: #ffffff;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-register__section-title {
  font-size: 2.2em;
  color: #007bff;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.page-register__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #28a745;
  border-radius: 2px;
}

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

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

.page-register__value-item {
  text-align: center;
  padding: 25px;
  background-color: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-register__value-icon {
  width: 200px; /* Minimum size requirement */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__value-heading {
  font-size: 1.4em;
  color: #007bff;
  margin-bottom: 10px;
}

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

.page-register__call-to-action {
  text-align: center;
  margin-top: 40px;
}

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

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: #f8f9fa;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #28a745;
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

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

.page-register__step-heading {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 10px;
}

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

.page-register__conditions-list {
  list-style: disc inside;
  padding-left: 20px;
  margin-top: 30px;
  font-size: 1.05em;
  color: #555555;
  line-height: 1.8;
}

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

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

.page-register__text-link:hover {
  text-decoration: underline;
}

.page-register__disclaimer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.95em;
  color: #777777;
}

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

.page-register__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background-color: #fcfcfc;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #007bff;
  cursor: pointer;
  background-color: #f0f8ff;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question::marker, /* Hide default marker for details */
.page-register__faq-question::-webkit-details-marker {
  display: none;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #28a745;
  transition: transform 0.2s ease;
}

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

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

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-register__hero-section {
    flex-direction: column;
  }

  .page-register__hero-content {
    margin-bottom: 30px;
  }

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

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

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-register__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__button {
    width: 100%;
    padding: 12px 20px;
  }

  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section {
    padding: 30px 15px;
    margin: 30px auto;
  }

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

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

  .page-register__step-item {
    flex-direction: column;
    text-align: center;
  }

  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .page-register__step-heading {
    font-size: 1.3em;
  }

  .page-register__conditions-list {
    padding-left: 15px;
    font-size: 0.95em;
  }

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

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

  .page-register img {
    max-width: 100%;
    height: auto;
  }
}

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

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

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

  .page-register__value-icon {
    width: 200px; /* Ensure minimum size */
  }

  .page-register__value-heading {
    font-size: 1.2em;
  }

  .page-register__step-number {
    font-size: 2em;
  }

  .page-register__step-heading {
    font-size: 1.1em;
  }
}