/* style/index-brand-story.css */
.page-index-brand-story {
  color: #ffffff; /* Body background is #121212 (dark), so text color is light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on shared.css for body background */
}

.page-index-brand-story__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 0; /* Assuming shared.css handles body padding-top */
  padding-bottom: 80px;
}

.page-index-brand-story__hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.7); /* Slightly darken background image for text readability, not changing color */
}

.page-index-brand-story__hero-content {
  max-width: 900px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

.page-index-brand-story__main-heading {
  font-size: 3.5em;
  color: #FFFF00; /* High contrast yellow for main heading */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-index-brand-story__sub-heading {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-index-brand-story__cta-button {
  display: inline-block;
  background-color: #C30808; /* Red for CTA buttons */
  color: #FFFF00; /* Yellow for button text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-index-brand-story__cta-button:hover {
  background-color: #e02020;
}

.page-index-brand-story__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-index-brand-story__section--dark {
  background-color: #017439; /* Brand green as dark background */
  color: #ffffff;
}

.page-index-brand-story__section-title {
  font-size: 2.5em;
  color: #FFFF00; /* Yellow for section titles for high contrast */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-index-brand-story__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFFF00;
  border-radius: 2px;
}

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

.page-index-brand-story__card {
  background-color: rgba(255, 255, 255, 0.1); /* Light transparent card on dark body */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #ffffff;
}

.page-index-brand-story__card-title {
  font-size: 1.5em;
  color: #FFFF00;
  margin-bottom: 15px;
}

.page-index-brand-story__image-full {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-index-brand-story__text-block {
  margin-bottom: 20px;
}

.page-index-brand-story__text-block p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-index-brand-story__faq-section {
  background-color: #017439; /* Brand color for FAQ background */
  color: #ffffff;
  padding: 60px 20px;
}

.page-index-brand-story__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-index-brand-story__faq-item details {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-index-brand-story__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: bold;
  color: #FFFF00;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker */
}

.page-index-brand-story__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for webkit browsers */
}

.page-index-brand-story__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-index-brand-story__faq-item details[open] .page-index-brand-story__faq-toggle {
  content: '−';
}

.page-index-brand-story__faq-item .page-index-brand-story__faq-answer {
  padding: 10px 20px 20px;
  color: #f0f0f0;
}

.page-index-brand-story__faq-answer .page-index-brand-story__cta-button {
    margin-top: 15px;
}

/* Call to Action Section */
.page-index-brand-story__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #017439; /* Brand color */
  color: #ffffff;
}

.page-index-brand-story__cta-title {
  font-size: 2.8em;
  color: #FFFF00;
  margin-bottom: 20px;
}

.page-index-brand-story__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-index-brand-story__main-heading {
    font-size: 2.8em;
  }
  .page-index-brand-story__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-index-brand-story {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-index-brand-story__hero-section {
    min-height: 450px;
    padding-bottom: 60px;
  }
  .page-index-brand-story__main-heading {
    font-size: 2.2em;
  }
  .page-index-brand-story__sub-heading {
    font-size: 1.1em;
  }
  .page-index-brand-story__cta-button {
    max-width: 100% !important; 
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-index-brand-story__section {
    padding: 40px 15px;
  }
  .page-index-brand-story__section-title {
    font-size: 1.8em;
  }
  .page-index-brand-story__content-grid {
    grid-template-columns: 1fr;
  }
  .page-index-brand-story__card {
    padding: 25px;
  }
  .page-index-brand-story__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }
  .page-index-brand-story__faq-item .page-index-brand-story__faq-answer {
    padding: 10px 15px 15px;
  }
  .page-index-brand-story__cta-title {
    font-size: 2em;
  }
  .page-index-brand-story__cta-description {
    font-size: 1em;
  }

  /* Image responsiveness */
  .page-index-brand-story img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-brand-story__section,
  .page-index-brand-story__card,
  .page-index-brand-story__hero-section,
  .page-index-brand-story__faq-section,
  .page-index-brand-story__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-brand-story__hero-section {
    padding-top: 0 !important; /* Ensure no double padding if shared.css already applies to body */
  }
}