.page-about {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body handles background, this is for main content area */
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #1a1a1a; /* A slightly lighter dark for hero section */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

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

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

.page-about__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  margin-bottom: 30px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  max-width: 1000px; /* Example max-width for content images */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Dark Section Styling */
.page-about__dark-section {
  background-color: #017439; /* Primary brand color as background */
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff; /* White title on dark background */
}

.page-about__dark-section .page-about__text-block {
  color: #f0f0f0;
}

/* Light Background Section Styling */
.page-about__light-bg {
  background-color: #f8f8f8; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
}

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

.page-about__light-bg .page-about__text-block {
  color: #555555;
}

/* Value Cards */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark section */
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

.page-about__value-card .page-about__card-title {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-card .page-about__card-text {
  color: #f0f0f0;
}

/* Service Cards */
.page-about__services-grid,
.page-about__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__service-card,
.page-about__promotion-card {
  background-color: #ffffff; /* White background for cards on light section */
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333; /* Dark text on white background */
}

.page-about__service-card:hover,
.page-about__promotion-card:hover {
  transform: translateY(-5px);
}

.page-about__service-card .page-about__card-image,
.page-about__promotion-card .page-about__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistent card images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__service-card .page-about__card-title,
.page-about__promotion-card .page-about__card-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__service-card .page-about__card-text,
.page-about__promotion-card .page-about__card-text {
  color: #555555;
  margin-bottom: 20px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  text-align: center;
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom color for register/login type buttons */
  color: #FFFF00; /* Custom font color for register/login type buttons */
  border: 2px solid transparent;
}

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

.page-about__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #017439;
}

/* Why Choose List */
.page-about__why-choose-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-about__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-about__list-item strong {
  color: #FFFF00; /* Highlight important text */
}

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

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  color: #FFFF00; /* Yellow for question text */
}

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

.page-about__faq-item summary::marker {
  display: none;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #FFFF00;
}

.page-about__faq-answer {
  padding: 0 20px 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-about__faq-link {
  color: #FFFF00; /* Link color within FAQ answer */
  text-decoration: underline;
}

.page-about__faq-link:hover {
  color: #e00b0b;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-about__section-title {
    font-size: 2em;
  }
}

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

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

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

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

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

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

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

  .page-about__text-block {
    font-size: 1em;
  }

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

  .page-about__hero-image-wrapper,
  .page-about__section,
  .page-about__container,
  .page-about__value-card,
  .page-about__service-card,
  .page-about__promotion-card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Buttons responsive */
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .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: 12px 20px;
    font-size: 1em;
  }

  .page-about__values-grid,
  .page-about__services-grid,
  .page-about__promotions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-about__value-card,
  .page-about__service-card,
  .page-about__promotion-card {
    padding: 20px;
  }

  .page-about__service-card .page-about__card-image,
  .page-about__promotion-card .page-about__card-image {
    height: 180px;
  }

  .page-about__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-about__faq-answer {
    padding: 0 15px 15px;
    font-size: 1em;
  }
}

/* Ensure no filter is used on images */
.page-about img {
  filter: none;
}