/* style/about.css */

/* Body background is dark (#08160F), so text should be light */
.page-about {
  color: #F2FFF6; /* Text Main */
  background-color: var(--background-color); /* From shared.css, should be #08160F */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding: 60px 0;
  padding-top: 10px; /* Small decorative top padding */
  background-color: #0A4B2C; /* Deep Green for hero background */
}

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

.page-about__hero-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
  margin-top: -80px; /* Pull content slightly over the image for visual flow, but not overlapping text on image */
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transform: translateY(-50px); /* Lift the content slightly */
}

.page-about__hero-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

/* General Section Styles */
.page-about__section {
  padding: 80px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-about__section:last-of-type {
  border-bottom: none;
}

.page-about__section-title {
  font-size: 2.2em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1.05em;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-about__text-block p {
  margin-bottom: 15px;
}

.page-about__text-block h3 {
  font-size: 1.6em;
  color: #22C768; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__text-block ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-about__text-block li {
  margin-bottom: 10px;
  color: #F2FFF6;
}

/* Image Content */
.page-about__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-about__button {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__button--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-about__button--secondary {
  background-color: transparent;
  color: #2AD16F; /* Button gradient start color */
  border: 2px solid #2AD16F;
}

.page-about__button--secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #57E38D; /* Glow */
  border-color: #57E38D;
}

.page-about__button--tertiary {
  background-color: transparent;
  color: #A7D9B8; /* Text Secondary */
  border: 1px solid #A7D9B8;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-about__button--tertiary:hover {
  background-color: rgba(167, 217, 184, 0.1);
  color: #F2FFF6;
  border-color: #F2FFF6;
}

.page-about__button--text-link {
  background: none;
  border: none;
  color: #57E38D; /* Glow */
  padding: 0;
  font-size: 1em;
  text-decoration: underline;
  font-weight: normal;
  margin-top: 15px;
  display: inline-block;
}

.page-about__button--text-link:hover {
  color: #F2C14E; /* Gold */
  text-decoration: none;
}

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

/* Content Grids */
.page-about__content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about__content-grid > .page-about__text-block,
.page-about__content-grid > .page-about__image-block {
  flex: 1;
  min-width: 300px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

/* Card Styles */
.page-about__card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 20px;
  display: block;
}

.page-about__card-image--round {
  border-radius: 50%;
  width: 150px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #22C768;
}

.page-about__card-title {
  font-size: 1.4em;
  color: #22C768; /* Auxiliary color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1; /* Allow text to grow */
}

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

.page-about__card--value,
.page-about__card--feature {
  padding: 25px;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for details in webkit browsers */
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #22C768;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-about__faq-answer a {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #F2C14E; /* Gold */
}

/* Contact Section */
.page-about__contact-info {
  text-align: center;
  font-size: 1.1em;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
}

.page-about__contact-info p {
  margin-bottom: 10px;
}

.page-about__contact-info strong {
  color: #22C768;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-content {
    padding: 30px 15px;
  }
  .page-about__section {
    padding: 60px 0;
  }
  .page-about__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-content {
    padding: 20px 10px;
    margin-top: -60px;
    transform: translateY(-30px);
  }
  .page-about__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
    margin: 0 auto;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__text-block {
    font-size: 0.95em;
  }
  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__content-grid--reverse {
    flex-direction: column;
  }
  .page-about__values-grid, .page-about__features-grid, .page-about__product-grid, .page-about__team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__card {
    padding: 20px;
  }
  .page-about__card-title {
    font-size: 1.2em;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile responsive for images, videos, buttons - IMPORTANT overrides */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__image-block,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container,
  .page-about__section,
  .page-about__card,
  .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-left: 0;
    padding-right: 0;
  }
  .page-about__hero-content {
    margin-left: 15px;
    margin-right: 15px;
    width: calc(100% - 30px);
  }
  .page-about__button {
    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__hero-cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-about__video-section {
    padding-top: 10px !important;
  }
  .page-about__faq-question {
    list-style: none;
  }
  .page-about__faq-question::-webkit-details-marker {
    display: none;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.6em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__button {
    font-size: 0.95em;
    padding: 12px 20px;
  }
  .page-about__hero-content {
    margin-top: -40px;
    transform: translateY(-20px);
  }
}