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

.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.page-register__hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-register__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFCC00; /* Gold accent */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-register__hero-button {
  display: inline-block;
  background-color: #FFCC00; /* Gold button */
  color: #003366; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-register__hero-button:hover {
  background-color: #e6b800; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

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

.page-register__value-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-register__section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 50px;
}

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

.page-register__card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-register__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-register__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
  object-fit: cover;
}

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

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

.page-register__steps-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
}

.page-register__step-number {
  background-color: #003366;
  color: #FFCC00;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-title {
  font-size: 1.8em;
  color: #003366;
  margin-top: 0;
  margin-bottom: 10px;
}

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

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

.page-register__conditions-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-register__section-intro {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #555555;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-register__conditions-item {
  background-color: #ffffff;
  border-left: 5px solid #003366;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1em;
  color: #333333;
}

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

.page-register__section-outro {
  text-align: center;
  margin-top: 40px;
  font-size: 1em;
  color: #555555;
}

.page-register__link {
  color: #003366;
  text-decoration: underline;
  font-weight: bold;
}

.page-register__link:hover {
  color: #FFCC00;
}

.page-register__faq-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-register__faq-question {
  background-color: #003366;
  color: #FFCC00;
  font-size: 1.2em;
  font-weight: bold;
  padding: 20px 25px;
  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: #002244;
}

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

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

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

.page-register__faq-answer p {
  padding: 15px 0;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
}

@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: 2em;
  }
  .page-register__grid {
    grid-template-columns: 1fr;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-register__step-number {
    margin-bottom: 15px;
  }
  .page-register__step-title {
    font-size: 1.5em;
  }
  .page-register__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-register__card-image, .page-register__hero-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure mobile images also meet min size */
    min-height: 200px; /* Ensure mobile images also meet min size */
  }
  /* Mobile content images must not cause overflow */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__step-title {
    font-size: 1.3em;
  }
  .page-register__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.5em;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 12px 15px;
  }
}