/* style/nh.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không lặp lại tại đây */

:root {
  --page-nh-primary-color: #11A84E;
  --page-nh-secondary-color: #22C768;
  --page-nh-bg-dark: #08160F;
  --page-nh-card-bg: #11271B;
  --page-nh-text-main: #F2FFF6;
  --page-nh-text-secondary: #A7D9B8;
  --page-nh-border-color: #2E7A4E;
  --page-nh-glow-color: #57E38D;
  --page-nh-gold-color: #F2C14E;
  --page-nh-divider-color: #1E3A2A;
  --page-nh-deep-green: #0A4B2C;
  --page-nh-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-nh {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--page-nh-text-main); /* Default text color for dark background */
  background-color: var(--page-nh-bg-dark); /* Ensure contrast with body background */
}

.page-nh__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Sections */
.page-nh__section {
  padding: 60px 0;
  text-align: center;
}

.page-nh__dark-bg {
  background-color: var(--page-nh-bg-dark);
  color: var(--page-nh-text-main);
}

.page-nh__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-nh__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--page-nh-text-main);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-nh__light-bg .page-nh__section-title,
.page-nh__text-dark {
  color: #333333;
}

.page-nh__section-description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  color: var(--page-nh-text-secondary);
}

/* Hero Section */
.page-nh__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--page-nh-deep-green);
  overflow: hidden;
}

.page-nh__hero-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-nh__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

.page-nh__hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 1;
}

.page-nh__main-title {
  font-size: clamp(32px, 5vw, 60px);
  color: var(--page-nh-gold-color);
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-nh__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--page-nh-text-main);
  margin-bottom: 30px;
}

.page-nh__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.page-nh__btn-primary,
.page-nh__btn-secondary,
.page-nh__btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-nh__btn-primary {
  background: var(--page-nh-btn-gradient);
  color: #ffffff;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-nh__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
}

.page-nh__btn-secondary {
  background: none;
  color: var(--page-nh-gold-color);
  border: 2px solid var(--page-nh-gold-color);
  box-shadow: 0 0 10px rgba(242, 193, 78, 0.3);
}

.page-nh__btn-secondary:hover {
  background: var(--page-nh-gold-color);
  color: var(--page-nh-bg-dark);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-nh__btn-small {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
  background: var(--page-nh-btn-gradient);
  color: #ffffff;
  border: none;
}

.page-nh__btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

/* Grid 3 Columns */
.page-nh__grid-3-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-nh__card {
  background-color: var(--page-nh-card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-nh__card:hover {
  transform: translateY(-10px);
}

.page-nh__card-image {
  max-width: 100%;
  width: 100%; /* Ensure image fills card width for small screens */
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
  min-height: 200px; /* Enforce min image size */
}

.page-nh__card-title {
  font-size: 24px;
  color: var(--page-nh-gold-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-nh__card-text {
  font-size: 16px;
  color: var(--page-nh-text-secondary);
  flex-grow: 1;
}

/* Steps Grid */
.page-nh__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-nh__step-card {
  background-color: var(--page-nh-card-bg);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-nh__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--page-nh-btn-gradient);
  color: #ffffff;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.5);
}

.page-nh__step-title {
  font-size: 24px;
  color: var(--page-nh-gold-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-nh__step-text {
  font-size: 16px;
  color: var(--page-nh-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Strategy Section */
.page-nh__strategy-section {
  background-color: #ffffff;
}

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

.page-nh__strategy-item {
  text-align: left;
  padding: 25px;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 5px solid var(--page-nh-primary-color);
}

.page-nh__strategy-title {
  font-size: 22px;
  color: var(--page-nh-primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-nh__strategy-item p {
  font-size: 16px;
  color: #333333;
}

/* Content Grid (Safety/Responsibility) */
.page-nh__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-nh__sub-title {
  font-size: 26px;
  color: var(--page-nh-gold-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-nh__text-block p {
  font-size: 16px;
  color: var(--page-nh-text-secondary);
}

/* CTA Section */
.page-nh__cta-section {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-nh__faq-section {
  background-color: #ffffff;
}

.page-nh__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-nh__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-nh__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  color: #333333;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
}

.page-nh__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-nh__faq-qtext {
  color: #333333;
}

.page-nh__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-nh-primary-color);
}

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

.page-nh__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  color: #555555;
  line-height: 1.6;
}

.page-nh__faq-item[open] summary {
  border-bottom: none;
}

.page-nh__card-bg-light {
  background-color: #f8f8f8;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-nh__hero-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-nh__section {
    padding: 40px 0;
  }

  .page-nh__container {
    padding: 0 15px;
  }

  .page-nh__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-nh__main-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .page-nh__hero-description {
    font-size: clamp(16px, 3.5vw, 18px);
  }

  .page-nh__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-nh__btn-primary,
  .page-nh__btn-secondary,
  .page-nh__btn-small,
  .page-nh a[class*="button"],
  .page-nh 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-left: 15px;
    padding-right: 15px;
  }
  
  .page-nh__cta-buttons,
  .page-nh__button-group,
  .page-nh__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-nh__grid-3-cols,
  .page-nh__steps-grid,
  .page-nh__strategy-grid,
  .page-nh__content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-nh__section,
  .page-nh__card,
  .page-nh__container,
  .page-nh__video-section,
  .page-nh__video-container,
  .page-nh__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-nh__card-image {
    min-height: 150px; /* Adjust min height for mobile cards */
  }

  .page-nh__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

  .page-nh__faq-answer {
    padding: 15px 20px;
    font-size: 14px;
  }
}