/* style/about.css */

/* BEM Naming Convention: .page-about__element-name */

/* Base Styles for page-about */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Assuming dark background from shared.css */
  background-color: var(--bg-color);
}

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

.page-about__section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-about__title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

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

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

.page-about__image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for aesthetic */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.page-about__hero-title {
  font-size: clamp(2.5em, 5vw, 3.8em);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-about__hero-description {
  font-size: clamp(1.1em, 2vw, 1.4em);
  color: var(--text-main);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: var(--glow);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid var(--glow);
  cursor: pointer;
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background: var(--glow);
  color: var(--deep-green);
}

/* Video Section */
.page-about__video-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--card-b-g);
}

.page-about__video-link {
  display: block;
  text-decoration: none;
  position: relative;
}

.page-about__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 10px;
  margin-top: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-about__video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block; /* Ensure it respects max-width */
}

/* Mission Section */
.page-about__mission-section {
  background-color: var(--bg-color);
}

.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__content-text {
  flex: 1;
  text-align: left;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__content-grid .page-about__text {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 15px;
}

/* Values Section */
.page-about__values-section {
  background-color: var(--card-b-g);
}

.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(--deep-green);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  background-color: var(--bg-color);
}

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

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

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

.page-about__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

/* Call to Action Section */
.page-about__cta-section {
  background-color: var(--deep-green);
  text-align: center;
  padding: 60px 0;
}

.page-about__cta-section .page-about__title {
  color: var(--gold);
}

.page-about__cta-section .page-about__text {
  color: var(--text-main);
  margin-bottom: 30px;
}

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

/* FAQ Section */
.page-about__faq-section {
  background-color: var(--bg-color);
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-question:hover {
  background-color: rgba(34, 199, 104, 0.1);
}

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

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

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

.page-about__faq-answer p {
  margin-bottom: 0;
  text-align: left;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__title {
    font-size: 2.2em;
  }
  .page-about__hero-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-about__hero-description {
    font-size: clamp(1em, 1.8vw, 1.2em);
  }
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__content-text, .page-about__image-wrapper {
    width: 100%;
  }
  .page-about__feature-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }
  .page-about__text {
    font-size: 1em;
  }
  .page-about__hero-section {
    padding: 30px 0;
  }
  .page-about__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-about__hero-description {
    font-size: clamp(0.9em, 2.5vw, 1.1em);
  }
  .page-about__hero-button, .page-about__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
    margin-left: 0;
  }
  .page-about__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-secondary {
    margin-left: 0;
  }

  /* Force responsive images, videos, buttons */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about video,
  .page-about__video-player {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"],
  .page-about__button-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-about__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__button-group {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px !important;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-about__faq-answer {
    padding: 0 15px 15px 15px;
  }
}

@media (max-width: 480px) {
  .page-about__title {
    font-size: 1.5em;
  }
  .page-about__hero-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__btn-primary, .page-about__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-about__faq-question {
    font-size: 1em;
  }
}

/* Color Contrast Adjustments (using custom colors) */
.page-about {
  color: var(--text-main); /* #F2FFF6 */
  background-color: var(--bg-color); /* #08160F (dark) */
}

.page-about__card {
  background-color: var(--deep-green); /* #0A4B2C (darker green) */
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__card-title {
  color: var(--gold); /* #F2C14E */
}

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

.page-about__feature-item {
  background-color: var(--card-b-g); /* #11271B (dark) */
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__feature-title {
  color: var(--text-main); /* #F2FFF6 */
}

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

.page-about__cta-section {
  background-color: var(--deep-green); /* #0A4B2C */
}

.page-about__cta-section .page-about__title {
  color: var(--gold); /* #F2C14E */
}

.page-about__cta-section .page-about__text {
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__faq-item {
  background-color: var(--card-b-g); /* #11271B */
}

.page-about__faq-question {
  color: var(--text-main); /* #F2FFF6 */
}

.page-about__faq-toggle {
  color: var(--glow); /* #57E38D */
}

.page-about__faq-answer {
  color: var(--text-secondary); /* #A7D9B8 */
}