:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --card-bg: #11271B; /* Card B G */
  --bg-color: #08160F; /* Background */
  --text-main: #F2FFF6; /* Text Main */
  --text-secondary: #A7D9B8; /* Text Secondary */
  --border-color: #2E7A4E; /* Border */
  --glow-color: #57E38D; /* Glow */
  --gold-color: #F2C14E; /* Gold */
  --divider-color: #1E3A2A; /* Divider */
  --deep-green: #0A4B2C; /* Deep Green */
}

/* --- General Page Styling --- */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--bg-color); /* Overall background from custom colors */
}

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

.page-about__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-color); /* Use gold for main titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Ensure all links are readable */
.page-about a {
  color: var(--glow-color); /* A vibrant color for links */
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
  color: var(--gold-color);
}

/* --- Buttons --- */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-download,
.page-about__btn-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  word-wrap: break-word; /* Allow button text to wrap */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Main text color */
  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: var(--card-bg); /* Card BG */
  color: var(--text-main); /* Main text color */
  border: 2px solid var(--border-color);
}

.page-about__btn-secondary:hover {
  background: var(--deep-green);
  border-color: var(--glow-color);
  color: var(--glow-color);
}

.page-about__btn-download,
.page-about__btn-more {
  background: var(--deep-green);
  color: var(--text-main);
  border: 1px solid var(--divider-color);
  margin-top: 15px;
}

.page-about__btn-download:hover,
.page-about__btn-more:hover {
  background: var(--border-color);
  color: var(--glow-color);
}


/* --- Hero Section --- */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: var(--bg-color);
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-about__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-about__main-title {
  color: var(--gold-color);
  font-size: clamp(2rem, 4vw, 3.2rem); /* Responsive font size */
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* --- Story Section --- */
.page-about__story-section {
  padding: 80px 0;
  background-color: var(--card-bg); /* Darker green */
  color: var(--text-main);
}

.page-about__story-section .page-about__section-title {
  color: var(--glow-color);
}

.page-about__grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.page-about__text-block p {
  margin-bottom: 15px;
  font-size: 1.05rem;
  color: var(--text-main);
}

.page-about__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Values Section --- */
.page-about__values-section {
  padding: 80px 0;
  background-color: var(--bg-color); /* Main background color */
  color: var(--text-main);
}

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

.page-about__value-card {
  background: var(--card-bg); /* Darker green for cards */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-about__value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-about__card-title {
  font-size: 1.6rem;
  color: var(--glow-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__value-card p {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* --- Offerings Section --- */
.page-about__offerings-section {
  padding: 80px 0;
  background-color: var(--deep-green); /* Deep Green for this section */
  color: var(--text-main);
}

.page-about__offerings-section .page-about__section-title {
  color: var(--gold-color);
}

.page-about__offerings-section .page-about__section-description {
  color: var(--text-secondary);
}

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

.page-about__offering-card {
  background: var(--card-bg); /* Card BG color */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  color: var(--text-main);
}

.page-about__offering-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-about__offering-image {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-about__offering-card .page-about__card-title {
  font-size: 1.4rem;
  margin: 20px 15px 10px 15px;
  color: var(--glow-color);
}

.page-about__offering-card .page-about__card-title a {
  color: var(--glow-color);
  text-decoration: none;
}

.page-about__offering-card .page-about__card-title a:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-about__offering-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0 15px 20px 15px;
}

/* --- Why Choose Us Section --- */
.page-about__why-choose-us {
  padding: 80px 0;
  background-color: var(--bg-color); /* Main background color */
  color: var(--text-main);
}

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

.page-about__feature-item {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-about__feature-title {
  font-size: 1.5rem;
  color: var(--glow-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.page-about__feature-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

/* --- FAQ Section --- */
.page-about__faq-section {
  padding: 80px 0;
  background-color: var(--deep-green); /* Deep Green for this section */
  color: var(--text-main);
}

.page-about__faq-section .page-about__section-title {
  color: var(--gold-color);
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background: var(--card-bg);
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--glow-color);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid var(--divider-color);
}

.page-about__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
}

/* --- CTA Bottom Section --- */
.page-about__cta-bottom {
  padding: 80px 0;
  background-color: var(--card-bg); /* Darker green */
  text-align: center;
  color: var(--text-main);
}

.page-about__cta-title {
  font-size: 2.2rem;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-about__cta-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-about__grid-two-col {
    grid-template-columns: 1fr;
  }

  .page-about__image-block {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px !important; /* More padding on mobile */
  }

  .page-about__section-title {
    font-size: 2rem;
  }

  .page-about__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust clamp for mobile */
  }

  .page-about__hero-description {
    font-size: 1rem;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 300px; /* Constrain button group width */
    margin-left: auto;
    margin-right: auto;
  }

  /* Mobile button responsiveness */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    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;
  }
  
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-about__hero-section,
  .page-about__story-section,
  .page-about__values-section,
  .page-about__offerings-section,
  .page-about__why-choose-us,
  .page-about__faq-section,
  .page-about__cta-bottom {
    padding: 40px 0 !important; /* Reduce section padding on mobile */
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-about__hero-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-about__hero-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-about__offering-card .page-about__card-title {
    font-size: 1.2rem;
  }
  .page-about__offering-card p {
    font-size: 0.9rem;
  }

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

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

  .page-about__faq-answer {
    padding: 10px 20px 15px 20px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile container responsiveness */
  .page-about__hero-section,
  .page-about__story-section,
  .page-about__values-section,
  .page-about__offerings-section,
  .page-about__why-choose-us,
  .page-about__faq-section,
  .page-about__cta-bottom,
  .page-about__container,
  .page-about__grid-two-col,
  .page-about__values-grid,
  .page-about__offerings-grid,
  .page-about__features-grid,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}