/* style/register.css */
.page-register {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text on light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
}

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000;
  color: #FFFFFF;
}

.page-register__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-register__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

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

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

.page-register__register-button:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-register__hero-image {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
}

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-register__section-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

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

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

.page-register__value-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-register__item-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__item-description {
  font-size: 1em;
  color: #555555;
}

.page-register__step-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-register__step-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FCBC45;
  margin-bottom: 25px;
  padding: 25px 30px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-register__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #FCBC45;
  color: #000000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-register__step-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
  margin-left: 20px; /* Offset for the counter */
}

.page-register__step-description {
  font-size: 1em;
  color: #555555;
  margin-left: 20px;
}

.page-register__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-register__conditions-list {
  list-style: disc;
  padding-left: 30px;
  color: #333333;
  font-size: 1.05em;
}

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

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

.page-register__conditions-item a {
  color: #000000;
  text-decoration: underline;
}

.page-register__conditions-item a:hover {
  color: #FCBC45;
}

.page-register__faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-register__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  background-color: #eee;
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #FCBC45;
  transition: transform 0.3s 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;
  border-top: 1px solid #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.4em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__value-item img,
  .page-register__hero-image img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 40px 15px;
  }
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__register-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section {
    padding: 40px 15px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-title {
    font-size: 1.3em;
  }
  .page-register__faq-question {
    font-size: 1.05em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 12px 20px 15px;
  }
  /* Mobile specific image handling to prevent overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__step-item::before {
    left: 5px;
    top: 15px;
    transform: none;
  }
  .page-register__step-title,
  .page-register__step-description {
    margin-left: 45px;
  }
}