/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background-color);
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--text-main);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 1.1em;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  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;
  overflow: hidden;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  padding: 30px 0;
  max-width: 900px;
  margin-top: 20px; /* Ensure content is below image */
}

.page-about__main-title {
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  /* No fixed large font-size, rely on weight and line-height */
  font-size: clamp(2em, 4vw, 3.5em);
}

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

/* Buttons */
.page-about__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-about__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Intro Section */
.page-about__intro-section {
  padding: 80px 0;
  background-color: var(--deep-green);
  color: var(--text-main);
}

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

.page-about__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about__content-image {
  flex: 1 1 45%;
  max-width: 550px;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.page-about__text-content {
  flex: 1 1 45%;
}

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

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__list 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="%232AD16F"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-about__list li strong {
  color: var(--text-main);
}

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

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 80px 0;
  background-color: var(--background-color);
}

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

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

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

.page-about__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__card-text {
  color: var(--text-secondary);
  font-size: 0.95em;
}

.page-about__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
  background-color: var(--deep-green);
  color: var(--text-main);
}

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

.page-about__commitment-item {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.page-about__commitment-heading {
  font-size: 1.6em;
  color: var(--gold);
  margin-bottom: 15px;
}

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

.page-about__image-full-width {
  max-width: 100%;
  width: 100%;
  height: auto;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Team Section */
.page-about__team-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

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

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

.page-about__team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid var(--glow);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__member-role {
  font-size: 1em;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-about__member-bio {
  color: var(--text-secondary);
  font-size: 0.9em;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: var(--deep-green);
  color: var(--text-main);
}

.page-about__faq-list {
  margin-top: 40px;
}

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

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

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

.page-about__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

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

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  font-size: 0.95em;
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--background-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-image {
    max-height: 500px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__content-image,
  .page-about__text-content {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .page-about__image-text-block {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__intro-section,
  .page-about__why-choose-us,
  .page-about__commitment-section,
  .page-about__team-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0;
  }

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

  .page-about__hero-image,
  .page-about__content-image,
  .page-about__image-full-width,
  .page-about__feature-icon,
  .page-about__team-avatar,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__section-description,
  .page-about__paragraph,
  .page-about__card-text,
  .page-about__commitment-text,
  .page-about__member-bio,
  .page-about__faq-answer p {
    font-size: 0.95em;
  }

  .page-about__btn-primary,
  .page-about__btn-large,
  .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: 12px 20px !important;
    font-size: 1em !important;
    margin-bottom: 10px;
  }

  .page-about__cta-bottom,
  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body handles header offset, small decorative padding */
  }

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

  .page-about__list li {
    padding-left: 25px;
  }
  
  .page-about__faq-item summary {
    font-size: 1em;
  }
}

/* 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: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-about {
  color: var(--text-main); /* Ensure light text on dark background */
  background-color: var(--background-color);
}

.page-about__dark-bg {
  color: var(--text-main); /* Deep green background, light text */
  background-color: var(--deep-green);
}

.page-about__card-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
  border: 1px solid var(--border);
}

/* Ensure all images maintain original color and no filter */
.page-about img {
  filter: none !important;
}