.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--background-color, #FFFFFF);
}

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

.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #26A9E0 0%, #007bff 100%);
  color: #ffffff;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-register__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-register__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-register__hero-cta-group {
  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;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-register__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

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

.page-register__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

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

/* Video Section */
.page-register__video-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.page-register__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  background-color: #000;
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  cursor: pointer;
}

.page-register__video-cta {
  margin-top: 30px;
  text-align: center;
  display: block;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-register__step-card {
  background-color: #f0f8ff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-register__step-card:hover {
  transform: translateY(-5px);
}

.page-register__step-image {
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__step-text {
  color: #555555;
  font-size: 1em;
}

/* Benefits Section */
.page-register__benefits-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-register__benefits-section .page-register__section-title,
.page-register__benefits-section .page-register__section-description {
  color: #ffffff;
}

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

.page-register__benefit-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

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

.page-register__benefit-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-register__benefit-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-register__benefit-text {
  color: #f0f0f0;
  font-size: 0.95em;
}

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

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

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

.page-register__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

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

.page-register__faq-question h3 {
  margin: 0;
  font-size: 1.15em; /* Ensure h3 font size matches */
  color: #333333;
}

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

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

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

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

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

/* Final CTA Section */
.page-register__cta-final {
  padding: 80px 20px;
  background: linear-gradient(135deg, #26A9E0 0%, #007bff 100%);
  color: #ffffff;
  text-align: center;
}

.page-register__cta-final .page-register__section-title,
.page-register__cta-final .page-register__section-description {
  color: #ffffff;
}

.page-register__cta-content {
  max-width: 900px;
}

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

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

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

  .page-register__hero-section,
  .page-register__video-section,
  .page-register__steps-section,
  .page-register__benefits-section,
  .page-register__faq-section,
  .page-register__cta-final {
    padding: 60px 20px;
  }
}

@media (max-width: 768px) {
  .page-register__hero-section {
    flex-direction: column;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-register__hero-content {
    order: 2;
  }

  .page-register__hero-image-wrapper {
    position: relative;
    height: auto;
    margin-bottom: 30px;
    order: 1;
    filter: none;
  }

  .page-register__hero-image {
    position: relative;
    width: 100%;
    height: auto;
    max-width: 100% !important;
    object-fit: contain;
    filter: none;
  }

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

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

  .page-register__hero-cta-group,
  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-register__section-description {
    font-size: 0.95em;
  }

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

  .page-register__step-card,
  .page-register__benefit-item {
    padding: 25px;
  }

  .page-register__step-image,
  .page-register__benefit-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    display: block !important;
  }

  /* Video responsiveness */
  .page-register__video-section .page-register__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__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

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

  .page-register__faq-question h3 {
    font-size: 1em;
  }

  .page-register__faq-toggle {
    font-size: 1.5em;
  }

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

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

  .page-register__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General image responsive styles for content area */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

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

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

  .page-register__hero-section,
  .page-register__video-section,
  .page-register__steps-section,
  .page-register__benefits-section,
  .page-register__faq-section,
  .page-register__cta-final {
    padding: 40px 15px;
  }

  .page-register__hero-cta-group,
  .page-register__cta-buttons {
    gap: 10px;
  }
}