.page-index-brand-story-values {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #f0f2f5;
}

.page-index-brand-story-values__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-index-brand-story-values__section-title {
  font-size: 38px;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-brand-story-values__text-block {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-index-brand-story-values__hero-section {
  position: relative;
  width: 100%;
  height: 650px; /* Adjusted height for desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Apply header offset */
}

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

.page-index-brand-story-values__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-index-brand-story-values__hero-content {
  position: relative;
  z-index: 3;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-index-brand-story-values__hero-title {
  font-size: 52px;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-index-brand-story-values__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
}

.page-index-brand-story-values__hero-cta-button {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #017439;
}

.page-index-brand-story-values__hero-cta-button:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

/* Introduction Section */
.page-index-brand-story-values__introduction-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-index-brand-story-values__grid-item {
  text-align: center;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index-brand-story-values__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-index-brand-story-values__grid-title {
  font-size: 26px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-brand-story-values__grid-description {
  font-size: 16px;
  color: #555555;
}

/* Core Values Section */
.page-index-brand-story-values__core-values-section {
  padding: 80px 0;
}

.page-index-brand-story-values__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-index-brand-story-values__dark-section .page-index-brand-story-values__section-title {
  color: #ffffff;
}

.page-index-brand-story-values__dark-section .page-index-brand-story-values__text-block {
  color: #f0f0f0;
}

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

.page-index-brand-story-values__value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-index-brand-story-values__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-index-brand-story-values__card-title {
  font-size: 24px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-brand-story-values__card-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* Why Choose Section */
.page-index-brand-story-values__why-choose-section {
  padding: 80px 0;
  background-color: #f0f2f5;
}

.page-index-brand-story-values__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-index-brand-story-values__feature-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-index-brand-story-values__feature-title {
  font-size: 26px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-brand-story-values__feature-description {
  font-size: 16px;
  color: #555555;
}

.page-index-brand-story-values__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-index-brand-story-values__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #017439;
}

.page-index-brand-story-values__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-index-brand-story-values__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #017439;
  margin-left: 20px;
}

.page-index-brand-story-values__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
}

/* Commitment Section */
.page-index-brand-story-values__commitment-section {
  padding: 80px 0;
}

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

.page-index-brand-story-values__commitment-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-index-brand-story-values__image-small {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
}

.page-index-brand-story-values__commitment-title {
  font-size: 26px;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-index-brand-story-values__commitment-description {
  font-size: 16px;
  color: #f0f0f0;
}

/* FAQ Section */
.page-index-brand-story-values__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-index-brand-story-values__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-index-brand-story-values__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-index-brand-story-values__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #017439;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-index-brand-story-values__faq-question:hover {
  background-color: #e6e6e6;
}

.page-index-brand-story-values__faq-toggle {
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-index-brand-story-values__faq-item.active .page-index-brand-story-values__faq-toggle {
  transform: rotate(45deg);
}

.page-index-brand-story-values__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #ffffff;
  color: #555555;
}

.page-index-brand-story-values__faq-item.active .page-index-brand-story-values__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

.page-index-brand-story-values__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* CTA Section */
.page-index-brand-story-values__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-index-brand-story-values__cta-section .page-index-brand-story-values__btn-primary,
.page-index-brand-story-values__cta-section .page-index-brand-story-values__btn-secondary {
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-index-brand-story-values__hero-title {
    font-size: 44px;
  }
  .page-index-brand-story-values__hero-description {
    font-size: 18px;
  }
  .page-index-brand-story-values__section-title {
    font-size: 32px;
  }
  .page-index-brand-story-values__text-block {
    font-size: 16px;
  }
  .page-index-brand-story-values__grid-title,
  .page-index-brand-story-values__card-title,
  .page-index-brand-story-values__feature-title,
  .page-index-brand-story-values__commitment-title {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  .page-index-brand-story-values {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-index-brand-story-values__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-index-brand-story-values__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-index-brand-story-values__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-index-brand-story-values__hero-cta-button {
    padding: 12px 25px;
    font-size: 18px;
  }
  .page-index-brand-story-values__section-title {
    font-size: 28px;
    margin-bottom: 20px;
  }
  .page-index-brand-story-values__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-index-brand-story-values__introduction-section,
  .page-index-brand-story-values__core-values-section,
  .page-index-brand-story-values__why-choose-section,
  .page-index-brand-story-values__commitment-section,
  .page-index-brand-story-values__faq-section,
  .page-index-brand-story-values__cta-section {
    padding: 60px 0;
  }
  .page-index-brand-story-values__content-grid,
  .page-index-brand-story-values__values-grid,
  .page-index-brand-story-values__feature-list,
  .page-index-brand-story-values__commitment-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-index-brand-story-values__grid-item,
  .page-index-brand-story-values__value-card,
  .page-index-brand-story-values__feature-item,
  .page-index-brand-story-values__commitment-item {
    padding: 25px;
  }
  .page-index-brand-story-values__grid-title,
  .page-index-brand-story-values__card-title,
  .page-index-brand-story-values__feature-title,
  .page-index-brand-story-values__commitment-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .page-index-brand-story-values__grid-description,
  .page-index-brand-story-values__card-description,
  .page-index-brand-story-values__feature-description,
  .page-index-brand-story-values__commitment-description {
    font-size: 15px;
  }
  .page-index-brand-story-values__faq-question {
    font-size: 18px;
    padding: 15px;
  }
  .page-index-brand-story-values__faq-answer {
    padding: 0 15px;
  }
  .page-index-brand-story-values__faq-item.active .page-index-brand-story-values__faq-answer {
    padding: 15px;
  }
  .page-index-brand-story-values__faq-answer p {
    font-size: 15px;
  }
  .page-index-brand-story-values__btn-primary,
  .page-index-brand-story-values__btn-secondary {
    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;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
  }
  .page-index-brand-story-values__cta-section .page-index-brand-story-values__btn-secondary {
    margin-top: 0;
  }
  .page-index-brand-story-values__cta-section .page-index-brand-story-values__btn-primary {
    margin-top: 20px;
  }
  .page-index-brand-story-values__cta-section .page-index-brand-story-values__btn-primary:last-child,
  .page-index-brand-story-values__cta-section .page-index-brand-story-values__btn-secondary:last-child {
    margin-bottom: 0;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-index-brand-story-values img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-index-brand-story-values__section,
  .page-index-brand-story-values__card,
  .page-index-brand-story-values__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-index-brand-story-values__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-index-brand-story-values__hero-title {
    font-size: 28px;
  }
  .page-index-brand-story-values__hero-description {
    font-size: 14px;
  }
  .page-index-brand-story-values__hero-cta-button {
    font-size: 16px;
    padding: 10px 20px;
  }
  .page-index-brand-story-values__section-title {
    font-size: 24px;
  }
  .page-index-brand-story-values__text-block {
    font-size: 14px;
  }
  .page-index-brand-story-values__grid-title,
  .page-index-brand-story-values__card-title,
  .page-index-brand-story-values__feature-title,
  .page-index-brand-story-values__commitment-title {
    font-size: 18px;
  }
  .page-index-brand-story-values__grid-description,
  .page-index-brand-story-values__card-description,
  .page-index-brand-story-values__feature-description,
  .page-index-brand-story-values__commitment-description {
    font-size: 14px;
  }
  .page-index-brand-story-values__faq-question {
    font-size: 16px;
  }
  .page-index-brand-story-values__faq-answer p {
    font-size: 14px;
  }
}