/* style/bnc.css */

/* Base styles for the page content, ensuring text contrast on dark body background */
.page-bnc {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F2FFF6); /* Default light text on dark background */
  background-color: var(--background-color, #08160F); /* Ensure body background is respected */
}

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

/* Headings */
.page-bnc__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1, avoiding fixed large size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main, #F2FFF6);
  text-align: center;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-bnc__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold, #F2C14E); /* Using gold for section titles */
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-bnc__feature-title,
.page-bnc__step-title,
.page-bnc__promo-title,
.page-bnc__why-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: var(--text-main, #F2FFF6);
  margin-bottom: 15px;
}

/* Paragraphs and general text */
.page-bnc__description,
.page-bnc__text-block,
.page-bnc__description-text,
.page-bnc__feature-text,
.page-bnc__step-text,
.page-bnc__promo-text,
.page-bnc__why-text,
.page-bnc__faq-answer p {
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
  margin-bottom: 15px;
  text-align: center;
}
.page-bnc__text-content .page-bnc__text-block {
    text-align: left;
}
.page-bnc__hero-content .page-bnc__description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Links */
.page-bnc a {
  color: var(--gold, #F2C14E);
  text-decoration: none;
}

.page-bnc a:hover {
  text-decoration: underline;
  color: var(--glow, #57E38D);
}

/* Buttons */
.page-bnc__btn-primary,
.page-bnc__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box; /* Ensure padding doesn't increase total width unexpectedly */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-bnc__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for contrast */
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-bnc__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(-2px);
}

.page-bnc__btn-secondary {
  background: transparent;
  color: var(--glow, #57E38D);
  border: 2px solid var(--glow, #57E38D);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-bnc__btn-secondary:hover {
  background: var(--glow, #57E38D);
  color: #08160F; /* Dark text on light background for contrast */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

/* Hero Section */
.page-bnc__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px; /* Minimum height for hero */
  overflow: hidden;
  padding: 10px 0 60px 0; /* Small top padding, bottom for content */
}

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

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

.page-bnc__hero-section .page-bnc__btn-primary {
    margin-top: 30px;
}

/* Video Section */
.page-bnc__video-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles header offset */
  background-color: var(--deep-green, #0A4B2C); /* Darker background for contrast */
}

.page-bnc__video-container {
  width: 100%; /* Important for desktop flex container */
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-bnc__video-link-wrapper {
  display: block; /* Make the anchor tag a block to wrap the video */
  width: 100%;
  max-width: 100%;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.page-bnc__video-link-wrapper::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.page-bnc__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* About Section (Dark Background) */
.page-bnc__about-section {
  padding: 80px 0;
}

.page-bnc__dark-section {
  background-color: var(--card-bg, #11271B); /* Darker background */
  color: var(--text-main, #F2FFF6);
}

.page-bnc__dark-section .page-bnc__description-text {
    color: var(--text-secondary, #A7D9B8);
}

.page-bnc__grid-2-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-bnc__text-content {
  text-align: left;
}

.page-bnc__text-content .page-bnc__btn-primary {
  margin-top: 20px;
}

.page-bnc__image-wrapper {
  text-align: center;
}

.page-bnc__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

/* Features Section */
.page-bnc__features-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

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

.page-bnc__feature-card {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider, #1E3A2A);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-bnc__feature-icon {
  width: 100%; /* Card image must be large */
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Guide Section */
.page-bnc__guide-section {
  padding: 80px 0;
}

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

.page-bnc__step-card {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider, #1E3A2A);
}

.page-bnc__step-title {
  color: var(--gold, #F2C14E);
  text-align: left;
}

.page-bnc__step-text {
    text-align: left;
}


/* Promotions Section */
.page-bnc__promotions-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

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

.page-bnc__promo-card {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider, #1E3A2A);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-bnc__promo-image {
  width: 100%;
  max-width: 600px; /* Card image must be large */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-bnc__promo-card .page-bnc__btn-secondary {
  margin-top: 20px;
}

/* Why Choose Section */
.page-bnc__why-choose-section {
  padding: 80px 0;
}

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

.page-bnc__why-card {
  background-color: var(--card-bg, #11271B);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider, #1E3A2A);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-bnc__why-icon {
  width: 100%;
  max-width: 400px; /* Card image must be large */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* FAQ Section */
.page-bnc__faq-section {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

.page-bnc__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-bnc__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--divider, #1E3A2A);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main, #F2FFF6);
}

.page-bnc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-main, #F2FFF6);
  list-style: none; /* For details/summary */
}

.page-bnc__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for Chrome */
}

.page-bnc__faq-item summary {
    list-style: none; /* Hide default marker for Firefox/Safari */
}

.page-bnc__faq-item summary::marker {
    display: none; /* Hide default marker for modern browsers */
}

.page-bnc__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold, #F2C14E);
}

.page-bnc__faq-item[open] .page-bnc__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or similar for open state */
}

.page-bnc__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.1rem;
  color: var(--text-secondary, #A7D9B8);
}

.page-bnc__faq-answer p {
    text-align: left;
    margin-bottom: 0;
}

/* Call to Action Section */
.page-bnc__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-bnc__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-bnc__grid-2-cols {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-bnc__text-content {
      text-align: center;
  }
  .page-bnc__text-content .page-bnc__text-block {
      text-align: center;
  }
}

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

  .page-bnc__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-bnc__description,
  .page-bnc__text-block,
  .page-bnc__description-text,
  .page-bnc__feature-text,
  .page-bnc__step-text,
  .page-bnc__promo-text,
  .page-bnc__why-text,
  .page-bnc__faq-answer p {
    font-size: 1rem;
  }
  
  /* Mobile images */
  .page-bnc img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video */
  .page-bnc video,
  .page-bnc__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile containers for images/videos/content */
  .page-bnc__section,
  .page-bnc__card,
  .page-bnc__container,
  .page-bnc__hero-section,
  .page-bnc__video-section,
  .page-bnc__about-section,
  .page-bnc__features-section,
  .page-bnc__guide-section,
  .page-bnc__promotions-section,
  .page-bnc__why-choose-section,
  .page-bnc__faq-section,
  .page-bnc__cta-section,
  .page-bnc__video-container,
  .page-bnc__video-wrapper,
  .page-bnc__video-link-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Mobile buttons */
  .page-bnc__btn-primary,
  .page-bnc__btn-secondary,
  .page-bnc a[class*="button"],
  .page-bnc a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important; /* Take full width */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px !important; /* Adjust padding for smaller screens */
    font-size: 1rem !important;
  }
  
  .page-bnc__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

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