/* style/register.css */
.page-register {
  padding-top: var(--header-offset, 120px);
  background-color: #FFFFFF;
  color: #333333;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-register__hero-section {
  background-color: #000000; /* Main brand color for hero background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Accent color for title */
}

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  max-width: 1200px; /* Ensure images are not too wide */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-register__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.3;
}

.page-register__section-intro,
.page-register__section-outro {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-register__button--primary {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-register__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__rules-section,
.page-register__faq-section,
.page-register__cta-section {
  padding: 60px 0;
}

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

.page-register__benefits-list,
.page-register__rules-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-register__benefit-item,
.page-register__rule-item {
  background-color: #FFFFFF;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-register__benefit-item:hover,
.page-register__rule-item:hover {
  transform: translateY(-5px);
}

.page-register__benefit-item h3,
.page-register__rule-item h3 {
  color: #000000;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.page-register__benefit-item p,
.page-register__rule-item p {
  font-size: 1em;
  color: #555555;
}

.page-register__steps-list {
  list-style: decimal;
  padding-left: 30px;
  margin: 30px 0;
}

.page-register__step-item {
  margin-bottom: 25px;
  font-size: 1.1em;
  color: #333333;
}

.page-register__step-item h3 {
  color: #000000;
  font-size: 1.5em;
  margin-bottom: 10px;
}

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

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

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

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

.page-register__faq-question::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-question::after {
  content: '-';
  transform: rotate(0deg);
}

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

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

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

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

.page-register__cta-section .page-register__section-intro {
  color: #f0f0f0;
}

.page-register__cta-buttons {
  margin-top: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__benefits-list,
  .page-register__rules-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 15px;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-intro,
  .page-register__section-outro {
    font-size: 0.95em;
  }
  .page-register__button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 8px;
  }
  .page-register__benefits-list,
  .page-register__rules-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 15px 20px;
  }
  /* Ensure all content area images are responsive and do not overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  .page-register__hero-image,
  .page-register__cta-image {
    max-width: 100%;
  }
  .page-register__content-wrapper {
    padding: 20px 15px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__button {
    display: block;
    width: calc(100% - 20px);
    margin-left: 10px;
    margin-right: 10px;
  }
  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}