/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Text Main */
  background-color: var(--background-color); /* Inherit from shared */
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding-bottom: 40px;
  padding-top: 10px; /* Small padding, body takes --header-offset */
  background: linear-gradient(180deg, #0A4B2C 0%, #08160F 100%);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for image */
}

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

.page-about__hero-content {
  max-width: 900px;
  margin-top: 20px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__cta-button--secondary {
  background: none;
  border: 2px solid #2AD16F;
  color: #2AD16F;
}

.page-about__cta-button--secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #F2FFF6;
}

.page-about__cta-button--outline {
  background: none;
  border: 2px solid #A7D9B8;
  color: #A7D9B8;
}

.page-about__cta-button--outline:hover {
  background-color: rgba(167, 217, 184, 0.1);
  color: #F2FFF6;
}

.page-about__cta-button--gold {
  background: linear-gradient(180deg, #F2C14E 0%, #D4A738 100%);
  color: #08160F;
}

.page-about__cta-button--gold:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-about__section {
  padding: 60px 20px;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-about__section--general-intro {
  background-color: #08160F; /* Background */
}

.page-about__section--history {
  background-color: #11271B; /* Card B G */
}

.page-about__section--mission-vision {
  background-color: #08160F; /* Background */
}

.page-about__section--core-values {
  background-color: #11271B; /* Card B G */
}

.page-about__section--tech-security {
  background-color: #08160F; /* Background */
}

.page-about__section--social-responsibility {
  background-color: #11271B; /* Card B G */
}

.page-about__section--faq {
  background-color: #08160F; /* Background */
}

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

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

.page-about__flex-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 40px;
  color: #F2FFF6; /* Text Main */
  text-align: center;
}

.page-about__paragraph {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__paragraph a {
  color: #2AD16F; /* Highlight links */
  text-decoration: none;
}

.page-about__paragraph a:hover {
  text-decoration: underline;
}

.page-about__flex-group {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__flex-group--reverse-mobile {
  flex-direction: row;
}

.page-about__content-block {
  flex: 1;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
}

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

.page-about__card {
  background-color: #11271B; /* Card B G */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #F2FFF6;
}

.page-about__card:hover {
  transform: translateY(-5px);
}

.page-about__card-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2AD16F;
}

.page-about__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8;
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about__value-item {
  padding: 25px;
  border-radius: 10px;
  background-color: rgba(17, 168, 78, 0.1);
  border: 1px solid #2E7A4E;
  color: #F2FFF6;
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__value-title {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-about__value-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #A7D9B8;
}

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

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

.page-about__faq-item summary {
  display: block;
  padding: 20px 25px;
  cursor: pointer;
  outline: none;
  position: relative;
  list-style: none;
  color: #F2FFF6;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2AD16F;
}

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8;
}

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

  .page-about__hero-content {
    margin-top: 10px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

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

  .page-about__heading {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-about__paragraph {
    font-size: 0.95rem;
  }

  .page-about__flex-group {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__flex-group--reverse-mobile {
    flex-direction: column-reverse;
  }

  .page-about__image-block {
    order: -1; /* For reverse mobile */
  }

  .page-about__card {
    padding: 20px;
  }

  .page-about__card-title {
    font-size: 1.4rem;
  }

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

  .page-about__value-icon {
    width: 80px;
    height: 80px;
  }

  .page-about__value-title {
    font-size: 1.2rem;
  }

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

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

  /* Mobile responsive for images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__hero-image-wrapper,
  .page-about__hero-content,
  .page-about__flex-group,
  .page-about__content-block,
  .page-about__image-block,
  .page-about__grid-layout,
  .page-about__values-grid,
  .page-about__value-item,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__video-section {
    padding-top: 10px !important;
  }

  /* Mobile responsive for buttons */
  .page-about__cta-button {
    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__flex-center {
    flex-wrap: wrap;
    gap: 20px;
  }

  .page-about__flex-center .page-about__cta-button {
    margin-top: 15px;
  }
}