.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styling */
.page-about__section {
  padding: 80px 20px;
  position: relative;
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff; /* Default for dark sections */
  font-weight: bold;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0; /* Default for dark sections */
}

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

/* Introduction Section (Light background simulation for contrast) */
.page-about__introduction {
  background-color: #1a1a1a; /* Slightly lighter dark background for differentiation */
  color: #ffffff;
}

.page-about__introduction .page-about__section-title,
.page-about__introduction .page-about__sub-title,
.page-about__introduction .page-about__list li {
  color: #ffffff;
}

.page-about__introduction .page-about__list li strong {
  color: #26A9E0;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

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

.page-about__text-block {
  flex: 1;
}

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

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block; /* Ensure it behaves as a block element for max-width */
}

.page-about__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0; /* Brand color for sub-titles */
}

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

.page-about__list {
  list-style: disc;
  margin-left: 20px;
  padding-left: 0;
  color: #f0f0f0;
}

.page-about__list li {
  margin-bottom: 10px;
}

/* Products Section (Brand color background) */
.page-about__products {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
}

.page-about__products .page-about__section-title,
.page-about__products .page-about__section-description {
  color: #ffffff;
}

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white for cards on brand color background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #ffffff; /* White text for cards on dark/brand background */
}

.page-about__card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.25);
}

.page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__card-title a {
  color: #ffffff;
  text-decoration: none;
}

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

.page-about__card p {
  color: #f0f0f0;
}

/* Technology and Security Section (Dark background) */
.page-about__tech-security {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-about__tech-security .page-about__section-title,
.page-about__tech-security .page-about__sub-title {
  color: #ffffff;
}
.page-about__tech-security .page-about__sub-title {
  color: #26A9E0;
}
.page-about__tech-security p {
  color: #f0f0f0;
}

/* Social Responsibility Section (Brand color background) */
.page-about__social-responsibility {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__social-responsibility .page-about__section-title,
.page-about__social-responsibility .page-about__sub-title {
  color: #ffffff;
}
.page-about__social-responsibility p {
  color: #f0f0f0;
}

/* Team Section (Dark background) */
.page-about__team {
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-about__team .page-about__section-title,
.page-about__team .page-about__sub-title {
  color: #ffffff;
}
.page-about__team .page-about__sub-title {
  color: #26A9E0;
}
.page-about__team p {
  color: #f0f0f0;
}


/* FAQ Section (Brand color background) */
.page-about__faq {
  background-color: #26A9E0;
  color: #ffffff;
}

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

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-title {
  margin: 0;
  color: #ffffff;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px 25px 25px;
}

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

.page-about__faq-answer a {
  color: #ffffff;
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #f0f0f0;
}

/* CTA Section (Dark background) */
.page-about__cta {
  background-color: #1a1a1a;
  text-align: center;
  color: #ffffff;
}

.page-about__cta .page-about__section-title {
  color: #ffffff;
}
.page-about__cta .page-about__section-description {
  color: #f0f0f0;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
}

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

.page-about__btn-primary:hover {
  background-color: #1e87bb; /* Slightly darker shade on hover */
  border-color: #1e87bb;
}

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

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

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

/* Image specific styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
  filter: none !important; /* Ensure no image filters are used */
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }

  .page-about__hero-description {
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

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

  .page-about__content-grid {
    flex-direction: column;
  }

  .page-about__content-grid--reverse {
    flex-direction: column; /* Keep consistent column flow */
  }

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

@media (max-width: 768px) {
  .page-about__hero-section {
    height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-about__hero-title {
    font-size: 2em;
  }

  .page-about__hero-description {
    font-size: 0.95em;
  }

  .page-about__section {
    padding: 60px 15px;
  }

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

  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

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

  .page-about__faq-question {
    font-size: 1.1em;
    padding: 18px 20px;
  }

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

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    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__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

  .page-about__image,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__image-wrapper,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .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; /* Ensure no overflow */
  }

  .page-about__container {
    padding-left: 0;
    padding-right: 0;
  }
}