.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-1); /* Inherited from shared.css */
}

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

.page-register__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  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 */
}

.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: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
  z-index: 2;
}

.page-register__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  color: #ffffff;
}

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

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

.page-register__cta-button {
  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;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-register__btn-primary {
  background-color: #FF4500;
  color: #ffffff;
  border: 2px solid #FF4500;
}

.page-register__btn-primary:hover {
  background-color: #e03c00;
  border-color: #e03c00;
  transform: translateY(-2px);
}

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

.page-register__btn-secondary:hover {
  background-color: #FF4500;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #FF4500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-register__section-subtitle {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-register__form-section {
  padding: 80px 0;
  background-color: rgba(30, 144, 255, 0.1); /* Use auxiliary color with transparency */
}

.page-register__registration-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #ffffff;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #1E90FF;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
}

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

.page-register__form-input:focus {
  outline: none;
  border-color: #FF4500;
  box-shadow: 0 0 8px rgba(255, 69, 0, 0.5);
}

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

.page-register__form-checkbox {
  margin-right: 10px;
  width: 20px;
  height: 20px;
  accent-color: #FF4500;
}

.page-register__form-checkbox-label {
  color: #ffffff;
  font-size: 0.95em;
}

.page-register__form-checkbox-label a {
  color: #1E90FF;
  text-decoration: none;
}

.page-register__form-checkbox-label a:hover {
  text-decoration: underline;
}

.page-register__form-submit-btn {
  width: 100%;
  margin-top: 20px;
}

.page-register__form-footer-text {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9em;
  color: #cccccc;
}

.page-register__form-footer-text a {
  color: #1E90FF;
  text-decoration: none;
}

.page-register__form-footer-text a:hover {
  text-decoration: underline;
}

.page-register__benefits-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

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

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

.page-register__benefit-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 69, 0, 0.15);
}

.page-register__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  filter: none; /* Ensure no CSS filter */
}

.page-register__card-title {
  font-size: 1.5em;
  color: #FF4500;
  margin-bottom: 15px;
  flex-grow: 1;
}

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

.page-register__guide-section {
  padding: 80px 0;
  background-color: rgba(30, 144, 255, 0.15);
}

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

.page-register__guide-step {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-top: 60px;
  color: #ffffff;
}

.page-register__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FF4500;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #1E90FF;
}

.page-register__step-title {
  font-size: 1.4em;
  color: #FF4500;
  margin-bottom: 15px;
  text-align: center;
}

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

.page-register__faq-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(30, 144, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

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

.page-register__faq-heading {
  font-size: 1.2em;
  color: #FF4500;
  margin: 0;
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #FF4500;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(0deg); /* '+' becomes '-' */
}

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

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

.page-register__faq-answer p {
  margin-bottom: 10px;
}

.page-register__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
  background-color: rgba(255, 69, 0, 0.15);
}

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

.page-register__cta-bottom-section .page-register__section-subtitle {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-register__cta-buttons-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

@media (max-width: 768px) {
  .page-register__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-register__hero-title {
    font-size: 2.2em;
  }
  .page-register__hero-description {
    font-size: 1em;
  }
  .page-register__section-title {
    font-size: 1.8em;
  }
  .page-register__section-subtitle {
    font-size: 0.95em;
  }
  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-register__registration-form {
    padding: 30px;
  }
  .page-register__benefits-grid, .page-register__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-register__container {
    padding: 0 15px !important;
  }

  /* Force responsive images, videos, buttons */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-register__cta-button,
  .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;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container,
  .page-register__cta-buttons-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-register__hero-section {
    height: 400px;
  }
  .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__cta-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}