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

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

.page-about__hero-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  background-color: #26A9E0; /* Primary brand color for hero */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

.page-about__intro-text {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  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;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  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: #d16e06;
  border-color: #d16e06;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
  margin-left: 20px;
}

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

.page-about__btn-link {
  background-color: transparent;
  color: #26A9E0;
  border: 1px solid #26A9E0;
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: 15px;
}

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

.page-about__content-section {
  padding: 60px 0;
  background-color: #111; /* Dark background */
  color: #ffffff;
}

.page-about__vision-mission {
  background-color: #0d0d0d; /* Slightly lighter dark background */
}

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

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

.page-about__grid--reverse {
  flex-direction: row-reverse;
}

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

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

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block; /* Ensures max-width works as expected */
  margin: 0 auto; /* Center image if flex item */
}

.page-about__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__core-values {
  background-color: #26A9E0; /* Primary brand color for values section */
  color: #ffffff;
}

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

.page-about__value-card {
  background-color: rgba(0, 0, 0, 0.2); /* Dark transparent background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__video-section {
  background-color: #0d0d0d;
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
}

.page-about__video-wrapper {
  max-width: 900px;
  margin: 40px auto;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.page-about__video-description {
  font-size: 1.1em;
  max-width: 700px;
  margin: 20px auto 30px;
}

.page-about__btn-video-cta {
  margin-top: 20px;
  margin-left: 0;
}

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

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

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

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  list-style: none; /* Remove default marker */
  color: #26A9E0;
  background-color: #1a1a1a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

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

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

.page-about__faq-item[open] .page-about__faq-toggle {
  color: #26A9E0;
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: #0d0d0d;
}

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

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

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

.page-about__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 20px auto 40px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

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

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

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

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding: 80px 20px;
  }

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

  .page-about__intro-text {
    font-size: 1em;
  }

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    padding: 12px 25px;
    font-size: 0.9em;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 15px; /* Add space between stacked buttons */
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__content-section,
  .page-about__video-section,
  .page-about__cta-section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Image responsive rules */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video responsive rules */
  .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;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; 
  }
}