/* style/nh.css */

/* Base Styles & Typography */
.page-nh {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default text color for the page */
  background-color: var(--bg-color, #08160F); /* Default background color for the page */
}

.page-nh__dark-section {
  background-color: var(--bg-color, #08160F);
  color: var(--text-main, #F2FFF6);
}

.page-nh__light-section {
  background-color: #ffffff;
  color: var(--text-main, #333333);
}

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

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

.page-nh__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold, #F2C14E);
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-nh__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-secondary, #A7D9B8);
}

/* Hero Section */
.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 10px 0 60px 0; /* body handles header-offset, small top padding for visual separation */
  min-height: 500px;
}

.page-nh__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-nh__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-nh__main-title {
  font-size: clamp(32px, 5vw, 54px);
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: 1px;
}

.page-nh__hero-description {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--text-main, #F2FFF6);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-nh__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-nh__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-nh__btn-secondary {
  background: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-nh__btn-secondary:hover {
  background: var(--deep-green, #0A4B2C);
  border-color: var(--glow, #57E38D);
}

.page-nh__full-width-btn {
  width: 100%;
  max-width: 400px; /* Limit max width for aesthetic */
  margin: 0 auto;
}

.page-nh__cta-wrapper {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.page-nh__cta-buttons--centered {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

.page-nh__card {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main, #F2FFF6);
  height: 100%; /* Ensure cards in a grid have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-nh__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-nh__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-nh__card-title {
  font-size: 24px;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-nh__card-description {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
  flex-grow: 1; /* Allow description to take up available space */
}

/* Lists */
.page-nh__list,
.page-nh__numbered-list,
.page-nh__bullet-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
}

.page-nh__list-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-nh__list-title {
  font-size: 20px;
  color: var(--gold, #F2C14E);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-nh__list-description {
  font-size: 16px;
  color: var(--text-secondary, #A7D9B8);
}

.page-nh__numbered-list {
  counter-reset: list-counter;
}

.page-nh__numbered-list .page-nh__list-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border-color, #2E7A4E);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-nh__numbered-list .page-nh__list-item::before {
  counter-increment: list-counter;
  content: counter(list-counter);
  font-size: 28px;
  font-weight: bold;
  color: var(--glow, #57E38D);
  background-color: var(--deep-green, #0A4B2C);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.page-nh__bullet-list {
  list-style: none;
  padding-left: 0;
}

.page-nh__bullet-list .page-nh__list-item {
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 10px 0;
  margin-bottom: 5px;
  text-align: left;
  position: relative;
  padding-left: 30px;
}

.page-nh__bullet-list .page-nh__list-item::before {
  content: '•';
  color: var(--glow, #57E38D);
  font-size: 24px;
  position: absolute;
  left: 0;
  top: 8px;
  line-height: 1;
}

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

.page-nh__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.page-nh__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  background-color: var(--card-bg, #11271B);
  color: var(--text-main, #F2FFF6);
  font-weight: bold;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--divider, #1E3A2A);
}

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

.page-nh__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--glow, #57E38D);
}

.page-nh__faq-item[open] .page-nh__faq-toggle {
  transform: rotate(45deg);
}

.page-nh__faq-answer {
  padding: 20px;
  background-color: var(--deep-green, #0A4B2C);
  color: var(--text-secondary, #A7D9B8);
  font-size: 16px;
  line-height: 1.8;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-nh__hero-content {
    padding: 15px;
  }

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

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

  .page-nh__section-title {
    font-size: clamp(24px, 3.5vw, 38px);
  }

  .page-nh__text-block,
  .page-nh__card-description,
  .page-nh__list-description {
    font-size: 16px;
  }

  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }
}

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

  .page-nh__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

  .page-nh__hero-content {
    width: calc(100% - 30px); /* Add padding to sides */
    box-sizing: border-box;
  }

  .page-nh__main-title {
    font-size: 32px;
  }

  .page-nh__hero-description {
    font-size: 16px;
  }

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

  .page-nh__btn-primary,
  .page-nh__btn-secondary {
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-size: 16px !important;
  }
  
  .page-nh__cta-buttons--centered {
    flex-direction: column;
    gap: 15px;
  }

  .page-nh__features-grid,
  .page-nh__promotion-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-nh__card {
    padding: 20px;
  }

  .page-nh__card-image {
    min-width: 200px !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .page-nh__list-item,
  .page-nh__numbered-list .page-nh__list-item {
    padding: 15px;
  }

  .page-nh__numbered-list .page-nh__list-item::before {
    width: 35px;
    height: 35px;
    font-size: 24px;
  }

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

  .page-nh__faq-answer {
    font-size: 15px;
    padding: 15px;
  }
  
  /* General image/video/container responsive rules */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-nh video,
  .page-nh__video {
    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,
  .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;
    overflow: hidden !important;
  }

  .page-nh__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-nh__main-title {
    font-size: 28px;
  }

  .page-nh__section-title {
    font-size: 26px;
  }

  .page-nh__hero-section {
    min-height: 350px;
  }

  .page-nh__hero-content {
    padding: 10px;
  }
}