.page-about__hero-section {
  background-color: #017439; /* Chủ đề xanh lá */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Đảm bảo không bị che bởi header */
}

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

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

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

.page-about__btn-primary {
  background-color: #C30808; /* Màu đăng ký/đăng nhập */
  color: #FFFF00; /* Màu chữ đăng ký/đăng nhập */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #e02a2a;
  color: #ffffff;
}

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

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

.page-about__mission-vision,
.page-about__why-choose-us,
.page-about__values-team,
.page-about__faq-section {
  padding: 60px 20px;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-about__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  color: inherit;
}

.page-about__section-subtitle {
  font-size: 1.2em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-about__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__grid-layout--reverse {
  grid-template-areas: "image content";
}

.page-about__grid-layout--reverse .page-about__content-block {
  grid-area: content;
}

.page-about__grid-layout--reverse .page-about__image-wrapper {
  grid-area: image;
}

.page-about__content-block {
  text-align: left;
}

.page-about__text-block {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure it behaves as a block element */
  margin: 0 auto; /* Center the image */
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

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

.page-about__feature-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

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

.page-about__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
  font-weight: bold;
}

.page-about__feature-description {
  font-size: 1em;
  line-height: 1.6;
}

.page-about__cta-buttons--center {
  margin-top: 50px;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #f8f8f8;
  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: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #eaf7ed; /* Màu nền cho câu hỏi */
  color: #017439;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.1em;
  line-height: 1.6;
  color: #555555;
  background-color: #ffffff;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-about__grid-layout--reverse {
    grid-template-areas: unset;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__mission-vision,
  .page-about__why-choose-us,
  .page-about__values-team,
  .page-about__faq-section {
    padding: 40px 15px;
  }
  
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__container,
  .page-about__hero-section,
  .page-about__mission-vision,
  .page-about__why-choose-us,
  .page-about__values-team,
  .page-about__faq-section,
  .page-about__features-grid,
  .page-about__feature-card,
  .page-about__image-wrapper,
  .page-about__cta-buttons,
  .page-about__hero-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 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-left: 15px;
    padding-right: 15px;
  }

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

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
  }
  .page-about__feature-card {
    padding: 20px;
  }
}