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

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

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

.page-about__dark-section {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Main brand color gradient */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-about__hero-section {
  display: flex;
  flex-direction: column; /* Enforce image on top, content below */
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover; /* Cover for desktop to fill space */
  max-height: 600px;
}

.page-about__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

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

.page-about__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__btn-primary {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
  transform: translateY(-2px);
}

.page-about__section-title {
  font-size: 2.2em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #1F2D3D; /* Text Main */
}

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

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px auto;
  color: #1F2D3D; /* Text Main */
}

.page-about__dark-section .page-about__section-description {
  color: #f0f0f0;
}

.page-about__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  padding-right: 20px;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 300px;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-about__sub-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #2F6BFF; /* Main color */
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #1F2D3D; /* Text Main */
}

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

.page-about__card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #D6E2FF; /* Border color */
  color: #1F2D3D;
}

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

.page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2F6BFF; /* Main color */
}

.page-about__card p {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 20px;
}

.page-about__card-link {
  display: inline-block;
  color: #2F6BFF;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #2F6BFF;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about__card-link:hover {
  color: #4A8BFF;
  border-color: #4A8BFF;
}

.page-about__team-member {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  color: #1F2D3D;
  border: 1px solid #D6E2FF; /* Border color */
}

.page-about__team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 4px solid #A5C4FF; /* Glow color */
}

.page-about__member-name {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #2F6BFF;
}

.page-about__member-role {
  font-size: 0.95em;
  color: #1F2D3D;
}

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

.page-about__contact-item {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  border: 1px solid #D6E2FF; /* Border color */
  color: #1F2D3D;
}

.page-about__contact-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #2F6BFF;
}

.page-about__contact-item p {
  font-size: 1em;
  color: #1F2D3D;
  margin-bottom: 25px;
}

.page-about__btn-secondary {
  display: inline-block;
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-about__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #1F2D3D;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  cursor: pointer;
  background-color: #EBF2FF; /* Lighter background for question */
  color: #000000; /* Custom Color_1776249996415 */
  border-bottom: 1px solid #D6E2FF;
  list-style: none; /* Remove default marker for summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid #D6E2FF;
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF;
  transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg); /* Rotate to form an 'X' or similar for open state */
}

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

.page-about__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin */
}

.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

  .page-about__sub-title {
    font-size: 1.4em;
  }

  .page-about__content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-about__text-block {
    padding-right: 0;
  }

  .page-about__image-block {
    width: 100%;
  }

  .page-about__grid-3-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .page-about__card-image {
    height: 180px;
  }

  .page-about__team-photo {
    width: 120px;
    height: 120px;
  }

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

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

  .page-about__container {
    padding: 15px;
  }

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

  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-about__hero-image-wrapper {
    max-height: 400px;
  }

  .page-about__hero-image {
    object-fit: contain; /* Contain for mobile hero image */
    aspect-ratio: unset;
    max-height: none;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: 2em;
    max-width: 100%;
  }

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

  .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__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-about__content-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-about__sub-title {
    font-size: 1.2em;
  }

  .page-about__grid-3-cols {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card,
  .page-about__team-member,
  .page-about__contact-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__card-image {
    height: 150px;
  }

  .page-about__card-title {
    font-size: 1.2em;
  }

  .page-about__team-photo {
    width: 100px;
    height: 100px;
  }

  .page-about__member-name {
    font-size: 1.1em;
  }

  .page-about__contact-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  /* Ensure all images are responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__content-wrapper,
  .page-about__text-block,
  .page-about__image-block,
  .page-about__grid-3-cols,
  .page-about__contact-grid,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Multiple buttons in a row, allow wrapping */
  .page-about__contact-cta .page-about__contact-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
}