:root {
  --primary-color: #11A84E; /* Main color */
  --secondary-color: #22C768; /* Auxiliary color */
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Ensure contrast for main text against body background */
body {
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--background); /* #08160F */
}

.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--background); /* #08160F */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  position: relative;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  width: 90%;
  color: var(--text-main); /* #F2FFF6 */
  padding: 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main); /* #F2FFF6 */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: var(--text-main); /* #F2FFF6 */
}

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

/* General Section Styling */
.page-about__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider); /* #1E3A2A */
}

.page-about__section:last-of-type {
  border-bottom: none;
}

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

.page-about__heading {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--gold); /* #F2C14E */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-about__text {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__text strong {
  color: var(--gold); /* #F2C14E */
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-about__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-about__btn-secondary {
  background-color: transparent;
  color: var(--gold); /* #F2C14E */
  border: 2px solid var(--gold); /* #F2C14E */
}

.page-about__btn-secondary:hover {
  background-color: var(--gold); /* #F2C14E */
  color: var(--deep-green); /* #0A4B2C */
}

.page-about__btn-link {
  background-color: transparent;
  color: var(--glow); /* #57E38D */
  border: none;
  padding: 0;
  text-align: left;
  text-decoration: underline;
}

.page-about__btn-link:hover {
  color: var(--gold); /* #F2C14E */
}

/* Grid Layout for Mission/Values */
.page-about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.page-about__card {
  background-color: var(--card-bg); /* #11271B */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Push image to bottom if needed */
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__card-title {
  font-size: 1.5rem;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card-text {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow */
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__card-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
  filter: none; /* Ensure no filter is applied */
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--glow); /* #57E38D */
  font-weight: bold;
}

/* Full width image */
.page-about__image-full {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 30px;
  object-fit: cover;
  filter: none; /* Ensure no filter is applied */
}

/* Features List */
.page-about__features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
  list-style: none;
  padding: 0;
}

.page-about__features-item {
  background-color: var(--card-bg); /* #11271B */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-main); /* #F2FFF6 */
  display: flex;
  flex-direction: column;
}

.page-about__features-title {
  font-size: 1.3rem;
  color: var(--gold); /* #F2C14E */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__features-description {
  font-size: 1rem;
  margin-bottom: 15px;
  flex-grow: 1;
  color: var(--text-secondary); /* #A7D9B8 */
}

/* Why Choose mb66667 */
.page-about__advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.page-about__advantage-item {
  background-color: var(--card-bg); /* #11271B */
  border-left: 5px solid var(--glow); /* #57E38D */
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-main); /* #F2FFF6 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background-color: var(--card-bg); /* #11271B */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border); /* #2E7A4E */
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold); /* #F2C14E */
  background-color: var(--deep-green); /* #0A4B2C */
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-question:hover {
  background-color: var(--primary-color); /* #11A84E */
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  margin-left: 15px;
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__faq-answer {
  padding: 0 25px 18px;
  font-size: 1rem;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__faq-answer p {
  margin-bottom: 10px;
  color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__faq-answer a {
  color: var(--glow); /* #57E38D */
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: var(--gold); /* #F2C14E */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-about__heading {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  }
}

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

  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__hero-content {
    position: relative; /* Remove absolute positioning on mobile */
    top: auto;
    left: auto;
    transform: none;
    padding: 20px 15px;
    width: 100%;
    margin-top: -100px; /* Pull content up over the image slightly */
    background: linear-gradient(to top, var(--background) 0%, rgba(8, 22, 15, 0.7) 70%, transparent 100%);
  }

  .page-about__hero-image-wrapper {
    max-height: 400px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-about__tagline {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px; /* Add padding to buttons container */
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 30px;
  }

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

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

  .page-about__card {
    padding: 25px;
  }

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

  .page-about__features-list {
    grid-template-columns: 1fr;
  }

  .page-about__advantage-list {
    grid-template-columns: 1fr;
  }

  .page-about__image-full,
  .page-about__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    filter: none !important; /* Ensure no filter is applied */
  }

  /* FAQ */
  .page-about__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95rem;
  }
}