.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  line-height: 1.6;
}

.page-about__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

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

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

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

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

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

.page-about__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section background */
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__mission-vision-grid .page-about__text-block {
  text-align: left;
}

.page-about__mission-vision-grid .page-about__image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__image-wrapper {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__why-choose-us {
  padding: 60px 0;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  box-sizing: border-box;
}

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

.page-about__feature-card .page-about__card-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__feature-card p {
  color: #f0f0f0;
}

.page-about__products-services {
  padding: 60px 0;
}

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

.page-about__product-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

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

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

.page-about__product-card .page-about__card-title {
  font-size: 1.3em;
  font-weight: 600;
  margin: 20px 15px 10px 15px;
  color: #26A9E0;
}

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

.page-about__btn-text {
  display: inline-block;
  margin-top: auto; /* Push to bottom */
  padding: 10px 15px;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  margin-bottom: 15px;
}

.page-about__btn-text:hover {
  color: #1a7bb7;
}

.page-about__commitment {
  padding: 60px 0;
}

.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  box-sizing: border-box;
}

.page-about__commitment-item .page-about__list-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__commitment-item p {
  color: #f0f0f0;
}

.page-about__team {
  padding: 60px 0;
}

.page-about__team-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__team-image {
  width: 50%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__team-text {
  width: 50%;
  text-align: left;
}

.page-about__team-text p {
  margin-bottom: 15px;
  color: #555555;
}

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

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  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: 600;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.1);
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

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

.page-about__faq-question::marker {
  display: none;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

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

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

.page-about__faq-answer a {
  color: #EA7C07; /* Use Login color for links in dark section */
  text-decoration: underline;
}

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

.page-about__cta-button-container {
  margin-top: 40px;
  text-align: center;
}

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

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

.page-about__btn-primary:hover {
  background-color: #1a7bb7;
  border-color: #1a7bb7;
}

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7bb7;
  border-color: #1a7bb7;
}

.page-about__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .page-about__team-content {
    flex-direction: column;
  }

  .page-about__team-image,
  .page-about__team-text {
    width: 100%;
  }
}

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

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

  .page-about__intro-text {
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }

  .page-about__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-about__mission-vision,
  .page-about__why-choose-us,
  .page-about__products-services,
  .page-about__commitment,
  .page-about__team,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 40px 0;
  }

  .page-about__hero-image-wrapper {
    max-height: 400px;
  }

  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__image,
  .page-about__product-image,
  .page-about__team-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__container,
  .page-about__hero-content,
  .page-about__text-block,
  .page-about__feature-card,
  .page-about__product-card,
  .page-about__commitment-item,
  .page-about__team-content,
  .page-about__faq-item,
  .page-about__cta-button-container,
  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    display: block;
    margin: 10px auto !important;
  }

  .page-about__cta-section .page-about__btn-primary,
  .page-about__cta-section .page-about__btn-secondary {
    width: calc(100% - 30px) !important; /* Account for 15px padding on container */
  }

  .page-about__hero-section {
    padding-top: 10px !important;
  }

  .page-about__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

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

  .page-about__team-content {
    gap: 20px;
  }

  /* Ensure content area images are not smaller than 200px */
  .page-about img:not(.shared-logo, .shared-icon) {
    min-width: 200px;
    min-height: 200px;
  }
}

/* Ensure all content images in .page-about respect minimum size */
.page-about img:not(.shared-logo, .shared-icon) {
  min-width: 200px;
  min-height: 200px;
}

/* Default styles for details summary toggle */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Image color filter restriction check */
.page-about img {
  filter: none; /* Enforce no filter on images */
}

.page-about__hero-image-wrapper,
.page-about__mission-vision-grid .page-about__image-wrapper,
.page-about__why-choose-us .page-about__image-wrapper,
.page-about__product-card,
.page-about__team-image {
  overflow: hidden;
}