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

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

/* Hero Section */
.page-register__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  color: #ffffff;
  background-color: #017439;
  position: relative;
  overflow: hidden;
}

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

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

.page-register__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__btn-register,
.page-register__btn-download,
.page-register__btn-login {
  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, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-register__btn-register {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register font color */
}

.page-register__btn-register:hover {
  background-color: #a00707;
  transform: translateY(-2px);
}

.page-register__btn-download {
  background-color: #017439;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-register__btn-download:hover {
  background-color: #005a2e;
  transform: translateY(-2px);
}

.page-register__btn-login {
  background-color: #C30808; /* Login color */
  color: #FFFF00; /* Login font color */
  border: 2px solid transparent;
}

.page-register__btn-login:hover {
  background-color: #a00707;
  transform: translateY(-2px);
}

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

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

/* General Section Styles */
.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #017439;
}

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

.page-register__dark-bg .page-register__section-title,
.page-register__dark-bg .page-register__section-description {
  color: #ffffff;
}

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

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

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

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

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

.page-register__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

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

/* Process Section */
.page-register__process-section {
  padding: 80px 0;
  background-color: #017439;
  color: #ffffff;
}

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

.page-register__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFF00;
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

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

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

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

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

.page-register__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-register__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-register__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
}

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

.page-register__faq-list {
  max-width: 800px;
  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;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  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-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 20px;
  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 */
  padding: 20px;
}

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

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

.page-register__cta-final-section .page-register__section-title {
  color: #017439;
}

.page-register__cta-final-section .page-register__section-description {
  color: #555555;
}

.page-register__cta-final-section .page-register__btn-register,
.page-register__cta-final-section .page-register__btn-login {
  margin: 0 10px;
}

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

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

@media (max-width: 768px) {
  .page-register {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-register__hero-section {
    padding-bottom: 40px;
  }

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

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

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

  .page-register__btn-register,
  .page-register__btn-download,
  .page-register__btn-login {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

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

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

  .page-register__benefits-section,
  .page-register__process-section,
  .page-register__video-section,
  .page-register__faq-section,
  .page-register__cta-final-section {
    padding: 50px 0;
  }

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

  .page-register__card-image {
    height: 180px;
  }

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

  .page-register__step-icon {
    font-size: 2em;
    width: 60px;
    height: 60px;
  }

  .page-register__video-wrapper {
    padding-bottom: 75%; /* 4:3 Aspect Ratio for mobile or adjust as needed */
  }

  /* Mobile specific image, video, container rules */
  .page-register img {
    max-width: 100% !important;
    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__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .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;
  }

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

  .page-register__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section is below header */
  }

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

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

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

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

  .page-register__step-icon {
    font-size: 1.8em;
    width: 50px;
    height: 50px;
  }
}