.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #F5F7FA; /* Background color from custom palette */
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  padding-bottom: 40px;
  background-color: #E53935; /* Main brand color for hero background */
  color: #ffffff; /* White text for dark background */
  position: relative;
  overflow: hidden;
}

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

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

.page-about__hero-content {
  padding: 20px 15px;
  max-width: 900px;
  margin-top: 20px;
  z-index: 1; /* Ensure content is above any potential background effects */
}

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

.page-about__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #E53935;
  padding: 12px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  display: inline-block;
  border: 2px solid #E53935;
  cursor: pointer;
}

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

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #E53935; /* Main brand color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #FF5A4F;
  margin: 15px auto 0;
  border-radius: 2px;
}

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

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

.page-about__card {
  background-color: #FFFFFF; /* Card BG from custom palette */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #E0E0E0; /* Border from custom palette */
  color: #333333;
}

.page-about__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-about__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

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

.page-about__card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
}

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

.page-about__values-list li {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #333333;
  position: relative;
  padding-left: 25px;
}

.page-about__values-list li::before {
  content: '✓';
  color: #E53935;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-about__content-area {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333333;
  text-align: justify;
}

.page-about__content-area p {
  margin-bottom: 20px;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  display: block;
}

.page-about__dark-section {
  background-color: #E53935;
  color: #ffffff;
  padding: 60px 0;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__content-area,
.page-about__dark-section p {
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title::after {
  background-color: #FF5A4F;
}

.page-about__light-bg {
  background-color: #F5F7FA; /* Background color from custom palette */
  color: #333333;
  padding: 60px 0;
}

.page-about__feature-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  border: 1px solid #E0E0E0;
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-about__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #E53935;
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333333;
}

.page-about__cta-bottom-container {
  text-align: center;
  margin-top: 50px;
}

.page-about__contact-section {
  text-align: center;
}

.page-about__contact-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-list {
  margin-top: 30px;
  max-width: 800px;
  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;
  color: #333333;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #E53935;
  cursor: pointer;
  background-color: #fcfcfc;
  border-bottom: 1px solid #E0E0E0;
  list-style: none; /* For details/summary */
}

.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-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FF5A4F;
}

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: #333333;
}

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

/* General image responsive styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All buttons responsive styles */
.page-about__cta-button,
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about a[class*="button"],
.page-about a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Button containers responsive styles */
.page-about__cta-bottom-container,
.page-about__cta-buttons,
.page-about__button-group,
.page-about__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding for mobile */
    padding-bottom: 30px;
  }

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

  .page-about__main-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .page-about__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-about__container {
    padding: 30px 15px;
  }

  .page-about__section-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .page-about__grid-3-col,
  .page-about__grid-2-col {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

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

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

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

  .page-about__content-area {
    font-size: 1rem;
    padding: 0 10px;
  }

  .page-about__content-image {
    margin: 20px 0;
  }

  .page-about__dark-section,
  .page-about__light-bg {
    padding: 40px 0;
  }

  .page-about__feature-image {
    max-width: 200px;
  }

  .page-about__feature-title {
    font-size: 1.2rem;
  }

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

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

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

  /* Mobile image specific override */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Mobile button specific override */
  .page-about__cta-button,
  .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 !important;
    padding-right: 15px !important;
  }

  /* Mobile button container specific override */
  .page-about__cta-bottom-container,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container,
  .page-about__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important; /* For multiple buttons */
    gap: 10px;
  }

  /* Ensure flex containers wrap/stack */
  .page-about__hero-content .page-about__cta-button {
    margin-top: 15px;
  }

  .page-about__cta-bottom-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
    align-items: center;
  }
}