/* style/register.css */
.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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #f0f8ff;
}

.page-register__hero-image {
  width: 100%;
  max-width: 1200px; /* Max width for image in desktop layout */
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-register__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive H1 font size */
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

.page-register__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box;
}

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

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

.page-register__btn-center {
  margin: 30px auto;
  display: block;
  max-width: 300px;
}

.page-register__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page-register__sub-title {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  color: #333333;
  margin-bottom: 20px;
  font-weight: bold;
  text-align: center;
}

.page-register__why-register-section,
.page-register__steps-section,
.page-register__important-notes-section,
.page-register__faq-section,
.page-register__final-cta-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-register__why-register-section {
  background-color: #f9f9f9;
}

.page-register__benefits-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.page-register__benefits-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-register__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__benefit-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
}

.page-register__benefit-item strong {
  color: #26A9E0;
}

.page-register__benefit-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__steps-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  margin-top: 40px;
}

.page-register__step-content {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.page-register__step-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-register__step-title {
  font-size: 1.3rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

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

.page-register__step-sub-list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  color: #555555;
}

.page-register__step-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__important-notes-section {
  background-color: #f0f8ff;
}

.page-register__notes-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.page-register__note-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-register__notes-list {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-register__note-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  line-height: 1.5;
  color: #333333;
}

.page-register__note-item strong {
  color: #EA7C07; /* Use login color for emphasis here */
}

.page-register__faq-section {
  background-color: #ffffff;
}

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

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

.page-register__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-register__faq-question::-webkit-details-marker {
  display: none;
}

.page-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #26A9E0;
  margin-left: 10px;
}

.page-register__faq-item[open] .page-register__faq-toggle {
  content: '−';
}

.page-register__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #555555;
}

.page-register__final-cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  padding: 60px 0;
}

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

.page-register__final-cta-section .page-register__cta-button {
  background-color: #EA7C07; /* Login color for prominent CTA */
  border-color: #EA7C07;
}

.page-register__final-cta-section .page-register__cta-button:hover {
  background-color: #cc6a00;
  border-color: #cc6a00;
}

.page-register__cta-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-register__hero-image {
    max-width: 90%;
  }
  .page-register__benefits-wrapper,
  .page-register__steps-wrapper,
  .page-register__notes-wrapper {
    flex-direction: column;
  }
  .page-register__benefit-image,
  .page-register__step-image,
  .page-register__note-image {
    order: -1; /* Image above text on smaller screens */
    margin-bottom: 30px;
  }
  .page-register__benefits-content,
  .page-register__step-content,
  .page-register__notes-list {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-register__container {
    padding: 0 15px !important;
  }

  .page-register__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-register__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

  .page-register__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

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

  .page-register__sub-title {
    font-size: clamp(1.2rem, 5vw, 1.6rem);
  }

  .page-register__cta-button,
  .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: 12px 20px;
    font-size: 1rem;
  }

  .page-register__btn-center {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Images responsive styles */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-register__hero-image,
  .page-register__benefit-image,
  .page-register__step-image,
  .page-register__note-image,
  .page-register__cta-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-register__benefits-wrapper,
  .page-register__steps-wrapper,
  .page-register__notes-wrapper {
    gap: 20px;
  }

  .page-register__why-register-section,
  .page-register__steps-section,
  .page-register__important-notes-section,
  .page-register__faq-section,
  .page-register__final-cta-section {
    padding: 40px 0;
  }

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

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

@media (max-width: 480px) {
  .page-register__hero-section {
    padding-top: 10px !important;
    padding-bottom: 20px;
  }

  .page-register__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .page-register__section-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }

  .page-register__hero-description,
  .page-register__section-description,
  .page-register__benefit-item,
  .page-register__step-text,
  .page-register__note-item,
  .page-register__faq-answer p {
    font-size: 0.9rem;
  }

  .page-register__cta-button {
    padding: 10px 15px;
    font-size: 0.95rem;
  }
}