/* style/about.css */

/* Base styles for the About Us page, assuming a dark body background from shared.css */
.page-about {
  color: #ffffff; /* Light text for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Let body's background show */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0d0d0d; /* Slightly darker background for hero for depth */
  overflow: hidden; /* Ensure no overflow */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter is applied */
}

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1; /* Ensure content is above any background elements */
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__tagline {
  font-size: clamp(1em, 2vw, 1.2em);
  color: #f0f0f0;
  margin-bottom: 30px;
}

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 500px; /* Limit width for button group */
  margin: 0 auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  max-width: 100%; /* Ensure buttons don't overflow */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-about__btn-primary {
  background: #26A9E0; /* Main brand color */
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: #1e87b3;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b3;
  transform: translateY(-2px);
}

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

.page-about__section:nth-child(even) { /* Alternate background for better visual separation */
  background-color: rgba(255, 255, 255, 0.05); /* Light transparent white for dark theme */
}

.page-about__dark-section {
  background-color: #26A9E0; /* Main brand color for dark sections */
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  color: #ffffff; /* Default for dark background */
  margin-bottom: 30px;
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff;
}

.page-about p {
  font-size: 1.1em;
  color: #f0f0f0; /* Light grey for body text */
  margin-bottom: 20px;
  text-align: left;
}

.page-about__dark-section p {
  color: #f0f0f0;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 800px; /* Example max-width for content images */
  margin: 40px auto;
  border-radius: 8px;
  object-fit: cover;
  filter: none; /* Ensure no CSS filter is applied */
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
}

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

.page-about__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #26A9E0; /* Brand color for card titles */
  margin-bottom: 15px;
}

.page-about__feature-card p {
  font-size: 1em;
  color: #f0f0f0;
}

/* Product List */
.page-about__product-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-about__product-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-about__product-list li h3 {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-about__product-list li p {
  font-size: 1em;
  color: #f0f0f0;
}

/* Commitment List */
.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-about__commitment-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__commitment-list li h3 {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__commitment-list li p {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-about__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-qtext {
  color: #26A9E0; /* Brand color for FAQ questions */
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #ffffff;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: "−"; /* Change to minus when open (handled by JS for robustness) */
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #f0f0f0;
  text-align: left;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding: 40px 15px;
  }
  .page-about__section {
    padding: 60px 15px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-about__tagline {
    font-size: clamp(0.9em, 2.5vw, 1.1em);
  }
}

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

  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-about__tagline {
    font-size: clamp(0.9em, 3vw, 1em);
  }

  /* Images responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images/content */
  .page-about__section,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__features-grid,
  .page-about__product-list,
  .page-about__commitment-list,
  .page-about__faq-list,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Button responsiveness */
  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__feature-card,
  .page-about__product-list li,
  .page-about__commitment-list li,
  .page-about__faq-item {
    padding: 20px;
  }

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

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

/* Ensure no filter on images */
.page-about img {
  filter: none;
}