/* style/about.css */

/* Base styles for the about page */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #f8f8f8; /* Body background from shared.css, ensuring contrast */
}

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__dark-section {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Custom text color for dark background */
}

.page-about__dark-section .page-about__heading,
.page-about__dark-section .page-about__text-block,
.page-about__dark-section .page-about__feature-title,
.page-about__dark-section .page-about__feature-description,
.page-about__dark-section .page-about__product-title,
.page-about__dark-section .page-about__product-description,
.page-about__dark-section .page-about__security-title,
.page-about__dark-section .page-about__security-description,
.page-about__dark-section .page-about__faq-qtext,
.page-about__dark-section .page-about__faq-answer p {
  color: #F2FFF6; /* Ensure text is light on dark background */
}

.page-about__dark-section .page-about__faq-toggle {
  color: #A7D9B8;
}

.page-about__dark-section .page-about__product-title a {
  color: #F2FFF6;
}

.page-about__dark-section .page-about__product-title a:hover {
  color: #57E38D;
}

.page-about__heading {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #11A84E; /* Main brand color for headings on light background */
  font-weight: bold;
}

.page-about__dark-section .page-about__heading {
  color: #57E38D; /* Glow color for headings on dark background */
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-about__dark-section .page-about__text-block {
  color: #A7D9B8;
}

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding */
  background-color: #08160F; /* Dark background for hero */
  color: #F2FFF6;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

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

.page-about__hero-content {
  padding: 40px 20px 60px;
  max-width: 900px;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #57E38D; /* Glow color for main title */
}

.page-about__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color */
}

/* CTA Button */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-about__cta-button--centered {
  margin-top: 30px;
}

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

.page-about__feature-card,
.page-about__product-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid #2E7A4E; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover,
.page-about__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-about__feature-title,
.page-about__product-title,
.page-about__value-title,
.page-about__security-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
}

.page-about__product-title a {
  text-decoration: none;
  color: #F2FFF6;
  transition: color 0.3s ease;
}

.page-about__product-title a:hover {
  color: #57E38D; /* Glow color on hover */
}

.page-about__feature-description,
.page-about__product-description,
.page-about__value-description,
.page-about__security-description {
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
}

/* Values Section */
.page-about__value-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__value-item {
  background-color: #ffffff; /* White background for light section */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__value-item .page-about__value-title {
  color: #11A84E; /* Main color for titles on light background */
}

.page-about__value-item .page-about__value-description {
  color: #333333;
}

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

.page-about__security-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  border: 1px solid #e0e0e0;
}

.page-about__security-item .page-about__security-title {
  color: #11A84E;
}

.page-about__security-item .page-about__security-description {
  color: #333333;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  color: #F2FFF6; /* Text Main */
  background-color: #0A4B2C; /* Deep Green for question background */
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #1E3A2A; /* Divider color on hover */
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #A7D9B8; /* Text Secondary */
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #A7D9B8; /* Text Secondary */
  background-color: #11271B; /* Card BG */
}

.page-about__faq-answer p {
  margin: 0;
  color: #A7D9B8;
}

.page-about__faq-answer a {
  color: #57E38D;
  text-decoration: none;
}

.page-about__faq-answer a:hover {
  text-decoration: underline;
}

/* details tag specific styles */
.page-about__faq-item summary {
  list-style: none; /* Hide default marker */
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__heading {
    font-size: 2em;
  }

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

  .page-about__description {
    font-size: 1.1em;
  }
}

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

  .page-about__section {
    padding: 40px 0;
  }

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

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

  .page-about__description {
    font-size: 1em;
  }

  .page-about__heading {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

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

  .page-about__features-grid,
  .page-about__product-grid,
  .page-about__value-list,
  .page-about__security-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-about__feature-card,
  .page-about__product-card,
  .page-about__value-item,
  .page-about__security-item {
    padding: 20px;
  }

  .page-about__feature-title,
  .page-about__product-title,
  .page-about__value-title,
  .page-about__security-title {
    font-size: 1.3em;
  }

  .page-about__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__cta-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding: 0 15px;
  }

  .page-about__container {
    padding: 0 15px;
  }

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

  .page-about__hero-image-wrapper,
  .page-about__feature-card,
  .page-about__product-card,
  .page-about__value-item,
  .page-about__security-item,
  .page-about__faq-item,
  .page-about__section,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

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

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

/* Ensuring contrast for links in dark sections */
.page-about__dark-section a {
  color: #57E38D; /* Glow color for links on dark background */
}
.page-about__dark-section a:hover {
  color: #F2C14E; /* Gold color on hover */
}