.page-register {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

.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: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

/* Hero Section */
.page-register__hero-section {
  position: relative;
  width: 100%;
  padding: 100px 0 60px; /* Adjusted padding-top for header offset */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  background-color: #000000; /* Dark background */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-register__hero-section .page-register__container {
  position: relative;
  z-index: 1;
  color: #ffffff; /* Light text for dark background */
}

.page-register__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-register__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-register__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

.page-register__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #f8f9fa; /* 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: #333333;
}

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

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

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

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-register__benefit-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

/* Steps Section */
.page-register__steps-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #f0f0f0; /* Light text */
}

.page-register__steps-section .page-register__section-title,
.page-register__steps-section .page-register__section-intro {
  color: #ffffff;
}

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

.page-register__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-register__step-image {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-register__step-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

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

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

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

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

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

.page-register__security-subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-register__security-text p {
  margin-bottom: 20px;
  line-height: 1.7;
  color: #555555;
}

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

.page-register__security-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-register__btn-text-link {
  color: #26A9E0;
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-register__btn-text-link:hover {
  color: #1e87b7;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #f0f0f0; /* Light text */
}

.page-register__faq-section .page-register__section-title {
  color: #ffffff;
}

.page-register__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid 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;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

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

.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;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px;
  color: #cccccc;
}

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

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

.page-register__cta-final .page-register__section-title,
.page-register__cta-final .page-register__section-intro {
  color: #333333;
}

.page-register__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
  margin: 10px;
}

.page-register__btn-large.page-register__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  border-color: #EA7C07;
}

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

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

.page-register__btn-large.page-register__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}


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

  .page-register__section-title {
    font-size: 2.2em;
  }

  .page-register__hero-section {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    padding: 80px 0 40px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile offset */
    min-height: 400px;
  }

  .page-register__hero-title {
    font-size: 2.5em;
  }

  .page-register__hero-description {
    font-size: 1.1em;
  }

  .page-register__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .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__hero-cta .page-register__btn-primary,
  .page-register__hero-cta .page-register__btn-secondary {
    margin-left: auto;
    margin-right: auto;
  }

  .page-register__section-title {
    font-size: 1.8em;
  }

  .page-register__section-intro {
    font-size: 1em;
  }

  .page-register__benefits-grid,
  .page-register__steps-wrapper {
    grid-template-columns: 1fr;
  }

  .page-register__security-content {
    flex-direction: column;
  }

  .page-register__security-image-wrapper {
    order: -1; /* Image above text on mobile */
  }

  .page-register__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-register__faq-answer {
    padding: 0 20px;
  }

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 10px 20px;
  }

  /* Image and Video responsive rules for mobile */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register video,
  .page-register__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-register__container,
  .page-register__section,
  .page-register__card,
  .page-register__video-section,
  .page-register__video-container,
  .page-register__video-wrapper,
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent content overflow */
  }

  .page-register__cta-final .page-register__btn-large {
    display: block;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .page-register__hero-title {
    font-size: 2em;
  }

  .page-register__section-title {
    font-size: 1.6em;
  }

  .page-register__hero-section {
    padding: 60px 0 30px;
    padding-top: var(--header-offset, 120px) !important;
  }
}