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

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

/* Section styling */
.page-about__section {
  padding: 60px 20px;
  background-color: var(--background-color, #08160F);
  text-align: center;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px; /* Small top padding, larger bottom for content */
  background-color: var(--background-color, #08160F);
  overflow: hidden; /* Ensure no overflow from images */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 30px; /* Space between image and content */
}

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  color: var(--text-main, #F2FFF6);
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold, #F2C14E); /* Using gold for main title */
}

.page-about__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary, #A7D9B8);
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__cta-buttons--centered {
  margin-top: 40px;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons are responsive */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow, #57E38D);
}

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

.page-about__btn-secondary:hover {
  background: var(--gold, #F2C14E);
  color: var(--background-color, #08160F);
}

/* General content styles */
.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  color: var(--gold, #F2C14E);
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__subsection-title {
  font-size: clamp(1.5em, 2.5vw, 2em);
  color: var(--text-main, #F2FFF6);
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-about__content-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 40px;
  text-align: left; /* Align text left within content wrappers */
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1.05em;
}

.page-about__text-block p {
  margin-bottom: 1em;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-about__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1.05em;
}

.page-about__list-item::before {
  content: "✅"; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: var(--gold, #F2C14E);
  font-size: 1.2em;
  line-height: 1.6;
}

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

.page-about__feature-card {
  background-color: var(--card-bg, #11271B);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border, #2E7A4E);
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__feature-title {
  font-size: 1.4em;
  color: var(--gold, #F2C14E);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-text {
  color: var(--text-secondary, #A7D9B8);
  font-size: 0.95em;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: var(--background-color, #08160F);
}

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

.page-about__faq-item {
  background-color: var(--card-bg, #11271B);
  border: 1px solid var(--border, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-about__faq-item[open] {
  background-color: var(--deep-green, #0A4B2C); /* Slightly darker when open */
  border-color: var(--gold, #F2C14E);
}

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

/* Hide default details marker */
.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}
.page-about__faq-item summary::marker {
  display: none;
}

.page-about__faq-qtext {
  flex-grow: 1;
  color: var(--gold, #F2C14E);
}

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--glow, #57E38D);
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg); /* Rotate + to become X or just rotate to - */
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary, #A7D9B8);
  font-size: 1em;
  line-height: 1.7;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-about__content-wrapper--reverse {
    flex-direction: column; /* Keep consistent for reverse on smaller screens */
  }
  .page-about__text-block,
  .page-about__image-block {
    flex: none;
    width: 100%;
  }
}

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

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

  .page-about__main-title {
    font-size: 2em; /* Smaller H1 for mobile */
  }

  .page-about__description {
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 1.6em;
    margin-bottom: 30px;
  }

  .page-about__subsection-title {
    font-size: 1.3em;
    margin-top: 30px;
    margin-bottom: 20px;
  }

  /* Images responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Image containers responsive */
  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__feature-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .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;
  }

  /* Container padding for mobile */
  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* FAQ specific mobile adjustments */
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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