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

.page-about {
  background-color: var(--site-bg-dark); /* Body background from shared.css, but this ensures content has a base */
  color: var(--text-main);
  font-family: 'Arial', sans-serif;
  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, 4vw, 42px);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 18px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px; /* Space between image and content */
}

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-about__hero-title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-about__hero-description {
  font-size: 20px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__btn {
  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: var(--text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-about__mission-vision-section,
.page-about__why-choose-us-section,
.page-about__values-section,
.page-about__team-section,
.page-about__faq-section,
.page-about__cta-section {
  padding: 80px 0;
  position: relative;
}

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

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-about__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.page-about__card-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex-grow: 1;
}

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

.page-about__feature-item {
  background-color: var(--site-bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

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

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

.page-about__value-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

.page-about__team-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin: 40px auto;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

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

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

.page-about__faq-item summary {
  display: block;
  padding: 20px 25px;
  cursor: pointer;
  outline: none;
  list-style: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider-color);
  transition: background-color 0.3s ease;
}

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

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

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

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

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

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

.page-about__faq-answer p {
  margin: 0;
  padding: 0;
}

.page-about__cta-section {
  text-align: center;
  padding: 100px 0;
}

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

.page-about__cta-section .page-about__section-description {
  color: var(--text-secondary);
  margin-bottom: 50px;
}

/* --- Responsive Styles --- */

/* All images base responsive styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-about__section-title {
    font-size: 30px;
  }

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

  .page-about__hero-title {
    font-size: 36px;
  }

  .page-about__hero-description {
    font-size: 18px;
  }

  .page-about__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    margin-top: 15px;
  }

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

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

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

  /* Mobile image and container adaptation */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__feature-item,
  .page-about__team-section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-section,
  .page-about__faq-section,
  .page-about__mission-vision-section,
  .page-about__why-choose-us-section,
  .page-about__values-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }

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

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

  .page-about__faq-toggle {
    font-size: 20px;
  }
}