/* style/register.css */

.page-register {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0A192F; /* Dark blue main color */
  position: relative;
  overflow: hidden;
}

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

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

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

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #0A192F; /* Dark blue text on gold */
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-register__value-section,
.page-register__steps-section,
.page-register__conditions-section,
.page-register__faq-section,
.page-register__cta-bottom-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold accent for section titles */
  margin-bottom: 30px;
}

.page-register__section-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__steps-container,
.page-register__conditions-container,
.page-register__faq-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex: 1;
  min-width: 300px;
}

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
  border-left: 5px solid #FFD700; /* Gold border accent */
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-register__step-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-register__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-register__step-description {
  color: #cccccc;
  font-size: 1em;
}

.page-register__steps-image-wrapper,
.page-register__conditions-image-wrapper,
.page-register__faq-image-wrapper,
.page-register__cta-image-wrapper {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-register__steps-image,
.page-register__conditions-image,
.page-register__faq-image,
.page-register__cta-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
  object-fit: cover;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  flex: 1;
  min-width: 300px;
}

.page-register__condition-item {
  background-color: rgba(10, 25, 47, 0.7); /* Dark blue semi-transparent */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 3px solid #FFD700;
  color: #f0f0f0;
  font-size: 1em;
}

.page-register__faq-list {
  flex: 1;
  min-width: 300px;
  text-align: left;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  background-color: #0A192F; /* Dark blue */
  color: #FFD700; /* Gold */
  padding: 20px 25px;
  width: 100%;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  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: #1a3050;
}

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

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

.page-register__faq-answer {
  padding: 0 25px;
  background-color: rgba(255, 255, 255, 0.05);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-register__faq-answer p {
  margin: 0;
  color: #cccccc;
}

.page-register__cta-bottom-section {
  background-color: #0A192F;
  padding: 80px 20px;
  margin-top: 60px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

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

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

.page-register__cta-button--bottom {
  margin-top: 30px;
}

@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__hero-content {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 15px;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__cta-button {
    padding: 12px 30px;
    font-size: 1.1em;
  }
  .page-register__value-section,
  .page-register__steps-section,
  .page-register__conditions-section,
  .page-register__faq-section,
  .page-register__cta-bottom-section {
    padding: 40px 15px;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-text {
    font-size: 1em;
  }
  .page-register__steps-container,
  .page-register__conditions-container,
  .page-register__faq-container {
    flex-direction: column;
    gap: 30px;
  }
  .page-register__steps-list,
  .page-register__conditions-list,
  .page-register__faq-list {
    min-width: unset;
    width: 100%;
  }
  .page-register__steps-image-wrapper,
  .page-register__conditions-image-wrapper,
  .page-register__faq-image-wrapper,
  .page-register__cta-image-wrapper {
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }
  .page-register__steps-image,
  .page-register__conditions-image,
  .page-register__faq-image,
  .page-register__cta-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 15px 20px;
  }
  .page-register__faq-answer.is-active {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__cta-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-register__step-title {
    font-size: 1.3em;
  }
  .page-register__faq-question {
    font-size: 1em;
  }
}