/* style/nh.css */

/* Base styles for the page-nh scope */
.page-nh {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #f4f4f4 */
  background-color: #f4f4f4;
}

.page-nh__section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-nh__section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: #11A84E; /* Brand primary color */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.page-nh__content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
}

.page-nh__content-wrapper p {
  margin-bottom: 15px;
}

.page-nh__image-content {
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
}

/* Hero Section */
.page-nh__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, relying on body for header offset */
  overflow: hidden;
  background-color: #08160F; /* Deep Green background */
  color: #F2FFF6; /* Light text for dark background */
}

.page-nh__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height of hero image */
  overflow: hidden;
}

.page-nh__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-nh__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 30px 20px;
  z-index: 1;
}

.page-nh__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive H1 font size */
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-nh__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary light text */
}

.page-nh__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-nh__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-nh__cta-button--centered {
  display: block;
  margin: 30px auto 0 auto;
}

/* Dark Section Styling */
.page-nh__dark-section {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main light text color for dark background */
}

.page-nh__dark-section .page-nh__section-title {
  color: #F2C14E; /* Gold title for dark background */
}

.page-nh__dark-section p,
.page-nh__dark-section li {
  color: #A7D9B8; /* Secondary light text for dark background */
}

/* Grid Container for Why Choose Section */
.page-nh__grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.page-nh__card {
  background-color: #11271B; /* Card BG color from custom palette */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: #F2FFF6; /* Main light text for card background */
}

.page-nh__card-title {
  font-size: 1.5rem;
  color: #22C768; /* Auxiliary color for card titles */
  margin-bottom: 15px;
  font-weight: 700;
}

.page-nh__card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8; /* Secondary light text for card content */
}

/* Lists */
.page-nh__list,
.page-nh__list-ordered {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-nh__list li,
.page-nh__list-ordered li {
  background-color: #ffffff;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #333333;
  text-align: left;
}

.page-nh__dark-section .page-nh__list li,
.page-nh__dark-section .page-nh__list-ordered li {
  background-color: #11271B; /* Card BG for lists in dark sections */
  color: #F2FFF6;
}

.page-nh__list-title {
  font-size: 1.25rem;
  color: #11A84E; /* Primary brand color */
  margin-bottom: 5px;
  font-weight: 600;
}

.page-nh__dark-section .page-nh__list-title {
  color: #22C768; /* Auxiliary color for titles in dark sections */
}

/* FAQ Section */
.page-nh__faq-list {
  max-width: 900px;
  margin: 30px auto;
}

.page-nh__faq-item {
  background-color: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-nh__dark-section .page-nh__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
}

.page-nh__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: bold;
  color: #11A84E;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-nh__dark-section .page-nh__faq-question {
  color: #22C768;
}

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

.page-nh__faq-question:hover {
  background-color: #f0f0f0;
}

.page-nh__dark-section .page-nh__faq-question:hover {
  background-color: #0A4B2C;
}

.page-nh__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-nh__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #333333;
  text-align: justify;
}

.page-nh__dark-section .page-nh__faq-answer {
  color: #A7D9B8;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-nh__hero-content {
    padding: 20px;
  }
  .page-nh__hero-image-wrapper {
    max-height: 400px;
  }
}

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

  .page-nh__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 20px;
  }

  .page-nh__main-title {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .page-nh__description {
    font-size: 1rem;
  }

  .page-nh__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-nh__hero-image-wrapper {
    max-height: 300px;
  }

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

  .page-nh__card {
    padding: 25px;
  }

  .page-nh__card-title {
    font-size: 1.3rem;
  }

  .page-nh__list li,
  .page-nh__list-ordered li {
    padding: 12px 15px;
  }

  .page-nh__list-title {
    font-size: 1.15rem;
  }

  .page-nh__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-nh__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Mobile image and video responsive adaptation */
  .page-nh img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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__hero-section,
  .page-nh__video-section,
  .page-nh__video-container,
  .page-nh__video-wrapper,
  .page-nh__cta-buttons,
  .page-nh__button-group,
  .page-nh__btn-container,
  .page-nh__content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

@media (max-width: 480px) {
  .page-nh__cta-button {
    font-size: 0.95rem;
    padding: 10px 20px;
  }
}