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

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

.page-about__hero-section {
  padding: 80px 20px 60px; /* Adjusted to fit header offset */
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-about__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

.page-about__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #FFFFFF;
}

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

.page-about__paragraph {
  margin-bottom: 20px;
  font-size: 1.1em;
}

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

.page-about__cta-buttons--centered {
  margin-top: 40px;
}

.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: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

.page-about__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a8cc4;
  border-color: #1a8cc4;
}

.page-about__mission-section,
.page-about__offerings-section,
.page-about__security-section,
.page-about__contact-section,
.page-about__faq-section {
  padding: 60px 0;
}

.page-about__mission-section {
  background-color: #FFFFFF;
  color: #333333;
}

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

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

.page-about__text-block {
  padding: 20px 0;
}

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

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

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

.page-about__values-section .page-about__section-title {
  color: #FFFFFF;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.page-about__value-card .page-about__card-text {
  color: #f0f0f0;
}

.page-about__offerings-section {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-about__offering-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-about__offering-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__offering-card .page-about__card-title {
  font-size: 1.3em;
  padding: 15px 20px 5px;
  color: #26A9E0;
}

.page-about__offering-card .page-about__card-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__offering-card .page-about__card-title a:hover {
  text-decoration: underline;
}

.page-about__offering-card .page-about__card-text {
  padding: 0 20px 20px;
  color: #555555;
}

.page-about__security-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-about__security-section .page-about__section-title {
  color: #FFFFFF;
}

.page-about__security-section .page-about__paragraph {
  color: #f0f0f0;
}

.page-about__faq-section {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-about__faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

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

.page-about__faq-question:hover {
  background-color: #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;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

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

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

.page-about__contact-section {
  background-color: #26A9E0;
  color: #FFFFFF;
  text-align: center;
}

.page-about__contact-section .page-about__section-title {
  color: #FFFFFF;
}

.page-about__contact-section .page-about__paragraph {
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-about__dark-section {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

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

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

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

  .page-about__content-grid--reverse .page-about__text-block {
    order: 2;
  }

  .page-about__content-grid--reverse .page-about__image-block {
    order: 1;
  }

  .page-about__values-grid,
  .page-about__offerings-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

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

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

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

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

  .page-about__paragraph {
    font-size: 0.95em;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__image,
  .page-about__offering-image {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    display: block !important;
  }

  .page-about__image-block,
  .page-about__offering-card,
  .page-about__value-card,
  .page-about__faq-item,
  .page-about__cta-buttons,
  .page-about__content-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-about__faq-question {
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 0 20px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px;
  }
}