.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  text-align: center;
  background-color: #f8f8f8;
  overflow: hidden; /* Ensure no overflow */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit height for hero image */
}

.page-about__hero-content-wrapper {
  max-width: 900px;
  margin: 20px auto 0 auto;
  padding: 0 20px;
  z-index: 1; /* Ensure content is above image if any overlap */
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0; /* Brand primary color for H1 */
  margin-bottom: 20px;
  /* clamp(min, preferred, max) for responsive font-size */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-about__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #333333;
}

.page-about__hero-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
}

.page-about__section {
  padding: 60px 0;
}

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

.page-about__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: inherit;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
}

.page-about__section-description {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: inherit;
}

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

.page-about__grid-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  color: #333333;
}

.page-about__dark-bg .page-about__grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__grid-item .page-about__item-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__dark-bg .page-about__grid-item .page-about__item-title {
  color: #ffffff;
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__feature-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  color: #333333;
}

.page-about__dark-bg .page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter for contrast */
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__feature-card .page-about__card-title {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-about__image-center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__content-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-about__flex-item {
  flex: 1 1 calc(50% - 15px);
  min-width: 300px;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-about__dark-bg .page-about__flex-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__flex-item .page-about__item-title {
  font-size: 1.5rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__dark-bg .page-about__flex-item .page-about__item-title {
  color: #ffffff;
}

.page-about__text-callout {
  background-color: #e0f2f7; /* Light blue background for callout */
  color: #26A9E0;
  padding: 20px;
  border-radius: 8px;
  margin-top: 40px;
  font-style: italic;
  text-align: center;
  font-size: 1.1rem;
  border-left: 5px solid #26A9E0;
}

.page-about__faq-section {
  padding: 60px 0;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  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.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

.page-about__faq-question::-webkit-details-marker, 
.page-about__faq-question::marker {
  display: none;
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #e0f2f7;
  border-bottom: none;
  color: #26A9E0;
}

.page-about__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent text from intercepting click for details tag */
}

.page-about__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
  pointer-events: none; /* Prevent toggle from intercepting click for details tag */
}

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

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #555555;
  background-color: #ffffff;
}

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

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

.page-about__cta-bottom {
  text-align: center;
  padding: 80px 0;
}

.page-about__cta-bottom .page-about__section-title {
  color: #ffffff;
}

.page-about__cta-bottom .page-about__section-description {
  color: #f0f0f0;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Base for responsive buttons */
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
  background-color: #e06a00;
  border-color: #e06a00;
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

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

/* --- Responsive Styles --- */
@media (max-width: 992px) {
  .page-about__hero-image {
    max-height: 400px;
  }

  .page-about__content-grid,
  .page-about__features-grid,
  .page-about__content-flex {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .page-about__flex-item {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .page-about__hero-description {
    font-size: 1rem;
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-about__section-description {
    font-size: 0.95rem;
  }

  .page-about__grid-item,
  .page-about__feature-card,
  .page-about__flex-item {
    padding: 20px;
  }

  .page-about__grid-item .page-about__item-title,
  .page-about__feature-card .page-about__card-title,
  .page-about__flex-item .page-about__item-title {
    font-size: 1.3rem;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-about__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }

  /* Mobile responsive for images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile responsive for all content containers */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__hero-content-wrapper,
  .page-about__content-grid,
  .page-about__features-grid,
  .page-about__content-flex,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Specific top padding for hero/video section */
  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Mobile responsive for buttons */
  .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;
    text-align: center;
  }

  .page-about__hero-cta-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }

  .page-about__section-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }

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