/* style/register.css */
.page-register {
  color: #333333;
}

.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #8B0000; /* Deep red background */
  color: #ffffff;
  overflow: hidden;
  min-height: 450px;
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-register__hero-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

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

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-register__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #8B0000; /* Deep red text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-register__hero-button:hover {
  background-color: #f0c200;
  color: #6a0000;
}

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

.page-register__section-title {
  font-size: 2em;
  color: #8B0000; /* Deep red for section titles */
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

.page-register__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: #FFD700; /* Gold underline */
  margin: 10px auto 0;
}

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

.page-register__card {
  background-color: #fcfcfc;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
}

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

.page-register__card-image {
  width: 100%; /* Ensure images are not small */
  max-width: 400px; /* Example max width */
  height: auto;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
  border-radius: 4px;
  margin-bottom: 15px;
  object-fit: cover;
}

.page-register__card-title {
  font-size: 1.3em;
  color: #8B0000;
  margin-bottom: 10px;
}

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

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

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  position: relative;
  padding-left: 60px;
}

.page-register__step-number {
  counter-increment: step-counter;
  width: 40px;
  height: 40px;
  min-width: 40px; /* Ensure number circle is consistent */
  min-height: 40px;
  background-color: #FFD700; /* Gold number background */
  color: #8B0000; /* Deep red number text */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: 0;
}

.page-register__step-content {
  flex-grow: 1;
}

.page-register__step-title {
  font-size: 1.4em;
  color: #8B0000;
  margin-bottom: 8px;
}

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

.page-register__button {
  display: block;
  background-color: #8B0000; /* Deep red button */
  color: #FFD700; /* Gold text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
  max-width: 300px;
  margin: 40px auto 0;
}

.page-register__button:hover {
  background-color: #6a0000;
  color: #f0c200;
}

.page-register__content-block {
  line-height: 1.6;
  color: #333333;
}

.page-register__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  color: #555555;
}

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

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 25px;
  background-color: #FFD700; /* Gold for FAQ question background */
  color: #8B0000; /* Deep red for FAQ question text */
  border: none;
  text-align: left;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.page-register__faq-question.active .page-register__faq-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;
  background-color: #ffffff;
  color: #333333;
}

.page-register__faq-answer.active {
  max-height: 200px; /* Adjust as needed for content, or set dynamically */
  padding: 15px 25px 25px;
}

.page-register__faq-answer p {
  margin: 0;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section {
    margin: 20px auto;
    padding: 15px;
  }
  .page-register__section-title {
    font-size: 1.6em;
  }
  .page-register__grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    padding-left: 50px;
  }
  .page-register__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }
  .page-register__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-answer.active {
    padding: 10px 20px 20px;
  }
}