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

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column; /* Ensure image is above content */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding for the first section */
  background-color: #f8f8f8; /* Light background */
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
}

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

.page-about__hero-content {
  max-width: 900px;
  padding: 40px 20px 60px;
  z-index: 1;
  position: relative;
  background-color: #ffffff; /* Explicit background for content block */
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-top: -80px; /* Overlap with the image slightly */
}

.page-about__main-title {
  font-size: clamp(28px, 4vw, 48px); /* Flexible font size for H1 */
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #555555;
}

/* Buttons */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
  background-color: #1a8cc7;
  border-color: #1a8cc7;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(38, 169, 224, 0.3);
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
}

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

.page-about__content-block {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
  text-align: justify;
}

.page-about__content-block--white {
  color: #ffffff;
}

.page-about__content-block p {
  margin-bottom: 1em;
}

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

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

/* Overview Section */
.page-about__overview-section {
  background-color: #ffffff;
  padding-bottom: 60px;
}

/* Mission & Values Section */
.page-about__mission-values-section {
  background-color: #26A9E0; /* Brand primary color */
  padding-bottom: 60px;
}

.page-about__grid-2-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-about__card--dark {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on brand color */
  color: #ffffff;
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent card */
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__values-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-about__values-list li strong {
  color: #ffffff; /* White text for strong in dark card */
}

.page-about__values-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FFFFFF; /* Checkmark color */
  font-weight: bold;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  background-color: #f8f8f8;
  padding-bottom: 60px;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

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

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

.page-about__feature-item p {
  font-size: 16px;
  color: #555555;
}

.page-about__cta-block {
  text-align: center;
  padding: 40px 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin-top: 40px;
}

.page-about__cta-block p {
  font-size: 20px;
  margin-bottom: 25px;
  color: #333333;
}

/* Commitment Section */
.page-about__commitment-section {
  background-color: #26A9E0; /* Brand primary color */
  padding-bottom: 60px;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #ffffff;
  padding-bottom: 60px;
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #333333; /* Ensure contrast for question text */
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f5f5f5;
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Explicit color for question text */
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555; /* Answer text color */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(26px, 5vw, 42px);
  }
  .page-about__description {
    font-size: 17px;
  }
  .page-about__section-title {
    font-size: 32px;
  }
  .page-about__grid-2-columns {
    grid-template-columns: 1fr;
  }
  .page-about__features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Top section padding */
  .page-about__hero-section {
    padding-top: 10px;
  }

  /* Images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Containers for images and content */
  .page-about__container,
  .page-about__hero-content,
  .page-about__cta-block,
  .page-about__card,
  .page-about__feature-item,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-content {
    margin-top: -60px; /* Adjust overlap for mobile */
    padding: 30px 15px 40px;
  }

  .page-about__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }

  .page-about__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-about__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Button containers */
  .page-about__cta-block .page-about__cta-button {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 auto;
    display: block;
  }

  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-top: 40px;
  }

  .page-about__content-block {
    font-size: 16px;
  }

  .page-about__grid-2-columns {
    grid-template-columns: 1fr; /* Single column for mission/values */
    gap: 20px;
  }

  .page-about__features-grid {
    grid-template-columns: 1fr; /* Single column for features */
    gap: 20px;
  }

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

  .page-about__card-title {
    font-size: 20px;
  }

  .page-about__feature-title {
    font-size: 18px;
  }

  .page-about__cta-block p {
    font-size: 18px;
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 15px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
}