.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text on light body background */
  background-color: var(--background-color, #FFFFFF);
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  text-align: center;
  background: linear-gradient(135deg, #26A9E0, #1a7bb5);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  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__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Custom login color */
  color: #FFFFFF;
  border-color: #EA7C07;
}

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

.page-about__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border-color: #26A9E0;
  margin-left: 15px;
}

.page-about__btn-secondary:hover {
  background-color: #e0f4ff;
  color: #1a7bb5;
  border-color: #1a7bb5;
}

.page-about__mission-vision,
.page-about__why-choose-us,
.page-about__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-about__heading {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from section */
  font-weight: bold;
}

.page-about__text {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
  color: inherit; /* Inherit color from section */
}

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

.page-about__grid-layout--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-about__content-block {
  padding: 20px;
}

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

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

.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-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white on blue */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #FFFFFF;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.page-about__value-icon {
  width: 100%; /* Max-width 100% is handled in media query */
  height: auto;
  max-width: 150px; /* Adjust size for icons within card */
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
}

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

.page-about__value-description {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__feature-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #333333;
}

.page-about__feature-item::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  top: 0;
}

.page-about__video-section {
  text-align: center;
  padding: 60px 0;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-about__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  margin: 40px auto 0;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  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 */
  border-radius: 12px;
  pointer-events: none; /* Allow click to pass through to video */
}

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

.page-about__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #FFFFFF;
  color: #333333;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-title {
  margin: 0;
  color: #333333;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-question {
  background-color: #e0f4ff;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #f9f9f9;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 15px 20px 20px;
}

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

.page-about__cta-section {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(135deg, #1a7bb5, #26A9E0);
  color: #FFFFFF;
}

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

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

  .page-about__heading {
    font-size: 2em;
  }

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

  .page-about__grid-layout--reverse .page-about__content-block {
    order: 2;
  }

  .page-about__grid-layout--reverse .page-about__image-wrapper {
    order: 1;
  }

  .page-about__value-card {
    padding: 25px;
  }

  .page-about__value-title {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    min-height: 350px;
  }

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

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

  .page-about__heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__text {
    font-size: 1em;
  }

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

  /* Images responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Video responsiveness */
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .page-about__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section respects header on mobile */
  }

  /* Button responsiveness */
  .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;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

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

  .page-about__cta-buttons .page-about__btn-secondary {
    margin-bottom: 0; /* No margin-bottom for the last button */
  }

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

  .page-about__value-card {
    padding: 20px;
  }

  .page-about__feature-item {
    padding-left: 25px;
  }

  .page-about__feature-item::before {
    font-size: 1.1em;
  }
}

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}