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

.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--background-color);
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

.page-about__sub-title {
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--secondary-color);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__description {
  font-size: 18px;
  color: var(--text-secondary-color);
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-about__description--center {
  text-align: center;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, then content */
  overflow: hidden;
  background-color: var(--deep-green-color);
}

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-about__hero-content {
  position: relative; /* Ensure content is above any image effects if needed, but not overlaid */
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  margin-top: -100px; /* Pull content up over the image slightly */
  background: linear-gradient(to top, var(--background-color) 0%, transparent 100%);
  width: 100%;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 64px);
  color: var(--text-main-color);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 15px var(--glow-color);
}

.page-about__hero-content .page-about__description {
  font-size: 20px;
  max-width: 800px;
  margin-bottom: 40px;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  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: #ffffff;
  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);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  box-shadow: none;
}

.page-about__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--background-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(34, 199, 104, 0.3);
}

.page-about__btn-large {
  min-width: 200px;
}

/* General Section Styling */
.page-about__story-section,
.page-about__mission-section,
.page-about__why-choose-us-section,
.page-about__team-section,
.page-about__responsibility-section,
.page-about__faq-section,
.page-about__cta-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-about__story-section, .page-about__why-choose-us-section, .page-about__responsibility-section, .page-about__cta-section {
  background-color: var(--card-bg-color);
}

.page-about__mission-section, .page-about__team-section, .page-about__faq-section {
  background-color: var(--background-color);
}

/* Story Section */
.page-about__story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__story-text p {
  margin-bottom: 20px;
  color: var(--text-secondary-color);
  font-size: 17px;
}

.page-about__story-image-wrapper,
.page-about__mission-image-wrapper,
.page-about__why-choose-image-wrapper,
.page-about__responsibility-image-wrapper {
  text-align: center;
}

.page-about__story-image,
.page-about__mission-image,
.page-about__why-choose-image,
.page-about__responsibility-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  border: 1px solid var(--border-color);
  display: block;
  margin: 0 auto;
}

/* Mission Section */
.page-about__mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__mission-content p {
  margin-bottom: 15px;
  color: var(--text-secondary-color);
  font-size: 17px;
}

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

.page-about__values-list li {
  background: var(--deep-green-color);
  margin-bottom: 10px;
  padding: 12px 20px;
  border-radius: 6px;
  border-left: 4px solid var(--primary-color);
  font-size: 17px;
  color: var(--text-main-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.page-about__values-list li strong {
  color: var(--gold-color);
}

/* Why Choose Us Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-about__feature-card {
  background: var(--background-color);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  text-align: center;
}

.page-about__feature-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-about__feature-card p {
  color: var(--text-secondary-color);
  font-size: 16px;
  line-height: 1.5;
}

/* Team Section */
.page-about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-about__team-member {
  background: var(--card-bg-color);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  border: 1px solid var(--border-color);
  text-align: center;
}

.page-about__team-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--primary-color);
  display: block;
}

.page-about__member-name {
  font-size: 22px;
  color: var(--text-main-color);
  margin-bottom: 5px;
  font-weight: 700;
}

.page-about__member-role {
  font-size: 16px;
  color: var(--text-secondary-color);
}

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

.page-about__responsibility-text p {
  margin-bottom: 20px;
  color: var(--text-secondary-color);
  font-size: 17px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background: var(--card-bg-color);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main-color);
  list-style: none;
  outline: none;
  background-color: var(--deep-green-color);
  transition: background-color 0.3s ease;
}

.page-about__faq-item summary:hover {
  background-color: var(--divider-color);
}

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

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

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--primary-color);
}

.page-about__faq-item[open] .page-about__faq-toggle {
  color: var(--gold-color);
}

.page-about__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary-color);
  background-color: var(--card-bg-color);
  border-top: 1px solid var(--divider-color);
}

.page-about__faq-answer p {
  margin-bottom: 10px;
}

.page-about__faq-answer p:last-child {
  margin-bottom: 0;
}

/* CTA Section */
.page-about__cta-section {
  text-align: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-about__cta-container {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__story-grid,
  .page-about__mission-grid,
  .page-about__responsibility-content {
    grid-template-columns: 1fr;
  }

  .page-about__story-image-wrapper,
  .page-about__mission-image-wrapper,
  .page-about__responsibility-image-wrapper {
    order: -1; /* Image appears above text on smaller screens */
    margin-bottom: 30px;
  }

  .page-about__hero-content {
    margin-top: -50px;
    padding-top: 20px;
  }
}

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

  .page-about__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: clamp(20px, 4vw, 28px);
  }

  .page-about__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__hero-content {
    margin-top: -30px;
    padding: 20px 15px;
  }

  .page-about__main-title {
    font-size: clamp(28px, 7vw, 48px);
    margin-bottom: 15px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-about__story-section,
  .page-about__mission-section,
  .page-about__why-choose-us-section,
  .page-about__team-section,
  .page-about__responsibility-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 50px 0;
  }

  .page-about__story-text p,
  .page-about__mission-content p,
  .page-about__responsibility-text p {
    font-size: 16px;
  }

  .page-about__values-list li {
    font-size: 16px;
    padding: 10px 15px;
  }

  .page-about__feature-title {
    font-size: 20px;
  }

  .page-about__member-name {
    font-size: 20px;
  }

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

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

  /* Image and Video responsiveness (global for content area) */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__story-image-wrapper,
  .page-about__mission-image-wrapper,
  .page-about__why-choose-image-wrapper,
  .page-about__responsibility-image-wrapper,
  .page-about__team-member,
  .page-about__feature-card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }

  .page-about__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-about__hero-content {
    margin-top: -20px;
  }
  .page-about__main-title {
    font-size: clamp(24px, 8vw, 40px);
  }
  .page-about__description {
    font-size: 15px;
  }
  .page-about__section-title {
    font-size: clamp(22px, 7vw, 32px);
  }
  .page-about__sub-title {
    font-size: clamp(18px, 5vw, 24px);
  }
  .page-about__features-grid,
  .page-about__team-grid {
    gap: 20px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 10px 15px;
    font-size: 15px;
  }
}