.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;
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  background-color: #26A9E0;
  padding-top: var(--header-offset, 120px); /* Ensure content is below header */
  display: flex;
  align-items: center;
  min-height: 500px;
}

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

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

.page-register__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

.page-register__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b8;
  border-color: #1e87b8;
}

/* General Section Styling */
.page-register__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
  color: inherit; /* Inherit from parent section */
}

.page-register__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
  color: inherit;
}

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

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

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

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

.page-register__benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-register__benefit-icon {
  width: 150px; /* Adjusted to be >= 200px in display for desktop, but smaller for icon-like visual */
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-register__benefit-text {
  font-size: 1em;
  line-height: 1.7;
}

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

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

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

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

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

/* Detailed Steps Section */
.page-register__detailed-steps-section {
  padding: 80px 0;
}

.page-register__step-item {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  gap: 40px;
}

.page-register__step-item--reverse {
  flex-direction: row-reverse;
}

.page-register__step-content {
  flex: 1;
}

.page-register__step-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-register__step-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  min-width: 200px; /* Ensure images are not too small */
  min-height: 200px;
  object-fit: cover;
}

.page-register__step-heading {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #26A9E0;
}

.page-register__step-paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Verification Section */
.page-register__verification-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.page-register__verification-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-register__verification-list {
  list-style: disc inside;
  margin-bottom: 30px;
  padding-left: 20px;
}

.page-register__verification-list li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

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

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

.page-register__security-icon {
  width: 150px; /* Adjusted to be >= 200px in display for desktop, but smaller for icon-like visual */
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-register__security-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
}

.page-register__security-text {
  font-size: 1em;
}

.page-register__security-cta {
  text-align: center;
  margin-top: 50px;
}

.page-register__security-cta-text {
  font-size: 1.2em;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-register__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-register__faq-item {
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

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

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

.page-register__faq-title {
  margin: 0;
  flex-grow: 1;
  color: #ffffff; /* Ensure contrast */
}

.page-register__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  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;
  color: #ffffff;
}

.page-register__faq-item.active .page-register__faq-answer {
  max-height: 1000px !important; /* Ensure it expands fully */
  padding: 15px 25px 20px 25px;
}

.page-register__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
}

/* Conclusion Section */
.page-register__conclusion-section {
  text-align: center;
  padding: 80px 0;
}

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

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

  .page-register__step-item {
    flex-direction: column;
    text-align: center;
  }

  .page-register__step-item--reverse {
    flex-direction: column;
  }

  .page-register__step-content,
  .page-register__step-image-wrapper {
    width: 100%;
  }
}

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

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

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

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

  .page-register__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-register__btn-primary,
  .page-register__btn-secondary {
    width: 100% !important;
    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;
    margin-bottom: 30px;
  }

  .page-register__dark-section,
  .page-register__light-bg,
  .page-register__detailed-steps-section,
  .page-register__conclusion-section {
    padding: 40px 0;
  }

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

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

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

  .page-register__benefit-icon,
  .page-register__security-icon {
    width: 100px;
    height: 100px;
  }

  .page-register__step-heading {
    font-size: 1.5em;
  }

  .page-register__step-paragraph {
    font-size: 1em;
  }

  .page-register__step-item {
    gap: 20px;
    margin-bottom: 40px;
  }

  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
    object-fit: cover !important;
  }

  .page-register__step-image-wrapper,
  .page-register__benefit-card,
  .page-register__guide-step,
  .page-register__security-item,
  .page-register__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

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

  /* Ensure all content containers have padding */
  .page-register__hero-section .page-register__container,
  .page-register__benefits-section .page-register__container,
  .page-register__guide-section .page-register__container,
  .page-register__detailed-steps-section .page-register__container,
  .page-register__verification-section .page-register__container,
  .page-register__security-section .page-register__container,
  .page-register__faq-section .page-register__container,
  .page-register__conclusion-section .page-register__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}