.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Body background is white */
}

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

.page-register__section {
  padding: 60px 0;
}

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

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

/* Hero Section */
.page-register__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f0f8f0; /* Light green tint */
  padding: 80px 0;
  padding-top: var(--header-offset, 120px);
  flex-wrap: wrap;
}

.page-register__hero-content {
  flex: 1;
  min-width: 400px;
  padding: 20px;
  text-align: left;
}

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

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

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

.page-register__btn-primary,
.page-register__btn-secondary,
.page-register__btn-tertiary {
  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;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

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

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

.page-register__btn-secondary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-register__btn-tertiary:hover {
  background-color: #005a2e;
  border-color: #005a2e;
}

.page-register__hero-image-wrapper {
  flex: 1;
  min-width: 400px;
  text-align: center;
  padding: 20px;
}

.page-register__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

/* Advantages Section */
.page-register__advantages-section {
  background-color: #ffffff;
}

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

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

.page-register__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-register__advantage-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__advantage-text {
  font-size: 1em;
  color: #666666;
}

/* Guide Section */
.page-register__guide-section {
  background-color: #017439; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

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

.page-register__guide-section .page-register__section-description {
  color: #e0e0e0;
}

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

.page-register__step-card {
  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.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register font color */
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  border: 2px solid #FFFF00;
}

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

.page-register__step-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.page-register__step-text a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-register__step-text a:hover {
  color: #ffffff;
}

.page-register__step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

/* Promotions Section */
.page-register__promotions-section {
  background-color: #f9f9f9;
}

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

.page-register__promotion-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

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

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

.page-register__promotion-text {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
}

.page-register__view-all-promos {
  text-align: center;
  margin-top: 50px;
}

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

.page-register__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
}

.page-register__faq-item {
  border-bottom: 1px solid #e0e0e0;
}

.page-register__faq-item:last-child {
  border-bottom: none;
}

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

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

.page-register__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 20px;
  text-align: center;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #666666;
}

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

/* Support Section */
.page-register__support-section {
  background-color: #017439; /* Dark background */
  color: #ffffff; /* Light text for dark background */
}

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

.page-register__support-section .page-register__section-description {
  color: #e0e0e0;
}

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

.page-register__support-channel-card {
  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.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-register__support-icon {
  max-width: 150px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-register__channel-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

/* Final CTA Section */
.page-register__final-cta-section {
  background-color: #ffffff;
  text-align: center;
}

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

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

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

  .page-register__hero-section {
    flex-direction: column;
    padding: 60px 0;
    padding-top: var(--header-offset, 120px);
  }

  .page-register__hero-content,
  .page-register__hero-image-wrapper {
    min-width: unset;
    width: 100%;
    text-align: center;
    padding: 0 20px;
  }

  .page-register__hero-image-wrapper {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-register__hero-content {
    padding-bottom: 0;
  }

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

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

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

  .page-register__section {
    padding: 40px 0;
  }

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

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

  .page-register__cta-buttons,
  .page-register__final-cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-register__container {
    padding: 0 15px;
  }

  .page-register__advantages-grid,
  .page-register__guide-steps,
  .page-register__promotions-grid,
  .page-register__support-channels {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-register__faq-list {
    margin-top: 30px;
  }

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

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

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

  /* Mobile image responsiveness */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__hero-content,
  .page-register__hero-image-wrapper,
  .page-register__advantage-card,
  .page-register__step-card,
  .page-register__promotion-card,
  .page-register__support-channel-card,
  .page-register__cta-buttons,
  .page-register__final-cta-buttons,
  .page-register__view-all-promos {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }
  
  .page-register__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

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

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

  .page-register__btn-primary,
  .page-register__btn-secondary,
  .page-register__btn-tertiary {
    font-size: 0.95em;
    padding: 10px 15px;
  }

  .page-register__hero-content,
  .page-register__hero-image-wrapper {
    padding: 0 10px;
  }

  .page-register__container {
    padding: 0 10px;
  }

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

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

  .page-register__faq-item.active .page-register__faq-answer {
    padding: 8px 15px 15px 15px;
  }
}