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

.page-about {
  background-color: var(--page-about-bg); /* Body background is from shared.css, this is for page-specific elements */
  color: var(--page-about-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  text-align: center;
  background: var(--page-about-bg);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  padding: 0 15px;
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  color: var(--page-about-gold);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 1.1em;
  color: var(--page-about-text-main);
  margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: var(--page-about-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: var(--page-about-card-bg);
  color: var(--page-about-text-main);
  border: 2px solid var(--page-about-border);
}

.page-about__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--page-about-deep-green);
  color: var(--page-about-gold);
}

/* General Section Styles */
.page-about__section {
  padding: 60px 20px;
  text-align: center;
}

.page-about__dark-bg {
  background-color: var(--page-about-bg);
  color: var(--page-about-text-main);
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--page-about-gold);
}

.page-about__light-bg .page-about__section-title {
  color: var(--page-about-deep-green);
}

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

.page-about__text-block {
  font-size: 1.05em;
  margin-bottom: 25px;
  line-height: 1.7;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__image-block {
  margin: 40px auto;
  max-width: 900px;
  overflow: hidden;
  border-radius: 10px;
}

.page-about__image-block--center {
  text-align: center;
}

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

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

.page-about__card {
  background-color: var(--page-about-card-bg);
  border: 1px solid var(--page-about-border);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-about-text-main);
}

.page-about__light-bg .page-about__card {
  background-color: #f8f8f8;
  color: #333333;
  border-color: #e0e0e0;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__card-title {
  font-size: 1.5em;
  font-weight: bold;
  color: var(--page-about-gold);
  margin-bottom: 15px;
}

.page-about__light-bg .page-about__card-title {
  color: var(--page-about-deep-green);
}

.page-about__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: var(--page-about-text-secondary);
}

.page-about__light-bg .page-about__card-text {
  color: #555555;
}

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

.page-about__feature-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.page-about__feature-icon {
  width: 100%; /* Ensure icon fills card width */
  max-width: 150px; /* But not too large */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--page-about-deep-green);
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 0.95em;
  color: #555555;
}

/* Commitment Section */
.page-about__cta-buttons--center {
  margin-top: 40px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: var(--page-about-deep-green);
  font-size: 1.1em;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #f0f0f0;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 15px 25px;
  color: #555555;
  font-size: 1em;
  line-height: 1.6;
}

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

.page-about__btn-text-link {
  color: var(--page-about-deep-green);
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__btn-text-link:hover {
  color: var(--page-about-gold);
}

/* Final CTA Section */
.page-about__cta-final {
  padding: 40px 15px;
}

.page-about__cta-final .page-about__section-title {
  color: var(--page-about-gold);
}

.page-about__cta-final .page-about__text-block {
  color: var(--page-about-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding: 40px 15px;
  }
  .page-about__section {
    padding: 40px 15px;
  }
  .page-about__hero-image {
    margin-bottom: 20px;
  }
  .page-about__main-title {
    margin-bottom: 15px;
  }
  .page-about__intro-text {
    margin-bottom: 25px;
  }
  .page-about__values-grid,
  .page-about__features-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__section {
    padding: 30px 15px;
  }

  .page-about__hero-image {
    width: 100% !important;
    height: auto !important;
  }

  .page-about__hero-content,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

  .page-about__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-about__intro-text,
  .page-about__text-block,
  .page-about__card-text,
  .page-about__feature-description,
  .page-about__faq-answer p {
    font-size: 1em;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    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__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__image-block,
  .page-about__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__feature-icon {
    max-width: 100px !important;
    margin-left: auto;
    margin-right: auto;
  }

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

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

  /* Ensure no text overlay on hero image */
  .page-about__hero-section {
    flex-direction: column;
  }
}