.page-about {
  color: #ffffff; /* Default text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__dark-section {
  background-color: #017439; /* Brand primary dark green */
  color: #ffffff;
  padding: 80px 0;
}

.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  text-align: center;
  padding-bottom: 80px;
}

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

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.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;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #C30808; /* Red for action buttons */
  color: #FFFF00; /* Yellow font for register/login */
  border: 2px solid #C30808;
}

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

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

.page-about__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

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

.page-about__intro-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #555;
}

.page-about__dark-section .page-about__intro-text {
  color: #f0f0f0;
}

.page-about__mission-section,
.page-about__values-section,
.page-about__future-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-about__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

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

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

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

.page-about__content-block .page-about__section-title {
  text-align: left;
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 2em;
}

.page-about__text-block {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #333333;
}

.page-about__dark-section .page-about__text-block {
  color: #f0f0f0;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  display: block;
  margin: 0 auto;
}

.page-about__image-wrapper--large .page-about__image {
  width: 100%;
}

.page-about__bullet-list {
  list-style: disc inside;
  margin-top: 20px;
  padding-left: 20px;
  color: #333333;
}

.page-about__dark-section .page-about__bullet-list {
  color: #f0f0f0;
}

.page-about__bullet-list li {
  margin-bottom: 10px;
  line-height: 1.7;
}

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

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

.page-about__dark-section .page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-about__dark-section .page-about__feature-card .page-about__card-title {
  color: #ffffff;
}

.page-about__dark-section .page-about__feature-card .page-about__card-text {
  color: #f0f0f0;
}

.page-about__value-card:hover,
.page-about__feature-card:hover,
.page-about__commitment-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-about__dark-section .page-about__card-title {
  color: #ffffff;
}

.page-about__card-text {
  font-size: 1em;
  color: #555555;
}

.page-about__dark-section .page-about__card-text {
  color: #f0f0f0;
}

.page-about__video-wrapper {
  margin: 50px auto;
  max-width: 900px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-about__video-link {
  display: block;
  line-height: 0;
}

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

.page-about__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

.page-about__commitment-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__commitment-item .page-about__item-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #017439;
}

.page-about__dark-section .page-about__commitment-item .page-about__item-title {
  color: #ffffff;
}

.page-about__commitment-item .page-about__item-text {
  color: #555555;
}

.page-about__dark-section .page-about__commitment-item .page-about__item-text {
  color: #f0f0f0;
}

.page-about__team-description {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-about__future-content {
  max-width: 900px;
  margin: 0 auto 40px auto;
  text-align: center;
}

.page-about__contact-info {
  text-align: center;
  margin-top: 40px;
}

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

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

  .page-about__grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-about__grid-layout--reverse {
    grid-template-areas: unset;
  }

  .page-about__content-block .page-about__section-title {
    text-align: center;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__mission-section,
  .page-about__history-section,
  .page-about__values-section,
  .page-about__why-choose-us-section,
  .page-about__commitment-section,
  .page-about__team-section,
  .page-about__future-section,
  .page-about__contact-section {
    padding: 40px 0 !important;
  }

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

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

  .page-about__intro-text,
  .page-about__hero-description {
    font-size: 1em !important;
    margin-bottom: 30px !important;
  }

  .page-about__text-block,
  .page-about__card-text,
  .page-about__bullet-list li {
    font-size: 0.95em !important;
  }

  .page-about__container {
    padding: 0 20px !important;
  }

  .page-about img {
    max-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__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .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__hero-buttons,
  .page-about__cta-bottom,
  .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;
    flex-direction: column;
  }

  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
  }

  .page-about__value-card,
  .page-about__feature-card,
  .page-about__commitment-item {
    padding: 25px;
  }
}