.page-register {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #f8f8f8; /* Light background for contrast */
  color: #333333; /* Dark text for readability on light background */
  font-family: Arial, sans-serif;
}

.page-register__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 0; /* Adjust padding as hero image takes full height */
  overflow: hidden;
}

.page-register__hero-image {
  width: 100%;
  height: 600px; /* Fixed height for hero image on desktop */
  object-fit: cover;
  display: block;
}

.page-register__hero-container {
  position: relative;
}

.page-register__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  width: 90%;
  padding: 30px;
  background: rgba(0, 0, 128, 0.7); /* Dark blue overlay with transparency */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-register__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-register__button {
  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, transform 0.2s ease;
  margin: 0 10px;
}

.page-register__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #000080; /* Dark blue text on gold */
}

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

.page-register__button--secondary {
  background-color: #000080; /* Dark blue secondary button */
  color: #FFD700; /* Gold text on dark blue */
  border: 2px solid #FFD700;
}

.page-register__button--secondary:hover {
  background-color: #1a1a90;
  transform: translateY(-2px);
}

.page-register__button--tertiary {
  background-color: transparent;
  color: #000080;
  border: 2px solid #000080;
}

.page-register__button--tertiary:hover {
  background-color: #000080;
  color: #FFD700;
  transform: translateY(-2px);
}

.page-register__section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-register__section-title {
  font-size: 2.2em;
  color: #000080; /* Dark blue for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-register__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold underline */
  border-radius: 2px;
}

.page-register__value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-register__value-item {
  background-color: #fdfdfd;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
  border: 1px solid #eee;
}

.page-register__value-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;
}

.page-register__value-heading {
  font-size: 1.5em;
  color: #000080;
  margin-bottom: 10px;
}

.page-register__value-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-register__steps-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-register__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding: 20px;
  border-radius: 10px;
  background-color: #fcfcfc;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
}

.page-register__step-item::before {
  counter-increment: step-counter;
  content: "Bước " counter(step-counter);
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700; /* Gold step indicator */
  color: #000080;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 1.1em;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-register__step-heading {
  font-size: 1.8em;
  color: #000080;
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-register__step-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: #444444;
  max-width: 800px;
}

.page-register__step-image {
  width: 100%;
  max-width: 600px;
  height: 350px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-register__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-register__conditions-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-register__condition-item {
  font-size: 1.1em;
  line-height: 1.8;
  color: #444444;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-register__condition-item::before {
  content: '✔️'; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: #FFD700; /* Gold checkmark */
  font-size: 1.2em;
  top: 0;
}

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

.page-register__faq-item {
  background-color: #fdfdfd;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-register__faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000080;
  background-color: #f5f5f5;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s ease;
}

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

.page-register__faq-question[aria-expanded="true"] {
  background-color: #FFD700;
  color: #000080;
}

.page-register__faq-question[aria-expanded="true"] .page-register__faq-icon {
  transform: rotate(180deg);
}

.page-register__faq-icon {
  width: 20px;
  height: 20px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000080"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.page-register__faq-question[aria-expanded="true"] .page-register__faq-icon {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23000080"><path d="M7 14l5-5 5 5z"/></svg>');
}

.page-register__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

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

.page-register__faq-answer[style*="display: block"] {
  max-height: 200px; /* Arbitrary max-height, adjust if content is longer */
  padding-top: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-register__hero-title {
    font-size: 2em;
  }

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

  .page-register__button {
    padding: 12px 20px;
    font-size: 1em;
    margin: 5px;
  }

  .page-register__hero-image {
    height: 400px;
  }

  .page-register__hero-content {
    padding: 20px;
    width: 95%;
  }

  .page-register__section {
    margin: 40px 15px;
    padding: 25px;
  }

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

  .page-register__value-grid {
    grid-template-columns: 1fr;
  }

  .page-register__step-item {
    padding: 15px;
  }

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

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

  .page-register__step-image {
    height: 250px;
  }

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

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

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

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

  .page-register__hero-image {
    height: 300px;
  }

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