/* style/about.css */

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

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default text color for dark body background */
  background-color: var(--color-bg-dark); /* Assuming body background is dark from shared.css */
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

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

.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;
  overflow: hidden;
  color: var(--color-text-main);
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 800px;
  margin-top: -100px; /* Adjust to slightly overlap the image for visual flow */
  background: rgba(17, 39, 27, 0.9); /* Card BG with slight transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-gold);
  line-height: 1.2;
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-gold);
  margin: 10px auto 0;
  border-radius: 2px;
}

.page-about__subsection-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--color-text-main);
}

.page-about__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: var(--color-text-secondary);
  text-align: left;
}

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

.page-about__list-item {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: var(--color-text-secondary);
}

.page-about__list-item::before {
  content: '✓';
  color: var(--color-gold);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__card-bg {
  background-color: var(--color-card-bg);
}

.page-about__dark-bg {
  background-color: var(--color-bg-dark);
}

.page-about__text-main {
  color: var(--color-text-main);
}

.page-about__text-secondary {
  color: var(--color-text-secondary);
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.page-about__btn-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

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

.page-about__feature-item {
  background-color: var(--color-bg-dark);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-about__team-image,
.page-about__future-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__faq-list {
  margin-top: 40px;
  text-align: left;
}

.page-about__faq-item {
  background-color: var(--color-bg-dark);
  border: 1px solid var(--color-divider);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--color-text-main);
  background-color: var(--color-card-bg);
  transition: background-color 0.3s ease;
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-about__faq-question:hover {
  background-color: var(--color-primary);
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--color-gold);
}

.page-about__faq-item[open] .page-about__faq-toggle {
  color: var(--color-text-main);
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  color: var(--color-text-secondary);
  font-size: 0.95em;
  line-height: 1.8;
}

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

.page-about__cta-section {
  padding: 80px 0;
  background: var(--color-primary);
  color: #ffffff;
}

.page-about__cta-section .page-about__section-title {
  color: #ffffff;
}

.page-about__cta-section .page-about__section-title::after {
  background: #ffffff;
}

.page-about__cta-section .page-about__text-block {
  color: rgba(255, 255, 255, 0.9);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__hero-content {
    margin-top: -60px;
    padding: 25px 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

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

  .page-about__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-about__subsection-title {
    font-size: clamp(1.2em, 5vw, 1.6em);
  }

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

  .page-about__hero-image,
  .page-about__feature-image,
  .page-about__team-image,
  .page-about__future-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__hero-section,
  .page-about__card-bg,
  .page-about__dark-bg,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 5px 0;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

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

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