/* style/about.css */
/* Body background color is handled by shared.css var(--bg-color) */

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--Text-Main); /* Default text color for the page */
  background-color: var(--Background);
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  max-height: 700px; /* Limit hero image height */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  color: var(--Text-Main);
  padding: 20px;
  background: rgba(8, 22, 15, 0.7); /* Deep Green background with transparency */
  border-radius: 10px;
  backdrop-filter: blur(5px);
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--Gold); /* Gold for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__hero-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: var(--Text-Secondary);
}

.page-about__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__section {
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

.page-about__dark-section {
  background-color: var(--Background);
  color: var(--Text-Main);
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--Text-Main);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-about__dark-section .page-about__section-title {
  color: var(--Gold);
}

.page-about__section-intro {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 40px;
  color: var(--Text-Secondary);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__card-grid,
.page-about__feature-grid,
.page-about__commitment-grid,
.page-about__team-grid,
.page-about__future-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 40px;
}

.page-about__card,
.page-about__feature-item,
.page-about__commitment-item,
.page-about__team-member,
.page-about__future-item {
  background-color: var(--Card-BG); /* Card background color */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--Border);
}

.page-about__card:hover,
.page-about__feature-item:hover,
.page-about__commitment-item:hover,
.page-about__team-member:hover,
.page-about__future-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-about__card-image,
.page-about__feature-icon,
.page-about__team-avatar {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too wide in cards */
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__feature-icon {
  max-width: 100px;
  max-height: 100px;
  border-radius: 50%;
  margin-left: 0;
  margin-right: auto;
}

.page-about__team-avatar {
  max-width: 200px;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

.page-about__card-title,
.page-about__feature-title,
.page-about__commitment-title,
.page-about__team-name,
.page-about__future-title {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 600;
  color: var(--Text-Main);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-about__team-name {
  text-align: center;
  width: 100%;
}

.page-about__team-role {
  font-size: 1rem;
  color: var(--Text-Secondary);
  text-align: center;
  width: 100%;
}

.page-about__card-text,
.page-about__feature-text,
.page-about__commitment-text,
.page-about__future-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--Text-Secondary);
}

.page-about__contact-info {
  margin-top: 40px;
  text-align: center;
}

.page-about__contact-text {
  font-size: 1.1rem;
  color: var(--Text-Secondary);
  margin-bottom: 20px;
}

.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.page-about__contact-item {
  font-size: 1.1rem;
  color: var(--Text-Main);
}

.page-about__contact-link {
  color: var(--Gold);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-about__contact-link:hover {
  color: var(--Glow);
  text-decoration: underline;
}

.page-about__faq-section {
  padding: 80px 20px;
  background-color: var(--Background);
  color: var(--Text-Main);
  text-align: center;
  box-sizing: border-box;
}

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

.page-about__faq-item {
  background-color: var(--Card-BG);
  border: 1px solid var(--Border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--Text-Main);
  background-color: var(--Deep-Green);
  border-bottom: 1px solid var(--Divider);
}

.page-about__faq-question:hover {
  background-color: var(--Deep-Green);
  color: var(--Gold);
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--Glow);
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
}

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

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

.page-about__faq-item summary {
  list-style: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }

  .page-about__hero-content {
    padding: 15px;
  }

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

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

  .page-about__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 50px 15px;
  }

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

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

  .page-about__section-intro {
    font-size: 0.95rem;
  }

  .page-about__card-grid,
  .page-about__feature-grid,
  .page-about__commitment-grid,
  .page-about__team-grid,
  .page-about__future-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card,
  .page-about__feature-item,
  .page-about__commitment-item,
  .page-about__team-member,
  .page-about__future-item {
    padding: 20px;
    align-items: center;
    text-align: center;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__card-image,
  .page-about__feature-icon,
  .page-about__team-avatar {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    margin-left: auto;
    margin-right: auto;
    display: block !important;
  }

  .page-about__feature-icon {
    max-width: 80px !important;
    max-height: 80px !important;
  }

  .page-about__card-title,
  .page-about__feature-title,
  .page-about__commitment-title,
  .page-about__team-name,
  .page-about__future-title {
    font-size: 1.3rem;
    text-align: center;
    width: 100%;
  }

  .page-about__card-text,
  .page-about__feature-text,
  .page-about__commitment-text,
  .page-about__future-text {
    font-size: 0.9rem;
    text-align: center;
  }

  .page-about__contact-list {
    align-items: flex-start;
    text-align: left;
    padding-left: 0;
  }

  .page-about__contact-item {
    font-size: 1rem;
  }

  .page-about__faq-section {
    padding: 50px 15px;
  }

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

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