/* style/about.css */

/* Base styles for the about page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  background-color: #0A4B2C; /* Deep Green for hero background */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: 2.8em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.2em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
}

.page-about__dark-section {
  background-color: #11271B; /* Card BG */
}

.page-about__text-block {
  color: #F2FFF6; /* Text Main */
}

.page-about__heading {
  font-size: 2.2em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__sub-heading {
  font-size: 1.6em;
  color: #22C768; /* Auxiliary Color */
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-about__paragraph {
  font-size: 1em;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

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

.page-about__list-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #11A84E; /* Primary Color */
  font-weight: bold;
}

.page-about__feature-section {
  background-color: #11271B; /* Card BG */
}

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

.page-about__card {
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #2E7A4E; /* Border */
  color: #F2FFF6;
}

.page-about__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.page-about__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #2E7A4E;
}

.page-about__card-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-about__card-description {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__cta-section {
  text-align: center;
  background-color: #0A4B2C; /* Deep Green */
  padding: 80px 20px;
}

.page-about__cta-section .page-about__heading {
  color: #F2C14E; /* Gold */
}

.page-about__cta-section .page-about__paragraph {
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin: 10px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-about__btn-secondary {
  background: #11271B; /* Card BG */
  color: #11A84E; /* Primary Color */
  border: 2px solid #11A84E;
}

.page-about__btn-secondary:hover {
  transform: translateY(-3px);
  background: #11A84E;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-about__faq-section {
  background-color: #08160F; /* Background */
  padding: 60px 0;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6; /* Text Main */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  color: #F2C14E; /* Gold */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-about__faq-question:hover {
  background-color: #13994A;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  border-top: 1px solid #1E3A2A; /* Divider */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.4em;
  }
  .page-about__heading {
    font-size: 1.8em;
  }
  .page-about__sub-heading {
    font-size: 1.4em;
  }
}

@media (max-width: 768px) {
  .page-about__main-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__heading {
    font-size: 1.6em;
  }
  .page-about__sub-heading {
    font-size: 1.2em;
  }
  .page-about__paragraph,
  .page-about__list-item,
  .page-about__card-description,
  .page-about__faq-answer {
    font-size: 0.95em;
  }

  /* Image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__grid,
  .page-about__card,
  .page-about__cta-section,
  .page-about__faq-section,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles header offset */
  }
  .page-about__section {
    padding: 40px 0;
  }

  /* 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;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-section .page-about__cta-button:last-child {
    margin-bottom: 0 !important;
  }

  .page-about__faq-question {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.6em;
  }
  .page-about__heading {
    font-size: 1.4em;
  }
  .page-about__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }
  .page-about__section {
    padding: 30px 0;
  }
  .page-about__card {
    padding: 20px;
  }
  .page-about__cta-section {
    padding: 50px 15px;
  }
}

/* Contrast fixes */
.page-about {
  color: #F2FFF6; /* Text Main for general text */
}
.page-about__text-block {
  color: #F2FFF6;
}
.page-about__dark-section {
  color: #F2FFF6;
}
.page-about__card {
  color: #F2FFF6;
}
.page-about__faq-answer {
  color: #A7D9B8;
}
.page-about__faq-question {
  color: #F2C14E;
}