/* style/index-cac-tinh-nang-noi-bat.css */
.page-index-cac-tinh-nang-noi-bat {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff; /* Explicitly set for contrast check */
}

.page-index-cac-tinh-nang-noi-bat__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-cac-tinh-nang-noi-bat__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as per rules */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-index-cac-tinh-nang-noi-bat__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: relative; /* Not background-image, not absolute to overlay text */
  z-index: 1;
}

.page-index-cac-tinh-nang-noi-bat__hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  background: linear-gradient(to top, rgba(1, 116, 57, 0.8), rgba(1, 116, 57, 0.6)); /* Overlay for text readability */
  width: 100%;
  box-sizing: border-box;
  margin-top: -5px; /* Slight overlap to visually connect */
}

.page-index-cac-tinh-nang-noi-bat__hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFFF00; /* Yellow for prominence */
}

.page-index-cac-tinh-nang-noi-bat__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-index-cac-tinh-nang-noi-bat__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-cac-tinh-nang-noi-bat__btn-primary,
.page-index-cac-tinh-nang-noi-bat__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-cac-tinh-nang-noi-bat__btn-primary {
  background-color: #C30808; /* Red for Register/Login */
  color: #FFFF00; /* Yellow text for contrast */
  border: 2px solid #C30808;
}

.page-index-cac-tinh-nang-noi-bat__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-index-cac-tinh-nang-noi-bat__btn-secondary {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-index-cac-tinh-nang-noi-bat__btn-secondary:hover {
  background-color: #005a2b;
  border-color: #005a2b;
}

.page-index-cac-tinh-nang-noi-bat__intro-section,
.page-index-cac-tinh-nang-noi-bat__features-section,
.page-index-cac-tinh-nang-noi-bat__conclusion-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-index-cac-tinh-nang-noi-bat__section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #017439;
}

.page-index-cac-tinh-nang-noi-bat__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #333333;
}

.page-index-cac-tinh-nang-noi-bat__feature-card {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.page-index-cac-tinh-nang-noi-bat__feature-card--reverse {
  flex-direction: row-reverse;
}

.page-index-cac-tinh-nang-noi-bat__feature-image {
  flex: 0 0 50%;
  max-width: 50%;
  border-radius: 8px;
  height: auto;
  display: block;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter is applied */
}

.page-index-cac-tinh-nang-noi-bat__feature-content {
  flex: 1;
}

.page-index-cac-tinh-nang-noi-bat__feature-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #017439;
}

.page-index-cac-tinh-nang-noi-bat__feature-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
}

.page-index-cac-tinh-nang-noi-bat__benefits-section {
  background-color: #017439; /* Dark background for this section */
  color: #ffffff;
  padding: 80px 0;
}

.page-index-cac-tinh-nang-noi-bat__section-title--light {
  color: #ffffff;
}

.page-index-cac-tinh-nang-noi-bat__benefits-intro {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-index-cac-tinh-nang-noi-bat__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.page-index-cac-tinh-nang-noi-bat__benefits-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  font-size: 1rem;
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-index-cac-tinh-nang-noi-bat__benefits-list li::before {
  content: '✅';
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.page-index-cac-tinh-nang-noi-bat__cta-bottom {
  text-align: center;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-index-cac-tinh-nang-noi-bat__final-cta {
  text-align: center;
  margin-top: 40px;
}

/* General image responsive styles */
.page-index-cac-tinh-nang-noi-bat img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none; /* Ensure no CSS filter is applied */
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
  .page-index-cac-tinh-nang-noi-bat__hero-content {
    padding: 30px 20px;
  }

  .page-index-cac-tinh-nang-noi-bat__hero-title {
    font-size: clamp(2rem, 5vw, 2.8rem);
  }

  .page-index-cac-tinh-nang-noi-bat__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-index-cac-tinh-nang-noi-bat__feature-card {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 20px;
  }

  .page-index-cac-tinh-nang-noi-bat__feature-card--reverse {
    flex-direction: column;
  }

  .page-index-cac-tinh-nang-noi-bat__feature-image {
    max-width: 80%;
    flex: none;
    margin: 0 auto;
  }

  .page-index-cac-tinh-nang-noi-bat__feature-content {
    flex: none;
    max-width: 100%;
  }

  .page-index-cac-tinh-nang-noi-bat__feature-title {
    font-size: 1.6rem;
  }

  .page-index-cac-tinh-nang-noi-bat__feature-content p {
    font-size: 1rem;
  }

  .page-index-cac-tinh-nang-noi-bat__benefits-list {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-index-cac-tinh-nang-noi-bat__hero-section {
    padding-top: 10px !important;
  }

  .page-index-cac-tinh-nang-noi-bat__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }

  .page-index-cac-tinh-nang-noi-bat__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-index-cac-tinh-nang-noi-bat__hero-cta {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-index-cac-tinh-nang-noi-bat__btn-primary,
  .page-index-cac-tinh-nang-noi-bat__btn-secondary {
    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: 0.95rem;
  }

  .page-index-cac-tinh-nang-noi-bat__intro-section,
  .page-index-cac-tinh-nang-noi-bat__features-section,
  .page-index-cac-tinh-nang-noi-bat__benefits-section,
  .page-index-cac-tinh-nang-noi-bat__conclusion-section {
    padding: 40px 0;
  }

  .page-index-cac-tinh-nang-noi-bat__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-index-cac-tinh-nang-noi-bat__section-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .page-index-cac-tinh-nang-noi-bat__section-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-index-cac-tinh-nang-noi-bat__feature-card {
    padding: 15px;
    margin-bottom: 40px;
  }

  .page-index-cac-tinh-nang-noi-bat__feature-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-index-cac-tinh-nang-noi-bat__feature-title {
    font-size: 1.4rem;
  }

  .page-index-cac-tinh-nang-noi-bat__feature-content p {
    font-size: 0.95rem;
  }

  .page-index-cac-tinh-nang-noi-bat__benefits-intro {
    font-size: 1rem;
  }

  .page-index-cac-tinh-nang-noi-bat__benefits-list li {
    font-size: 0.95rem;
    padding: 15px;
  }
}