/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Body Background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover; /* Default for desktop */
}

.page-about__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: #F2C14E; /* Main color for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

/* CTA Button */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #ffffff; /* White text for contrast */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

/* Section Titles */
.page-about__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #FFF6D6;
}

.page-about__sub-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-about__paragraph {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #FFF6D6;
}

/* Dark Background Sections */
.page-about__dark-bg {
  background-color: #111111; /* Card BG */
}

/* Mission & Vision Section */
.page-about__mission-vision-section .page-about__content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  text-align: left;
}

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

.page-about__value-card.page-about__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-about__value-card.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-about__value-icon {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  object-fit: contain;
}

.page-about__card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-about__card-text {
  font-size: 0.95rem;
  color: #FFF6D6;
}

/* Ecosystem Section */
.page-about__ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__ecosystem-item.page-about__card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-about__ecosystem-item.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-about__ecosystem-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #ffffff; /* White background */
  color: #F2C14E; /* Main color text */
  text-decoration: none;
  border: 2px solid #F2C14E;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.95rem;
  margin-top: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-secondary:hover {
  background-color: #F2C14E;
  color: #ffffff;
}

/* Team Section */
.page-about__team-section .page-about__content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.page-about__team-section .page-about__text-block {
  flex: 1;
}

.page-about__team-section .page-about__image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure image doesn't shrink too much */
}

.page-about__team-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* Responsibility Section */
.page-about__responsibility-section .page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__responsibility-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* Future Section */
.page-about__future-section .page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__future-section .page-about__image-wrapper {
  grid-column: 1 / 2; /* Image on left for first row */
  grid-row: 2 / 3; /* Image on second row */
}

.page-about__future-section .page-about__text-block:nth-of-type(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.page-about__future-section .page-about__text-block:nth-of-type(2) {
  grid-column: 2 / 3; /* Second text block on right */
  grid-row: 1 / 3; /* Spans both rows */
}

.page-about__future-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

/* FAQ Section */
.page-about__faq-section {
  padding-bottom: 60px;
}

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

.page-about__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-about__faq-item:hover {
  background-color: rgba(242, 193, 78, 0.05); /* Slight highlight on hover */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2C14E;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker */
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 20px;
  color: #FFD36B;
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  color: #FFF6D6;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-about__faq-item[open] .page-about__faq-answer {
  max-height: 2000px; /* Large enough to accommodate content */
  padding-top: 10px;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: "−"; /* Change toggle symbol when open */
}

/* General image styling for content areas */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* General button styling */
.page-about a[class*="button"],
.page-about a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* General container styling for content areas */
.page-about__section,
.page-about__card,
.page-about__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* --- Responsive Styles for Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-about__container {
    padding: 20px 15px;
  }

  /* Hero Section */
  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__hero-image {
    object-fit: contain !important; /* Mobile hero image should contain, not cover */
    aspect-ratio: unset !important;
    max-height: none !important;
  }

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

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

  .page-about__cta-button {
    font-size: 1rem;
    padding: 12px 25px;
    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;
  }

  /* Section Titles */
  .page-about__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    padding-top: 30px;
  }

  .page-about__section-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }

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

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

  /* Mission & Vision Section */
  .page-about__mission-vision-section .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Values Section */
  .page-about__values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__value-card.page-about__card {
    padding: 25px;
  }

  /* Ecosystem Section */
  .page-about__ecosystem-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__ecosystem-item.page-about__card {
    padding: 20px;
  }

  .page-about__btn-secondary {
    font-size: 0.9rem;
    padding: 8px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Team Section */
  .page-about__team-section .page-about__content-flex {
    flex-direction: column;
    gap: 30px;
  }

  /* Responsibility Section */
  .page-about__responsibility-section .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Future Section */
  .page-about__future-section .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__future-section .page-about__image-wrapper {
    grid-column: 1 / 2; /* Stack image below first text block */
    grid-row: 2 / 3;
  }

  .page-about__future-section .page-about__text-block:nth-of-type(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .page-about__future-section .page-about__text-block:nth-of-type(2) {
    grid-column: 1 / 2; /* Stack below image */
    grid-row: 3 / 4;
  }

  /* FAQ Section */
  .page-about__faq-section {
    padding-bottom: 40px;
  }

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

  .page-about__faq-toggle {
    font-size: 1.3rem;
  }

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

  /* Universal image responsive styles for content areas */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Universal container responsive styles for content areas */
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Multiple buttons in a row (if any) */
  .page-about__button-group {
    display: flex;
    flex-direction: column; /* Stack vertically */
    gap: 10px;
  }
}