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

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

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

.page-about__section-title {
  font-size: 36px;
  color: #017439;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-about__text-block {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  text-align: center;
  background-color: #f8f8f8; /* Light background for hero */
}

.page-about__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

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

.page-about__hero-title {
  font-size: 50px;
  line-height: 1.2;
  color: #017439;
  margin-bottom: 20px;
  font-weight: 800;
}

.page-about__hero-description {
  font-size: 20px;
  color: #555555;
  margin-bottom: 30px;
}

.page-about__hero-cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__hero-image {
  width: 100%;
  max-width: 900px;
  margin-top: 40px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.page-about__btn-register {
  display: inline-block;
  padding: 15px 35px;
  background-color: #C30808; /* Register button color */
  color: #FFFF00; /* Register button font color */
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #C30808;
}

.page-about__btn-register:hover {
  background-color: #e02020;
  border-color: #e02020;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary {
  display: inline-block;
  padding: 15px 35px;
  background-color: #017439;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #017439;
}

.page-about__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  background-color: #FFFFFF;
  color: #017439;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  border: 2px solid #017439;
}

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  border-color: #005f2e;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-about__btn-link {
  display: inline-block;
  color: #017439;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  position: relative;
  padding-bottom: 5px;
}

.page-about__btn-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #017439;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.page-about__btn-link:hover::after {
  transform: scaleX(1);
}

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

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

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

/* Cards */
.page-about__card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
}

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

.page-about__card img {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

.page-about__card-title {
  font-size: 22px;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card p {
  font-size: 16px;
  color: #555555;
  flex-grow: 1; /* Make paragraph take available space */
}

/* Dark Background Sections */
.page-about__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__text-block,
.page-about__dark-bg h3 {
  color: #ffffff; /* Ensure white text on dark background */
}

/* Partners Section */
.page-about__partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-about__partner-logos img {
  max-width: 200px;
  height: auto;
  filter: grayscale(80%);
  transition: filter 0.3s ease;
  min-width: 200px; /* Ensure min image size */
  min- /* Ensure min image size */
}

.page-about__partner-logos img:hover {
  filter: grayscale(0%);
}

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: #FFFFFF;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #f5f5f5;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #017439;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #017439;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 20px;
  opacity: 0;
  background-color: #f9f9f9;
}

.page-about__faq-answer p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 15px;
}

.page-about__faq-answer .page-about__btn-primary,
.page-about__faq-answer .page-about__btn-secondary {
  margin-top: 10px;
  margin-bottom: 15px;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important; /* Sufficiently large value */
  padding: 20px !important;
  opacity: 1;
  border-top: 1px solid #e0e0e0;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
  color: #C30808; /* Change color when active */
}

/* CTA Bottom Section */
.page-about__cta-bottom {
  padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 42px;
  }
  .page-about__hero-description {
    font-size: 18px;
  }
  .page-about__section-title {
    font-size: 30px;
  }
  .page-about__text-block {
    font-size: 16px;
  }
  .page-about__card img {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }
  .page-about__hero-container {
    flex-direction: column;
    gap: 20px;
  }
  .page-about__hero-title {
    font-size: 32px;
  }
  .page-about__hero-description {
    font-size: 16px;
  }
  .page-about__hero-cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-register, .page-about__btn-primary, .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 26px;
  }
  .page-about__text-block {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-about__card {
    padding: 20px;
  }
  .page-about__card img {
    
  }
  .page-about__card-title {
    font-size: 18px;
  }
  .page-about__card p {
    font-size: 14px;
  }
  .page-about__partner-logos {
    gap: 20px;
  }
  .page-about__partner-logos img {
    
    min-
    min-
  }
  .page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-question h3 {
    font-size: 16px;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
    height: 24px;
  }
  .page-about__faq-answer {
    padding: 0 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }

  /* 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__hero-section,
  .page-about__commitment-item,
  .page-about__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 28px;
  }
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__faq-question h3 {
    font-size: 15px;
  }
  .page-about__partner-logos {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__partner-logos img {
    
    min-
    min-
  }
  .page-about__grid-3-columns,
  .page-about__grid-2-columns,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
}