.page-register {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f5f5f5; /* Light background for the page */
}

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

.page-register__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 80px 20px;
  background-color: #26A9E0; /* Main brand color */
  color: #FFFFFF; /* White text for dark background */
  text-align: center;
  overflow: hidden;
  position: relative;
}

.page-register__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

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

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

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

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

.page-register__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for titles */
}

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

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

.page-register__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-register__light-bg {
  background-color: #FFFFFF;
  color: #333333;
  padding: 80px 0;
}

.page-register__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-register__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #26A9E0; /* Brand color for secondary CTA text */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
}

.page-register__btn-secondary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-register__large-button {
  padding: 18px 40px;
  font-size: 1.3em;
}

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

.page-register__benefit-card,
.page-register__step-card,
.page-register__security-item {
  background-color: #FFFFFF;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-register__dark-bg .page-register__benefit-card,
.page-register__dark-bg .page-register__step-card,
.page-register__dark-bg .page-register__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.page-register__dark-bg .page-register__benefit-title,
.page-register__dark-bg .page-register__step-title,
.page-register__dark-bg .page-register__security-title {
  color: #FFFFFF;
}

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

.page-register__benefit-icon,
.page-register__security-icon {
  width: 100%;
  height: 200px; /* Ensure minimum size */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 10px;
}

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

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

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

.page-register__registration-form {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px;
  background-color: #f9f9f9;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.page-register__form-group {
  margin-bottom: 20px;
}

.page-register__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333333;
}

.page-register__form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #cccccc;
  border-radius: 8px;
  font-size: 1em;
  box-sizing: border-box;
}

.page-register__form-input::placeholder {
  color: #999999;
}

.page-register__checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.page-register__form-checkbox {
  margin-right: 10px;
  width: 20px;
  height: 20px;
}

.page-register__link {
  color: #26A9E0;
  text-decoration: none;
}

.page-register__link:hover {
  text-decoration: underline;
}

.page-register__submit-button {
  width: 100%;
  padding: 15px;
  font-size: 1.2em;
  border-radius: 8px;
}

.page-register__cta-section {
  padding: 100px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-register__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-register__faq-list {
  max-width: 800px;
  margin: 40px auto;
}

.page-register__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #333333;
}

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

.page-register__faq-item.active .page-register__faq-toggle {
  transform: rotate(0deg); /* Explicitly reset if needed, JS handles text */
}

.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; /* Sufficient height for content */
  padding: 15px 25px 25px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-register__hero-section {
    flex-direction: column;
    padding: 60px 15px;
    min-height: 400px;
  }

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

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

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

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

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

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

  .page-register__registration-form {
    padding: 25px;
    margin: 30px auto;
  }

  .page-register__cta-bottom {
    margin-top: 40px;
  }

  .page-register__faq-question,
  .page-register__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__faq-item.active .page-register__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 20px;
  }

  /* Force responsive images */
  .page-register img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__hero-image-wrapper,
  .page-register__hero-image {
    position: relative;
    height: auto;
    max-height: 250px; /* Adjust as needed for mobile hero */
  }

  /* Force responsive containers */
  .page-register__section,
  .page-register__card,
  .page-register__container,
  .page-register__hero-section,
  .page-register__benefits-section,
  .page-register__steps-section,
  .page-register__form-section,
  .page-register__security-section,
  .page-register__faq-section,
  .page-register__cta-section,
  .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;
  }

  /* Force responsive buttons */
  .page-register__cta-button,
  .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__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .page-register__submit-button {
    margin-top: 15px;
  }
}