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

.page-register__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  background-color: #000080; /* Fallback background if image fails to load */
}

.page-register__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7); /* Darken image slightly for text contrast */
}

.page-register__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 40px 20px;
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  line-height: 1.2;
}

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

.page-register__cta-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Midnight blue text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-register__cta-button:hover {
  background-color: #e0b300; /* Darker gold on hover */
  transform: translateY(-2px);
}

.page-register__section-title {
  font-size: 2.5em;
  color: #000080; /* Midnight blue for main titles */
  text-align: center;
  margin: 60px 0 40px;
  position: relative;
}

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

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

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

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

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

.page-register__value-icon {
  width: 200px; /* Min size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-register__card-title {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 15px;
}

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

.page-register__center-button {
  text-align: center;
  margin-top: 50px;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-register__step-item {
  background-color: #ffffff;
  border-left: 5px solid #FFD700;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

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

.page-register__step-description {
  font-size: 1.05em;
  color: #555555;
}

.page-register__conditions-content {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.page-register__conditions-intro {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-register__conditions-list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-register__condition-item {
  margin-bottom: 10px;
  color: #555555;
}

.page-register__condition-item strong {
  color: #000080;
}

.page-register__conditions-outro {
  font-size: 0.95em;
  color: #777777;
}

.page-register__conditions-outro a {
  color: #000080;
  text-decoration: underline;
}

.page-register__conditions-outro a:hover {
  color: #FFD700;
}

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

.page-register__faq-item {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000080;
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid transparent; /* Placeholder for active state */
  transition: background-color 0.3s ease;
}

.page-register__faq-item[open] .page-register__faq-question {
  background-color: #f0f0f0;
  border-bottom: 1px solid #eee;
}

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

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

.page-register__faq-item[open] .page-register__faq-toggle {
  transform: rotate(45deg);
}

.page-register__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #555555;
}

.page-register__cta-section {
  background-color: #000080;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  margin-top: 60px;
  border-radius: 10px;
}

.page-register__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

.page-register__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__value-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 400px;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
    margin: 40px 0 30px;
  }
  .page-register__value-grid {
    grid-template-columns: 1fr;
  }
  .page-register__steps-list {
    gap: 20px;
  }
  .page-register__step-title {
    font-size: 1.4em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__cta-title {
    font-size: 2.2em;
  }
  .page-register__cta-description {
    font-size: 1.1em;
  }
  .page-register__hero-image,
  .page-register__value-icon,
  .page-register__hero-content img { /* Catch all images within content areas */
    max-width: 100% !important;
    height: auto !important;
  }
  .page-register__value-icon {
    width: 250px;
    height: auto;
  }
  .page-register__hero-image {
    width: 100%; /* Ensure image fills width but doesn't overflow */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-section {
    min-height: 350px;
    padding: 30px 15px;
  }
  .page-register__hero-title {
    font-size: 2em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__cta-title {
    font-size: 1.8em;
  }
  .page-register__cta-section {
    padding: 60px 15px;
  }
}