.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--deep-navy);
}

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

.page-about__dark-section {
  background-color: var(--deep-navy);
  color: var(--text-main);
  padding: 60px 0;
}

.page-about__light-bg {
  background-color: #f8f9fa;
  color: #333333;
  padding: 60px 0;
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Adjust height as needed */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Desktop: cover to fill space */
  display: block;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content slightly over the image for visual flow */
  background: var(--card-bg); /* Dark background for content */
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #333333; /* Default for light background */
}

.page-about__section-title--light {
  color: var(--text-main); /* For dark background sections */
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px auto;
  color: var(--text-secondary);
}

.page-about__light-bg .page-about__section-description {
  color: #555555;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-about__light-bg .page-about__sub-title {
  color: #333333;
}

.page-about__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.page-about__light-bg .page-about__text-block p {
  color: #555555;
}

.page-about__image-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__value-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__value-card .page-about__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-main);
}

.page-about__value-card p {
  font-size: 1em;
  color: var(--text-secondary);
}

.page-about__products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
  gap: 30px;
  margin-top: 40px;
}

.page-about__product-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-about__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  display: block;
}

.page-about__product-card .page-about__product-title {
  font-size: 1.3em;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: #113B7A;
}

.page-about__product-card .page-about__product-title a {
  color: #113B7A;
  text-decoration: none;
}

.page-about__product-card .page-about__product-title a:hover {
  text-decoration: underline;
}

.page-about__product-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px;
  flex-grow: 1;
}

.page-about__btn-link {
  display: inline-block;
  margin: 20px;
  padding: 10px 20px;
  background: var(--button-gradient);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-about__btn-link:hover {
  opacity: 0.9;
}

.page-about__image-block--inline {
  margin-top: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__support-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__support-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: var(--text-secondary);
}

.page-about__support-list .page-about__list-strong {
  color: var(--text-main);
}

.page-about__btn-contact {
  margin-top: 30px;
  display: inline-block;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

/* CTA Section */
.page-about__cta-section {
  text-align: center;
  padding: 80px 0;
}

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

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

.page-about__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-about__btn-secondary {
  background: #ffffff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-about__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-image-wrapper {
    height: 500px;
  }
  .page-about__hero-content {
    margin-top: -100px;
    padding: 30px 20px;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 4.5vw, 2.5em);
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-about__grid-two-cols {
    grid-template-columns: 1fr;
  }
  .page-about__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }

  .page-about__hero-image-wrapper {
    height: auto; /* Allow image height to be auto */
    aspect-ratio: 16/9; /* Maintain aspect ratio */
    overflow: hidden;
  }

  .page-about__hero-image {
    object-fit: contain !important; /* Ensure image is fully visible, no cropping */
    height: auto !important;
    width: 100% !important;
  }

  .page-about__hero-content {
    margin-top: 0; /* Remove negative margin on mobile */
    padding: 25px 15px;
    border-radius: 0;
    box-shadow: none;
    background: var(--deep-navy); /* Match section background */
  }

  .page-about__main-title {
    font-size: clamp(1.5em, 6vw, 2em); /* Smaller font size for mobile */
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

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

  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-about__sub-title {
    font-size: 1.5em;
  }

  .page-about__grid-two-cols {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__image-block {
    order: -1; /* Image appears above text */
    margin: 0 auto;
  }

  .page-about__image-responsive {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-about__values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__products-grid {
    grid-template-columns: 1fr; /* Single column for products on mobile */
    gap: 20px;
    overflow-x: hidden; /* Prevent horizontal scroll */
  }

  .page-about__product-card {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .page-about__product-image {
    height: 180px; /* Slightly smaller fixed height for mobile product images */
  }

  .page-about__product-card .page-about__product-title {
    font-size: 1.2em;
    margin: 15px 15px 8px;
  }

  .page-about__product-description {
    font-size: 0.9em;
    padding: 0 15px;
  }

  .page-about__btn-link {
    margin: 15px;
    padding: 8px 15px;
    font-size: 0.9em;
  }

  .page-about__faq-section {
    padding: 40px 0;
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }

  .page-about__faq-qtext {
    font-size: 15px;
  }

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

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically on mobile */
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about__dark-section, .page-about__light-bg {
    padding: 40px 0;
  }

  /* General image and container responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__section, .page-about__card, .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}