/* style/about.css */

/* Base styles for the about page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Using Text Main: #F2FFF6 */
  background-color: var(--bg-color, #08160F); /* Using Background: #08160F */
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: var(--text-main); /* Using Text Main: #F2FFF6 */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-secondary); /* Using Text Secondary: #A7D9B8 */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  position: relative;
}

.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: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-about__description {
  font-size: clamp(1em, 2vw, 1.2em);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Color */
  color: #F2FFF6; /* Text Main for contrast */
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

.page-about__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Bright green for contrast */
  border: 2px solid #2AD16F; /* Border color from button gradient start */
}

.page-about__btn-secondary:hover {
  background: #2AD16F;
  color: #08160F; /* Dark background color for contrast */
  box-shadow: 0 0 15px rgba(42, 209, 111, 0.6);
}

.page-about__btn-link {
  background: transparent;
  color: #57E38D; /* Glow color for links */
  border: none;
  padding: 5px 10px;
  text-decoration: underline;
}

.page-about__btn-link:hover {
  color: #2AD16F;
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 60px 0;
  background-color: var(--bg-color, #08160F);
}

.page-about__feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-about__feature-item {
  background-color: var(--card-bg, #11271B); /* Using Card BG: #11271B */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #2E7A4E); /* Using Border: #2E7A4E */
}

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

.page-about__feature-title {
  font-size: 1.8em;
  color: var(--text-main); /* Using Text Main: #F2FFF6 */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-text {
  color: var(--text-secondary); /* Using Text Secondary: #A7D9B8 */
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  padding: 60px 0;
  background-color: var(--bg-color, #08160F);
}

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

.page-about__advantage-card {
  background-color: var(--card-bg, #11271B); /* Using Card BG: #11271B */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #2E7A4E); /* Using Border: #2E7A4E */
}

.page-about__advantage-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__card-title {
  font-size: 1.5em;
  color: var(--text-main); /* Using Text Main: #F2FFF6 */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__card-text {
  color: var(--text-secondary); /* Using Text Secondary: #A7D9B8 */
}

.page-about__cta-buttons--center {
  margin-top: 50px;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 60px 0;
  background-color: var(--deep-green, #0A4B2C); /* Using Deep Green: #0A4B2C */
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__text-block,
.page-about__dark-section .page-about__commitment-title,
.page-about__dark-section .page-about__commitment-text {
  color: #F2FFF6; /* Ensure light text on dark background */
}

.page-about__commitment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-about__commitment-item {
  background-color: var(--card-bg, #11271B); /* Using Card BG: #11271B */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #2E7A4E); /* Using Border: #2E7A4E */
}

.page-about__commitment-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__commitment-title {
  font-size: 1.8em;
  color: #F2FFF6; /* Text Main for contrast */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__commitment-text {
  color: #A7D9B8; /* Text Secondary for contrast */
}

/* Future Section */
.page-about__future-section {
  padding: 60px 0;
  background-color: var(--bg-color, #08160F);
}

.page-about__future-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-about__future-item {
  background-color: var(--card-bg, #11271B); /* Using Card BG: #11271B */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color, #2E7A4E); /* Using Border: #2E7A4E */
}

.page-about__future-title {
  font-size: 1.8em;
  color: var(--text-main); /* Using Text Main: #F2FFF6 */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__future-text {
  color: var(--text-secondary); /* Using Text Secondary: #A7D9B8 */
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: var(--bg-color, #08160F);
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: var(--card-bg, #11271B); /* Using Card BG: #11271B */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color, #2E7A4E); /* Using Border: #2E7A4E */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  color: var(--text-main); /* Using Text Main: #F2FFF6 */
  font-weight: bold;
  background-color: #1a362a; /* Slightly lighter than card bg for distinction */
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #2a4c3a;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--glow, #57E38D); /* Using Glow: #57E38D */
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--text-secondary); /* Using Text Secondary: #A7D9B8 */
  border-top: 1px solid var(--divider, #1E3A2A); /* Using Divider: #1E3A2A */
}

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

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

/* Final CTA Section */
.page-about__cta-final-section {
  padding: 80px 0;
  background-color: var(--deep-green, #0A4B2C); /* Using Deep Green: #0A4B2C */
  text-align: center;
}

.page-about__cta-final-section .page-about__section-title {
  color: #F2FFF6; /* Text Main for contrast */
}

.page-about__cta-final-section .page-about__description {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #A7D9B8; /* Text Secondary for contrast */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-about__feature-grid,
  .page-about__commitment-grid,
  .page-about__future-grid {
    grid-template-columns: 1fr;
  }

  .page-about__hero-content {
    max-width: 90%;
  }

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

  .page-about__description {
    font-size: clamp(0.9em, 2.5vw, 1.1em);
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px;
  }

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-about__text-block {
    font-size: 1em;
  }

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

  .page-about__hero-content {
    padding: 15px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__introduction-section,
  .page-about__why-choose-us,
  .page-about__commitment-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__cta-final-section {
    padding: 40px 0;
  }

  .page-about__feature-item,
  .page-about__advantage-card,
  .page-about__commitment-item,
  .page-about__future-item {
    padding: 20px;
  }

  .page-about__feature-title,
  .page-about__card-title,
  .page-about__commitment-title,
  .page-about__future-title {
    font-size: 1.4em;
  }

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

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

  /* Mobile image and video responsive styles */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__why-choose-us,
  .page-about__commitment-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-about__video-section {
    padding-top: 10px !important;
  }

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

  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }
}