.page-register {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--dark-bg); /* Inherit from shared.css */
}

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

.page-register__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-register__btn-primary,
.page-register__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-register__btn-primary {
  background-color: #FFD700; /* Auxiliary color */
  color: #1A237E; /* Main color for text */
  border: 2px solid #FFD700;
}

.page-register__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-register__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-register__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A237E;
}

.page-register__link {
  color: #FFD700;
  text-decoration: none;
}

.page-register__link:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  height: 100vh; /* Full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  box-sizing: border-box;
}

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

.page-register__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-register__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-register__hero-title {
  font-size: 4em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-register__hero-content .page-register__btn-primary,
.page-register__hero-content .page-register__btn-secondary {
  margin: 0 10px;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for contrast */
  color: #333333; /* Dark text for light background */
}

.page-register__benefits-section .page-register__section-title,
.page-register__benefits-section .page-register__section-intro {
  color: #1A237E;
}

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

.page-register__benefit-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.page-register__benefit-card:hover {
  transform: translateY(-10px);
}

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

.page-register__benefit-card .page-register__card-title {
  font-size: 1.8em;
  color: #1A237E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__benefit-card .page-register__card-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

/* Process Section */
.page-register__process-section {
  padding: 80px 0;
  background-color: #1A237E; /* Main color for dark background */
  color: #ffffff; /* White text for dark background */
}

.page-register__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-register__step-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-register__step-icon {
  background-color: #FFD700;
  color: #1A237E;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-register__step-card .page-register__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-register__step-card .page-register__card-text {
  font-size: 1em;
  color: #e0e0e0;
  flex-grow: 1;
}

.page-register__form-container {
  background-color: #0c144e; /* Slightly lighter dark blue */
  border-radius: 10px;
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-register__form-title {
  font-size: 2.2em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
}

.page-register__registration-form {
  display: flex;
  flex-direction: column;
}

.page-register__form-group {
  margin-bottom: 20px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #4a548c;
  border-radius: 5px;
  background-color: #1a237e;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #a0a8d0;
}

.page-register__form-checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.page-register__checkbox-input {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  accent-color: #FFD700; /* Highlight checkbox with auxiliary color */
}

.page-register__checkbox-label {
  font-size: 1em;
  color: #f0f0f0;
}

.page-register__submit-button {
  width: 100%;
  margin-top: 10px;
}

.page-register__login-prompt {
  text-align: center;
  margin-top: 25px;
  color: #f0f0f0;
  font-size: 1em;
}

/* Security Section */
.page-register__security-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text */
}

.page-register__security-section .page-register__section-title,
.page-register__security-section .page-register__section-intro {
  color: #1A237E;
}

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

.page-register__security-text {
  flex: 1;
  min-width: 300px;
}

.page-register__security-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-register__security-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__security-text .page-register__card-title {
  font-size: 1.8em;
  color: #1A237E;
  margin-top: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__security-text .page-register__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-register__security-text .page-register__btn-secondary {
  margin-top: 20px;
  color: #1A237E;
  border-color: #1A237E;
}

.page-register__security-text .page-register__btn-secondary:hover {
  background-color: #1A237E;
  color: #ffffff;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #1A237E; /* Main color for dark background */
  color: #ffffff; /* White text for dark background */
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-register__faq-title {
  font-size: 1.3em;
  color: #FFD700;
  margin: 0;
  font-weight: bold;
}

.page-register__faq-toggle {
  font-size: 1.8em;
  color: #FFD700;
  font-weight: bold;
  transition: transform 0.3s ease;
}

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

.page-register__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px;
}

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

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

.page-register__cta-section .page-register__section-title,
.page-register__cta-section .page-register__section-intro {
  color: #1A237E;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-register__hero-title {
    font-size: 3.5em;
  }
  .page-register__hero-description {
    font-size: 1.3em;
  }
  .page-register__section-title {
    font-size: 2.5em;
  }
  .page-register__benefits-grid,
  .page-register__process-steps {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-register__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-register__security-text {
    order: 2;
  }
  .page-register__security-image-wrapper {
    order: 1;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    height: auto;
    min-height: 600px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-register__hero-title {
    font-size: 2.5em;
  }
  .page-register__hero-description {
    font-size: 1.1em;
  }
  .page-register__hero-content .page-register__btn-primary,
  .page-register__hero-content .page-register__btn-secondary {
    display: block;
    width: 100%;
    margin: 10px 0;
  }

  .page-register__section-title {
    font-size: 2em;
  }
  .page-register__section-intro {
    font-size: 1em;
  }
  .page-register__benefits-section,
  .page-register__process-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 60px 0;
  }

  /* Ensure images are responsive */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure containers are responsive */
  .page-register__container,
  .page-register__hero-content,
  .page-register__benefits-grid,
  .page-register__process-steps,
  .page-register__form-container,
  .page-register__security-content,
  .page-register__faq-list,
  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register a[class*="button"],
  .page-register a[class*="btn"] {
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-register__security-text .page-register__btn-secondary {
    width: 100%;
  }

  .page-register__faq-question {
    padding: 15px 20px;
  }
  .page-register__faq-title {
    font-size: 1.1em;
  }
  .page-register__faq-answer {
    padding: 0 20px;
  }
  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px 20px 20px;
  }
}