.page-about {
  color: #ffffff; /* Body background is dark (#000000), so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #ffffff;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #26A9E0;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
}

.page-about__text-block a {
  color: #26A9E0; /* Brand color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-about__text-block a:hover {
  text-decoration: underline;
}

/* Color Contrast Classes */
.page-about__dark-bg {
  background: #000000; /* Body background */
  color: #ffffff;
  padding: 60px 0;
}

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

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__sub-title {
  color: #000000;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  padding: 100px 0;
}

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

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

.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;
  color: #ffffff;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.5;
}

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.2em;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

/* Buttons */
.page-about__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: none;
}

.page-about__btn-primary:hover {
  background: #d46f06;
}

/* Grid Layouts */
.page-about__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__grid-layout--reverse {
  grid-template-areas: "image content";
}

.page-about__grid-layout--reverse .page-about__content-column {
  grid-area: content;
}

.page-about__grid-layout--reverse .page-about__image-column {
  grid-area: image;
}

.page-about__image-column {
  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);
}

.page-about__image--centered {
  display: block;
  margin: 40px auto;
}

/* Values Section */
.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: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

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

/* Why Choose Section */
.page-about__feature-list {
  list-style: none;
  padding: 0;
}

.page-about__feature-item {
  background: rgba(255, 255, 255, 0.1);
  border-left: 5px solid #26A9E0;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-about__feature-item .page-about__feature-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
}

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

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

.page-about__achievement-card {
  background: #f8f8f8;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

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

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background: #f8f8f8;
  color: #333333;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background: #ffffff;
  color: #000000;
  border-bottom: 1px solid #eee;
}

.page-about__faq-question:hover {
  background: #f0f0f0;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 25px;
  box-sizing: border-box;
  background: #f8f8f8;
  color: #333333;
}

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

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

/* CTA Section */
.page-about__cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(90deg, #26A9E0, #000000); /* Blend brand color with dark background */
}

.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 {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 8px;
  font-size: 1.3em;
  font-weight: bold;
  text-decoration: none;
  background: #EA7C07; /* Login color for strong CTA */
  color: #ffffff;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-about__cta-button:hover {
  background: #d46f06;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__grid-layout {
    grid-template-columns: 1fr;
  }
  .page-about__grid-layout--reverse {
    grid-template-areas: unset; /* Reset for single column */
  }
  .page-about__hero-section {
    min-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset applies */
  }
  .page-about__hero-section {
    padding: 80px 0;
    min-height: 400px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__text-block {
    font-size: 1em;
  }
  .page-about__hero-button,
  .page-about__cta-button,
  .page-about__btn-primary,
  .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 !important;
    padding-right: 15px !important;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }
  .page-about__cta-content {
    padding: 0 15px;
  }
  .page-about__values-grid,
  .page-about__achievements-grid {
    grid-template-columns: 1fr;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px 20px;
  }
  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__intro-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__why-choose-section,
  .page-about__team-section,
  .page-about__csr-section,
  .page-about__achievements-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .page-about__hero-section,
  .page-about__dark-bg,
  .page-about__light-bg {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-about__hero-content {
    padding: 0 15px;
  }
  .page-about__grid-layout .page-about__content-column,
  .page-about__grid-layout .page-about__image-column {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-about__feature-item {
    padding: 15px;
  }
  .page-about__feature-item .page-about__feature-title {
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-button,
  .page-about__cta-button {
    font-size: 1.1em;
    padding: 12px 20px;
  }
  .page-about__faq-question {
    font-size: 1em;
  }
}