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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative top padding */
  background-color: #FFFFFF;
  text-align: center;
}

.page-about__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

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

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

.page-about__section {
  padding: 80px 20px;
  text-align: center;
}

.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;
  box-sizing: border-box;
}

.page-about__section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-about__dark-bg .page-about__section-title {
  color: #FFFFFF;
}

.page-about__light-bg .page-about__section-title {
  color: #26A9E0;
}

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

.page-about__grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  text-align: left;
}

.page-about__card {
  background-color: #FFFFFF;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-about__text-content p {
  margin-bottom: 20px;
  color: inherit;
}

.page-about__sub-title {
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__light-bg .page-about__sub-title {
  color: #26A9E0;
}

.page-about__image-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__image--margin-top {
  margin-top: 30px;
}

.page-about__image--center {
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

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

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

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

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

.page-about__btn-dark-bg:hover {
  background-color: #e0e0e0;
  border-color: #e0e0e0;
}

.page-about__cta-section p {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  margin-top: 30px;
}

.page-about__faq-section {
  text-align: left;
}

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

.page-about__faq-item {
  background-color: #FFFFFF;
  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;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333333;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-about__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg);
  color: #26A9E0;
}

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #555555;
  line-height: 1.5;
}

.page-about__faq-item:not([open]) .page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.page-about__faq-item[open] .page-about__faq-answer {
  max-height: 1000px; /* Sufficiently large for expansion */
  transition: max-height 0.5s ease-out;
}

/* Ensure summary marker is hidden for details tag */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__grid-2-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-about__text-content {
    order: 2;
  }

  .page-about__image-column {
    order: 1;
  }

  .page-about__hero-section {
    padding: 40px 15px;
  }

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

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

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

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

  .page-about__hero-section,
  .page-about__section,
  .page-about__container,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

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

  .page-about__section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
  }

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

  .page-about__card-title {
    font-size: 1.3rem;
  }

  .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;
  }

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

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

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