.page-register {
  /* body padding-top handled by shared.css */
  color: #333333; /* Default text color for light backgrounds */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF; /* Ensure a base light background */
}

/* Hero Section */
.page-register__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background: linear-gradient(135deg, #26A9E0, #1a8cc2); /* Brand color gradient */
  color: #ffffff; /* White text for dark background */
}

.page-register__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  margin-bottom: 30px; /* Space between image and text */
}

.page-register__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  filter: none; /* Ensure no CSS filter */
}

.page-register__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-register__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff; /* White text for H1 */
}

.page-register__description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* CTA Button */
.page-register__cta-button {
  display: inline-block;
  background: #EA7C07; /* Login button color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-register__cta-button:hover {
  background: #d46c06;
  transform: translateY(-2px);
}

/* General Section Styling */
.page-register__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-register__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #26A9E0; /* Brand blue for titles */
}

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

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

.page-register__section-description--white {
  color: #f0f0f0;
}

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

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

.page-register__benefit-card {
  background: #f8f8f8;
  border-radius: 10px;
  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;
}

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

.page-register__benefit-icon {
  width: 100%;
  height: auto;
  max-width: 250px; /* Ensure images are not too wide in card */
  margin-bottom: 20px;
  border-radius: 8px;
  display: block; /* Ensure no extra space below image */
  margin-left: auto;
  margin-right: auto;
  filter: none; /* Ensure no CSS filter */
}

.page-register__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-register__card-text {
  font-size: 1rem;
  color: #666666;
}

/* Guide Section */
.page-register__guide-section {
  padding: 80px 0;
  background: #f0f8ff; /* A lighter shade of brand blue for contrast */
  color: #333333;
}

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

.page-register__step-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  padding-top: 60px; /* Space for step number */
}

.page-register__step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #26A9E0;
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-register__step-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Max width for step images */
  margin: 20px auto 0;
  border-radius: 8px;
  display: block;
  filter: none; /* Ensure no CSS filter */
}

/* Important Notes Section */
.page-register__important-notes {
  padding: 80px 0;
  background: #ffffff;
  color: #333333;
}

.page-register__note-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-register__list-item {
  background: #f8f8f8;
  border-left: 5px solid #26A9E0;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-register__list-text {
  font-size: 1rem;
  color: #666666;
}

/* FAQ Section */
.page-register__faq-section {
  padding: 80px 0;
  background: #e6f7ff; /* Another light shade for FAQ */
  color: #333333;
}

.page-register__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-register__faq-item summary {
  list-style: none; /* Hide default marker */
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 600;
  color: #26A9E0;
  background: #f2faff; /* Light blue background for summary */
  transition: background-color 0.3s ease;
}

.page-register__faq-item summary:hover {
  background: #e0f2ff;
}

.page-register__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-register__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 30px;
  text-align: center;
}

.page-register__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #555555;
  border-top: 1px solid #e0e0e0;
}

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

/* Final CTA Section */
.page-register__cta-section {
  padding: 80px 20px;
  background: #26A9E0; /* Brand blue background */
  color: #ffffff;
  text-align: center;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-register__hero-section {
    padding: 40px 20px;
  }
  .page-register__main-title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .page-register__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

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

  .page-register__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }

  .page-register__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-register__description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-register__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    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__section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    margin-bottom: 20px;
  }

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

  .page-register__benefits-section,
  .page-register__guide-section,
  .page-register__important-notes,
  .page-register__faq-section,
  .page-register__cta-section {
    padding: 50px 0;
  }

  .page-register__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

  .page-register__step-card {
    padding-top: 50px;
  }

  .page-register__step-number {
    top: -15px;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .page-register__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

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

  /* Image responsiveness */
  .page-register img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none; /* Ensure no CSS filter */
  }
  
  /* Ensure any container with images or buttons also adapts */
  .page-register__hero-image-wrapper,
  .page-register__benefit-card,
  .page-register__step-card,
  .page-register__cta-buttons,
  .page-register__button-group,
  .page-register__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent overflow */
  }
  .page-register__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}