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

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for the page */
  background-color: var(--background-color); /* Body background handled by shared.css var(--bg-color) */
}

.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, body handles --header-offset */
  text-align: center;
  overflow: hidden;
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 30px;
}

.page-about__main-title {
  font-size: clamp(2em, 5vw, 3em);
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

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

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

.page-about__btn-primary {
  background: var(--button-gradient);
  color: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

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

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

.page-about__btn-secondary:hover {
  background: var(--primary-color);
  color: var(--text-main);
  transform: translateY(-3px);
}

.page-about__section {
  padding: 80px 20px;
  border-bottom: 1px solid var(--divider-color);
}

.page-about__section:last-of-type {
  border-bottom: none;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.page-about__text-block strong {
  color: var(--primary-color);
}

.page-about__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-about__content-wrapper > div {
  flex: 1;
  min-width: 300px;
}

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

.page-about__dark-section {
  background-color: var(--deep-green-color);
  color: var(--text-main);
}

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

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

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

.page-about__card {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-about__card-title {
  font-size: 1.8em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

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

.page-about__why-choose-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-about__why-choose-section li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%232AD16F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
  font-size: 1.05em;
}

.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  text-align: center;
}

.page-about__contact-list li {
  font-size: 1.1em;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-about__contact-list a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__contact-list a:hover {
  color: var(--gold-color);
}

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

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  background-color: var(--card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker, /* For details/summary */
.page-about__faq-question::marker { /* For details/summary */
  display: none;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  color: var(--primary-color);
  line-height: 1;
}

.page-about__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: var(--text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important; /* Sufficiently large for content */
  padding-top: 10px;
}

.page-about__faq-item[open] .page-about__faq-answer {
  max-height: 2000px !important;
  padding-top: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__hero-content {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }
  .page-about__section {
    padding: 50px 15px;
  }
  .page-about__container,
  .page-about__content-wrapper,
  .page-about__grid,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__content-wrapper {
    flex-direction: column;
  }
  .page-about__flex-reverse-mobile {
    flex-direction: column-reverse;
  }
  .page-about__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .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__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  .page-about__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}