.page-huong-dan-dang-ky {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Default text color assuming dark body background */
}

.page-huong-dan-dang-ky__container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.page-huong-dan-dang-ky__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-huong-dan-dang-ky__section-description {
  font-size: 1.1em;
  color: #FFF5E1; /* Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-huong-dan-dang-ky__text-center {
  text-align: center;
}

.page-huong-dan-dang-ky__text-link {
  color: #FFD86A;
  text-decoration: underline;
}

.page-huong-dan-dang-ky__text-link:hover {
  color: #E6B800;
}

/* Color Contrast Classes */
.page-huong-dan-dang-ky__light-bg {
  background: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-huong-dan-dang-ky__dark-section {
  background: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

/* Buttons */
.page-huong-dan-dang-ky__btn-primary,
.page-huong-dan-dang-ky__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-huong-dan-dang-ky__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button Gold Gradient */
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
}

.page-huong-dan-dang-ky__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-huong-dan-dang-ky__btn-secondary {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border Gold */
}

.page-huong-dan-dang-ky__btn-secondary:hover {
  background: #7A0E0E; /* Deep Red */
  border-color: #FFCC66; /* Glow */
  transform: translateY(-2px);
}

.page-huong-dan-dang-ky__btn-large {
  padding: 15px 35px;
  font-size: 1.1em;
}

/* Images */
.page-huong-dan-dang-ky img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

/* Hero Section */
.page-huong-dan-dang-ky__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  background: #C91F17; /* Main Color */
}

.page-huong-dan-dang-ky__hero-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  padding: 40px 16px;
}

.page-huong-dan-dang-ky__hero-content {
  flex: 1 1 45%;
  min-width: 300px;
  color: #FFF5E1; /* Text Main */
}

.page-huong-dan-dang-ky__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F4D34D; /* Gold */
}

.page-huong-dan-dang-ky__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF5E1; /* Text Main */
}

.page-huong-dan-dang-ky__cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-huong-dan-dang-ky__hero-image {
  flex: 1 1 45%;
  text-align: center;
  min-width: 300px;
}

.page-huong-dan-dang-ky__hero-side-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Intro Section (Module 1) */
.page-huong-dan-dang-ky__intro-section {
  padding: 60px 0;
}

.page-huong-dan-dang-ky__intro-section .page-huong-dan-dang-ky__section-title,
.page-huong-dan-dang-ky__intro-section .page-huong-dan-dang-ky__section-description {
  color: #333333;
}

.page-huong-dan-dang-ky__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-dang-ky__feature-item {
  text-align: center;
  padding: 25px;
  background: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-huong-dan-dang-ky__icon-box-media {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FFD86A; /* Gold border */
}

.page-huong-dan-dang-ky__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* Ensure circular image */
  display: block;
}

.page-huong-dan-dang-ky__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #C91F17; /* Main Color */
  margin-bottom: 10px;
}

.page-huong-dan-dang-ky__feature-text {
  font-size: 1em;
  color: #555555;
}

/* Guide Section */
.page-huong-dan-dang-ky__guide-section {
  padding: 80px 0;
  background: #7A0E0E; /* Deep Red */
}

.page-huong-dan-dang-ky__guide-section .page-huong-dan-dang-ky__section-title {
  color: #F4D34D; /* Gold */
}

.page-huong-dan-dang-ky__guide-section .page-huong-dan-dang-ky__section-description {
  color: #FFF5E1;
}

.page-huong-dan-dang-ky__step-by-step {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 50px;
}

.page-huong-dan-dang-ky__step-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.page-huong-dan-dang-ky__step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
}

.page-huong-dan-dang-ky__step-content {
  flex-grow: 1;
}

.page-huong-dan-dang-ky__step-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFCC66; /* Glow */
  margin-bottom: 15px;
}

.page-huong-dan-dang-ky__step-text {
  font-size: 1.1em;
  color: #FFF5E1;
  margin-bottom: 20px;
}

.page-huong-dan-dang-ky__step-list {
  list-style: disc;
  margin-left: 20px;
  color: #FFF5E1;
  margin-bottom: 20px;
}

.page-huong-dan-dang-ky__step-list li {
  margin-bottom: 8px;
}

.page-huong-dan-dang-ky__step-list strong {
  color: #FFD86A;
}

.page-huong-dan-dang-ky__step-image {
  margin-top: 20px;
  border: 2px solid #F2B544;
}

.page-huong-dan-dang-ky__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

/* Benefits Section */
.page-huong-dan-dang-ky__benefits-section {
  padding: 80px 0;
}

.page-huong-dan-dang-ky__benefits-section .page-huong-dan-dang-ky__section-title,
.page-huong-dan-dang-ky__benefits-section .page-huong-dan-dang-ky__section-description {
  color: #333333;
}

.page-huong-dan-dang-ky__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-huong-dan-dang-ky__benefit-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: #333333;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-huong-dan-dang-ky__benefit-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card appearance */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-huong-dan-dang-ky__benefit-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #C91F17; /* Main Color */
  margin-bottom: 10px;
}

.page-huong-dan-dang-ky__benefit-text {
  font-size: 1em;
  color: #555555;
  flex-grow: 1;
}

/* FAQ Section */
.page-huong-dan-dang-ky__faq-section {
  padding: 80px 0;
  background: #C91F17; /* Main Color */
}

.page-huong-dan-dang-ky__faq-section .page-huong-dan-dang-ky__section-title {
  color: #F4D34D; /* Gold */
}

.page-huong-dan-dang-ky__faq-section .page-huong-dan-dang-ky__section-description {
  color: #FFF5E1;
}

.page-huong-dan-dang-ky__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-huong-dan-dang-ky__faq-item {
  background: #D32F2F; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF5E1;
}

.page-huong-dan-dang-ky__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFF5E1;
  background: #D32F2F; /* Card BG */
  list-style: none;
  user-select: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-huong-dan-dang-ky__faq-question::-webkit-details-marker {
  display: none;
}

.page-huong-dan-dang-ky__faq-qtext {
  flex-grow: 1;
  color: #FFF5E1;
}

.page-huong-dan-dang-ky__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFD86A; /* Gold */
}

.page-huong-dan-dang-ky__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  color: #FFF5E1;
  background: #E53935; /* Auxiliary Color, slightly lighter */
}

.page-huong-dan-dang-ky__faq-answer p {
  margin: 0;
  color: #FFF5E1;
}

/* Final CTA Section */
.page-huong-dan-dang-ky__cta-final-section {
  padding: 80px 0;
  background: #f0f0f0;
}

.page-huong-dan-dang-ky__cta-final-section .page-huong-dan-dang-ky__section-title,
.page-huong-dan-dang-ky__cta-final-section .page-huong-dan-dang-ky__section-description {
  color: #333333;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-huong-dan-dang-ky__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-huong-dan-dang-ky__hero-content {
    text-align: center;
  }

  .page-huong-dan-dang-ky__cta-buttons {
    justify-content: center;
  }

  .page-huong-dan-dang-ky__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-huong-dan-dang-ky__features-grid,
  .page-huong-dan-dang-ky__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-huong-dan-dang-ky__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-huong-dan-dang-ky__step-number {
    margin-bottom: 20px;
  }

  .page-huong-dan-dang-ky__step-list {
    text-align: left;
  }
}

@media (max-width: 768px) {
  /* General mobile styles */
  .page-huong-dan-dang-ky {
    font-size: 15px;
  }

  .page-huong-dan-dang-ky__container {
    padding: 0 15px !important;
  }

  .page-huong-dan-dang-ky__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-huong-dan-dang-ky__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  /* HERO Section */
  .page-huong-dan-dang-ky__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }

  .page-huong-dan-dang-ky__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 15px;
  }

  .page-huong-dan-dang-ky__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-huong-dan-dang-ky__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-huong-dan-dang-ky__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .page-huong-dan-dang-ky__btn-primary,
  .page-huong-dan-dang-ky__btn-secondary,
  .page-huong-dan-dang-ky a[class*="button"],
  .page-huong-dan-dang-ky a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-huong-dan-dang-ky__hero-image {
    order: -1; /* Image appears above content on mobile */
  }

  /* Intro Section (Module 1) */
  .page-huong-dan-dang-ky__intro-section {
    padding: 40px 0;
  }

  .page-huong-dan-dang-ky__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-huong-dan-dang-ky__feature-item {
    padding: 20px;
  }

  .page-huong-dan-dang-ky__icon-box-media {
    width: 150px;
    height: 150px;
    border-width: 3px;
    margin-bottom: 15px;
  }

  .page-huong-dan-dang-ky__feature-title {
    font-size: 1.3em;
  }

  /* Guide Section */
  .page-huong-dan-dang-ky__guide-section {
    padding: 50px 0;
  }

  .page-huong-dan-dang-ky__step-by-step {
    gap: 30px;
  }

  .page-huong-dan-dang-ky__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }

  .page-huong-dan-dang-ky__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
    margin-bottom: 0;
  }

  .page-huong-dan-dang-ky__step-title {
    font-size: 1.5em;
    margin-bottom: 10px;
  }

  .page-huong-dan-dang-ky__step-list {
    margin-left: 0;
    text-align: left;
  }

  .page-huong-dan-dang-ky__step-image {
    margin-top: 15px;
  }

  /* Benefits Section */
  .page-huong-dan-dang-ky__benefits-section {
    padding: 50px 0;
  }

  .page-huong-dan-dang-ky__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-huong-dan-dang-ky__benefit-card {
    padding: 20px;
  }

  .page-huong-dan-dang-ky__benefit-image {
    height: 180px;
    margin-bottom: 15px;
  }

  .page-huong-dan-dang-ky__benefit-title {
    font-size: 1.3em;
  }

  /* FAQ Section */
  .page-huong-dan-dang-ky__faq-section {
    padding: 50px 0;
  }

  .page-huong-dan-dang-ky__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-huong-dan-dang-ky__faq-toggle {
    font-size: 1.3em;
  }

  .page-huong-dan-dang-ky__faq-answer {
    padding: 0 20px 15px;
    font-size: 1em;
  }

  /* Final CTA Section */
  .page-huong-dan-dang-ky__cta-final-section {
    padding: 50px 0;
  }

  .page-huong-dan-dang-ky__btn-large {
    font-size: 1em;
    padding: 12px 25px;
  }

  /* General image responsive rule for content area */
  .page-huong-dan-dang-ky img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-huong-dan-dang-ky__section,
  .page-huong-dan-dang-ky__card,
  .page-huong-dan-dang-ky__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}