.page-about {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333333; /* Default text color for light body background */
  line-height: 1.6;
  background-color: #FFFFFF; /* Explicitly set for clarity, though shared.css might handle body */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles --header-offset */
  background-color: #26A9E0; /* Brand primary color for hero background */
  color: #ffffff; /* White text for dark background */
  overflow: hidden; /* Ensure content doesn't spill */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px; /* Space between image and text */
}

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

.page-about__hero-content {
  position: relative; /* Ensure content is above any potential background layers */
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

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

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

.page-about__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand primary color for secondary action */
  border: 2px solid #26A9E0;
}

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

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  width: 100%; /* Ensure container responsiveness */
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-about__introduction,
.page-about__advantages,
.page-about__faq,
.page-about__contact {
  background-color: #ffffff; /* Light background for these sections */
  color: #333333;
}

.page-about__mission-values {
  background-color: #F8F8F8; /* Slightly off-white for visual separation */
  color: #333333;
}

.page-about__responsibility {
  background-color: #26A9E0; /* Brand primary color for responsibility section */
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  color: #26A9E0; /* Brand primary color for titles */
}
.page-about__responsibility .page-about__section-title {
  color: #ffffff; /* White title for dark background */
}

.page-about__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.page-about__responsibility .page-about__text-block {
  color: #f0f0f0;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum image size */
  min-height: 200px;
}

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

.page-about__card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

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

.page-about__card-text {
  font-size: 0.95rem;
  color: #555555;
}

.page-about__advantage-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-about__list-item {
  font-size: 1rem;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #333333;
}

.page-about__list-item::before {
  content: '✔️'; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: #26A9E0;
  font-weight: bold;
}

/* FAQ styles */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.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: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}
.page-about__faq-item[open] .page-about__faq-question {
    border-bottom: 1px solid #e0e0e0;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #555555;
}
.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}


.page-about__faq-answer {
  padding: 15px 25px;
  font-size: 1rem;
  color: #555555;
  background-color: #ffffff;
}
.page-about__faq-answer p {
  margin-bottom: 10px;
  line-height: 1.6;
}
.page-about__faq-answer p:last-child {
  margin-bottom: 0;
}
.page-about__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}
.page-about__faq-answer a:hover {
  color: #1e87b7;
}


/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-about__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-about__section {
    padding: 40px 15px;
  }
  .page-about__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important;
  }
  .page-about__hero-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-about__description {
    font-size: 1rem;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    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;
    margin-right: 0 !important; /* Remove margin for stacked buttons */
  }
  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__section {
    padding: 30px 0; /* Remove horizontal padding, let container handle it */
  }
  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about__image {
    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__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-about__faq-answer {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* Ensure no filter properties are used for images */
.page-about img {
  filter: none;
}