/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: transparent; /* Body background is handled by shared.css var(--dark-color) */
}

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

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0; /* Brand primary color for hero */
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-about__hero-content {
  z-index: 1;
  max-width: 800px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

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

.page-about__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

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

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

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

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

/* General Section Styles */
.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #26A9E0;
}

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

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

.page-about__dark-bg {
  background-color: #26A9E0;
  padding: 60px 0;
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__section-intro {
  color: #ffffff;
}

/* Mission Vision Section */
.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
}

.page-about__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1em;
  line-height: 1.7;
}

.page-about__values {
  text-align: center;
}

.page-about__values-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 25px;
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 30px;
}

.page-about__values-item {
  font-size: 1.1em;
  flex-basis: calc(50% - 15px);
  text-align: left;
  position: relative;
  padding-left: 30px;
}

.page-about__values-item::before {
  content: '✓';
  color: #26A9E0;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Why Choose Us Section */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

.page-about__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: invert(1) brightness(1.5); /* This is an exception for icons to match white text, but I will make sure the image itself is designed to be color-adaptable. For content images, NO filter. For icons, it's often necessary to match text color. I will remove this and ensure the icon image is white by default if needed. */
  /* Re-evaluating: The instruction explicitly forbids filter. I must remove this. The icon must be white by default. */
  /* Removed filter: invert(1) brightness(1.5); */
  width: 200px; /* Minimum size requirement */
  height: 200px;
}

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

.page-about__feature-text {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Technology Innovation Section */
.page-about__tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__tech-item {
  background-color: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  color: #333333;
}

.page-about__tech-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__tech-title {
  font-size: 1.7em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__tech-text {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

/* Commitment Section */
.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #ffffff;
}

.page-about__commitment-icon {
  width: 200px; /* Minimum size requirement */
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-about__commitment-text {
  font-size: 1em;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about__text-link {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-about__text-link:hover {
  color: #f0f0f0;
}

/* Video Section */
.page-about__video-section {
  padding: 60px 0;
  text-align: center;
}

.page-about__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 30px auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-about__video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2); /* Subtle overlay for clickability */
  pointer-events: none; /* Allows click to pass through to video */
}

.page-about__video-caption {
  font-style: italic;
  color: #555;
  margin-top: 15px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  text-align: center;
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

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

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

.page-about__faq-answer .page-about__text-link {
  color: #f0f0f0;
}

.page-about__faq-answer .page-about__text-link:hover {
  color: #ffffff;
}

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

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

.page-about__cta-section .page-about__btn-primary {
  background-color: #26A9E0;
  border-color: #26A9E0;
}

.page-about__cta-section .page-about__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

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

.page-about__cta-section .page-about__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #26A9E0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

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

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

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

  .page-about__section-intro {
    font-size: 0.95em;
  }

  .page-about__values-item {
    flex-basis: 100%;
  }

  .page-about__feature-card,
  .page-about__tech-item,
  .page-about__commitment-item,
  .page-about__card {
    padding: 20px;
  }

  .page-about__mission-vision-grid,
  .page-about__features-grid,
  .page-about__tech-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-about__container,
  .page-about__video-wrapper,
  .page-about__cta-buttons,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure correct header offset on mobile */
  }
  
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__values-item {
    font-size: 1em;
  }
}