.page-about {
  color: #ffffff;
  background-color: #121212; /* Inherited from body, explicit for context */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 600px; /* Adjust as needed */
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

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

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

.page-about__hero-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: #cc6a00;
  border-color: #cc6a00;
}

.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__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

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

.page-about__intro-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-about__content-column {
  flex: 1;
}

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

.page-about__subtitle {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-about__feature-icon {
  width: 200px; /* Min size 200px */
  height: 150px; /* Maintain aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

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

.page-about__cta-center {
  justify-content: center;
}

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

.page-about__team-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-about__team-member {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__team-photo {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 3px solid #26A9E0;
}

.page-about__member-name {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 5px;
}

.page-about__member-role {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 0.95em;
  color: #cccccc;
}

.page-about__values-section {
  padding: 80px 0;
  background-color: #121212;
  color: #ffffff;
}

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__value-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-about__faq-list {
  margin-top: 40px;
}

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

.page-about__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #26A9E0;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-about__faq-item summary:hover {
  background-color: #1e87b8;
}

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

.page-about__faq-qtext {
  flex-grow: 1;
  color: #ffffff;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #ffffff;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__cta-content {
  max-width: 800px;
}

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

.page-about__cta-section .page-about__text-block {
  color: #ffffff;
  font-size: 1.15em;
  margin-bottom: 30px;
}

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

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

  .page-about__grid {
    flex-direction: column;
  }

  .page-about__mission-vision-section .page-about__image-column {
    order: -1; /* Image above text on smaller screens */
  }

  .page-about__team-photo {
    width: 200px;
    height: 200px;
  }
}

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

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

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-large {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__container,
  .page-about__intro-section .page-about__container,
  .page-about__mission-vision-section .page-about__container,
  .page-about__why-choose-us-section .page-about__container,
  .page-about__team-section .page-about__container,
  .page-about__values-section .page-about__container,
  .page-about__faq-section .page-about__container,
  .page-about__cta-section .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-about__feature-icon {
    width: 100% !important;
    height: auto !important;
    max-width: 250px !important; /* Ensure min size is met but responsive */
    margin-left: auto;
    margin-right: auto;
  }

  .page-about__team-photo {
    width: 150px;
    height: 150px;
  }

  .page-about__feature-card,
  .page-about__team-member,
  .page-about__value-item {
    padding: 20px;
  }

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

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }

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

  .page-about__subtitle {
    font-size: 1.5em;
  }
}

/* Ensure content area images meet min-size requirement and are responsive */
.page-about__content-image {
  min-width: 200px;
  min-height: 200px;
}

.page-about__feature-icon {
  min-width: 200px;
  min-height: 200px;
}

.page-about__team-photo {
  min-width: 200px;
  min-height: 200px;
}

/* Color Contrast Fixes */
.page-about__dark-bg {
  background-color: #121212;
  color: #ffffff;
}

.page-about__hero-section {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff; /* White text for contrast */
}

.page-about__faq-item summary {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff; /* White text for contrast */
}

.page-about__cta-section {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff; /* White text for contrast */
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff; /* White text for contrast */
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #ffffff; /* White text on dark/transparent background */
  border-color: #ffffff;
}

.page-about__feature-title,
.page-about__member-name,
.page-about__value-title {
  color: #26A9E0; /* Brand color for headings */
}

.page-about__text-block,
.page-about__feature-description,
.page-about__member-role,
.page-about__member-bio,
.page-about__value-description,
.page-about__faq-answer p {
  color: #f0f0f0; /* Light grey for general text on dark backgrounds */
}