.page-register {
  color: #ffffff; /* Body background is #0a0a0a (dark), so text must be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a;
}

.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 10px 20px 60px 20px; /* Small top padding, larger bottom for content */
  overflow: hidden;
  color: #ffffff;
}

.page-register__hero-video-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: block;
}

.page-register__hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.page-register__hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken video slightly for text contrast */
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text readability */
  border-radius: 8px;
}

.page-register__main-title {
  font-size: clamp(2em, 5vw, 3.5em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for H1 */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-register__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-register__cta-button--primary {
  background-color: #C30808; /* Custom color for primary CTA */
  color: #FFFF00; /* Custom color for primary CTA font */
}

.page-register__cta-button--primary:hover {
  background-color: #a30606;
  transform: translateY(-2px);
}

.page-register__cta-button--secondary {
  background-color: #017439; /* Main brand color for secondary CTA */
  color: #ffffff;
}

.page-register__cta-button--secondary:hover {
  background-color: #005f2c;
  transform: translateY(-2px);
}

.page-register__form-section,
.page-register__benefits-section,
.page-register__steps-section,
.page-register__faq-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-register__form-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
  border-radius: 8px;
  margin-top: 40px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-register__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #017439; /* Main brand color for titles */
}

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

.page-register__registration-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background-color: rgba(0, 0, 0, 0.7); /* Darker background for form */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-register__form-group {
  display: flex;
  flex-direction: column;
}

.page-register__label {
  margin-bottom: 8px;
  font-weight: 600;
  color: #ffffff;
}

.page-register__input {
  padding: 12px 15px;
  border: 1px solid #017439; /* Brand color border */
  border-radius: 5px;
  background-color: #ffffff; /* Light background for inputs */
  color: #333333; /* Dark text for inputs */
  font-size: 1em;
  outline: none;
  transition: border-color 0.3s ease;
}

.page-register__input::placeholder {
  color: #888888;
}

.page-register__input:focus {
  border-color: #C30808; /* Custom color for focus */
}

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-register__checkbox {
  width: 18px;
  height: 18px;
  accent-color: #017439; /* Brand color for checkbox */
}

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

.page-register__link {
  color: #017439; /* Brand color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-register__link:hover {
  color: #C30808; /* Custom color for link hover */
  text-decoration: underline;
}

.page-register__submit-button {
  padding: 15px 25px;
  font-size: 1.2em;
  font-weight: 700;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  background-color: #C30808; /* Custom color for submit button */
  color: #FFFF00; /* Custom color for submit button font */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-register__login-prompt {
  text-align: center;
  margin-top: 20px;
  color: #cccccc;
}

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

.page-register__benefit-card,
.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  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;
  align-items: center;
}

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

.page-register__card-icon,
.page-register__step-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-register__step-image {
  width: 100%;
  height: auto;
  max-width: 300px;
}

.page-register__card-title,
.page-register__step-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #017439; /* Brand color for card titles */
}

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

.page-register__step-number {
  width: 50px;
  height: 50px;
  background-color: #017439; /* Brand color for step numbers */
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

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

.page-register__cta-text {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 25px;
}

.page-register__faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for FAQ items */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-register__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-register__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

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

.page-register__faq-qtext {
  flex-grow: 1;
}

.page-register__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #FFFF00; /* Custom color for toggle icon */
  margin-left: 15px;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-register__faq-answer {
  padding: 15px 25px 25px;
  font-size: 1em;
  color: #cccccc;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__main-title {
    font-size: clamp(1.8em, 4.5vw, 3em);
  }

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

@media (max-width: 768px) {
  .page-register__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

  .page-register__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-register__description {
    font-size: 1em;
  }

  .page-register__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-register__form-section,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__faq-section {
    padding: 40px 15px;
  }

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

  .page-register__section-subtitle {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-register__registration-form {
    padding: 20px;
  }

  .page-register__input {
    padding: 10px 12px;
  }

  .page-register__submit-button {
    padding: 12px 20px;
    font-size: 1.1em;
  }

  .page-register__benefits-grid,
  .page-register__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-register__card-title,
  .page-register__step-title {
    font-size: 1.3em;
  }

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

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

  /* Mobile responsive for images, videos, buttons */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register video,
  .page-register__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__hero-video-wrapper,
  .page-register__hero-video-link,
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__form-section,
  .page-register__registration-form,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__faq-section,
  .page-register__hero-content,
  .page-register__hero-section,
  .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__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
  .page-register__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__cta-button,
  .page-register__submit-button {
    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-container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__button-group {
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-register__video-section {
    padding-top: 10px !important;
  }
}