/* style/register.css */
.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 space for fixed header */
}

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

.page-register__section-title {
  color: #0A2E36; /* Main brand color */
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A2E36; /* Dark background for hero content */
  color: #ffffff;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-register__hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

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

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

.page-register__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Auxiliary gold color */
  color: #0A2E36; /* Dark text for gold button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

/* Why Register Section */
.page-register__why-register-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

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

.page-register__why-register-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-register__why-register-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-register__why-register-heading {
  color: #0A2E36;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.page-register__why-register-text {
  color: #666666;
  font-size: 0.95em;
}

.page-register__primary-button {
  display: inline-block;
  background-color: #0A2E36;
  color: #FFD700;
  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;
  margin-top: 40px;
  border: none;
  cursor: pointer;
}

.page-register__primary-button:hover {
  background-color: #1a4d5e;
  transform: translateY(-2px);
}

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

.page-register__registration-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 30px;
}

.page-register__step-item {
  display: flex;
  align-items: flex-start;
  background-color: #f4f4f4;
  border-left: 5px solid #FFD700;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__step-number {
  font-size: 2em;
  font-weight: bold;
  color: #FFD700;
  margin-right: 20px;
  flex-shrink: 0;
  line-height: 1;
}

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

.page-register__step-heading {
  color: #0A2E36;
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-register__step-text {
  color: #555555;
}

.page-register__secondary-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2E36;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.05em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 40px;
  border: none;
  cursor: pointer;
}

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

/* Conditions Section */
.page-register__conditions-section {
  padding: 60px 0;
  background-color: #f0f0f0;
}

.page-register__conditions-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.page-register__conditions-image {
  flex: 1 1 45%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-register__conditions-text-block {
  flex: 1 1 50%;
}

.page-register__conditions-paragraph {
  margin-bottom: 15px;
  color: #444444;
}

.page-register__conditions-subheading {
  color: #0A2E36;
  font-size: 1.3em;
  margin-top: 25px;
  margin-bottom: 10px;
}

.page-register__text-link {
  color: #0A2E36;
  text-decoration: underline;
  margin-right: 20px;
  transition: color 0.3s ease;
}

.page-register__text-link:hover {
  color: #FFD700;
}

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

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #0A2E36;
  cursor: pointer;
  background-color: #f4f4f4;
  transition: background-color 0.3s ease;
}

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

.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: 15px 25px 20px;
  color: #555555;
  font-size: 1em;
  border-top: 1px solid #e0e0e0;
}

.page-register__faq-answer p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Final CTA Section */
.page-register__cta-final-section {
  padding: 80px 0;
  background-color: #0A2E36;
  color: #ffffff;
  text-align: center;
}

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

.page-register__cta-final-section .page-register__section-description {
  color: #f0f0f0;
  margin-bottom: 50px;
}

.page-register__cta-final-button {
  display: inline-block;
  background-color: #FFD700;
  color: #0A2E36;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-bottom: 20px;
  border: none;
  cursor: pointer;
}

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

.page-register__cta-final-link {
  display: block;
  color: #f0f0f0;
  text-decoration: underline;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-register__cta-final-link:hover {
  color: #FFD700;
}

.page-register__cta-container {
  text-align: center;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-register__hero-title {
    font-size: 2.8em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__conditions-content {
    flex-direction: column;
  }
  .page-register__conditions-image {
    flex: 1 1 100%;
  }
  .page-register__conditions-text-block {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 60px 0;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-description {
    font-size: 0.95em;
  }
  .page-register__why-register-grid {
    grid-template-columns: 1fr;
  }
  .page-register__registration-steps {
    gap: 20px;
  }
  .page-register__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-left: none;
    border-top: 5px solid #FFD700;
  }
  .page-register__step-number {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-register__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-register__cta-final-button {
    font-size: 1.2em;
    padding: 15px 30px;
  }
  /* Mobile content image overflow prevention */
  .page-register img {
    max-width: 100%;
    height: auto;
  }
  .page-register__conditions-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 1.8em;
  }
  .page-register__hero-description {
    font-size: 0.9em;
  }
  .page-register__section-title {
    font-size: 1.5em;
  }
  .page-register__why-register-item {
    padding: 20px;
  }
  .page-register__why-register-heading {
    font-size: 1.3em;
  }
  .page-register__why-register-image {
    height: 200px;
  }
  .page-register__conditions-subheading {
    font-size: 1.1em;
  }
}