.page-register {
  color: #333333; /* Dark text for light body background #f8f8f8 */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-register__hero-section {
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Red gradient */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0.9;
}

.page-register__hero-button {
  display: inline-block;
  background-color: #ffffff;
  color: #8B0000;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

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

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

.page-register__section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
  position: relative;
}

.page-register__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 20px auto 0;
  border-radius: 2px;
}

.page-register__value-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-register__value-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-register__value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-register__value-icon {
  width: 250px; /* Minimum 200px */
  height: 187.5px; /* Minimum 200px, maintaining aspect ratio */
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 10px;
}

.page-register__value-heading {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-register__call-to-action-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register__call-to-action-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-register__steps-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-register__step-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  counter-reset: step-counter;
}

.page-register__step-item {
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.07);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 80px;
}

.page-register__step-number {
  counter-increment: step-counter;
  position: absolute;
  left: 30px;
  top: 30px;
  font-size: 2.2em;
  font-weight: 700;
  color: #FFD700;
  line-height: 1;
}

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

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

.page-register__button-bottom {
  display: block;
  width: fit-content;
  margin: 60px auto 0;
  background-color: #8B0000;
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-register__button-bottom:hover {
  background-color: #6a0000;
  transform: translateY(-3px);
}

.page-register__conditions-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-register__conditions-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-register__conditions-image {
  flex: 1 1 45%;
  min-width: 300px;
  max-width: 500px; /* Ensure image doesn't exceed 500px on large screens */
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-register__conditions-list {
  flex: 1 1 50%;
  list-style: none;
  padding: 0;
}

.page-register__conditions-item {
  background-color: #ffffff;
  border-left: 4px solid #FFD700;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1em;
  line-height: 1.6;
  color: #444444;
}

.page-register__conditions-item strong {
  color: #8B0000;
}

.page-register__faq-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

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

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

.page-register__faq-question {
  width: 100%;
  background-color: #FFD700;
  color: #8B0000;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  text-align: left;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

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

.page-register__faq-question.active {
  background-color: #8B0000;
  color: #ffffff;
}

.page-register__faq-toggle-icon {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-register__faq-question.active .page-register__faq-toggle-icon {
  transform: rotate(45deg);
}

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

.page-register__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content */
  padding: 20px 25px;
}

.page-register__faq-answer p {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin: 0;
}

.page-register__cta-section {
  background-color: #8B0000;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-register__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-register__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  opacity: 0.9;
}

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 700;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-right: 20px;
}

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

.page-register__cta-link {
  display: inline-block;
  color: #FFD700;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 20px;
}

.page-register__cta-link:hover {
  color: #ffffff;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 20px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-button {
    font-size: 1em;
    padding: 12px 30px;
  }

  .page-register__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }

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

  .page-register__value-icon {
    width: 200px; /* Minimum 200px */
    height: 150px; /* Minimum 200px, maintaining aspect ratio */
  }

  .page-register__conditions-content {
    flex-direction: column;
  }
  .page-register__conditions-image {
    min-width: 200px;
    max-width: 100%;
  }

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

  .page-register__cta-title {
    font-size: 2em;
  }
  .page-register__cta-description {
    font-size: 1em;
  }
  .page-register__cta-button {
    font-size: 1em;
    padding: 12px 30px;
    margin-right: 0;
    margin-bottom: 20px;
  }
  .page-register__cta-link {
    display: block;
    margin-top: 0;
  }

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

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__value-heading {
    font-size: 1.3em;
  }
  .page-register__step-heading {
    font-size: 1.2em;
  }
  .page-register__cta-title {
    font-size: 1.8em;
  }
  .page-register__cta-button {
    width: 100%;
  }
}