/* style/about.css */
/* body đã có padding-top: var(--header-offset); trang này không cần thêm */

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Nhỏ hơn để không bị đè bởi body padding-top */
  background-color: #08160F;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-about__hero-content {
  text-align: center;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6;
  margin-bottom: 20px;
}

.page-about__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-about__btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-about__btn-secondary {
  display: inline-block;
  padding: 10px 25px;
  background-color: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-secondary:hover {
  background-color: #57E38D;
  color: #08160F;
}

.page-about__section {
  padding: 60px 20px;
  background-color: #08160F;
}

.page-about__section:nth-of-type(odd) {
  background-color: #0A4B2C; /* Deep Green for alternating sections */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 15px; /* Thêm padding ngang để nội dung không chạm rìa */
}

.page-about__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #2E7A4E; /* Border */
  border-radius: 2px;
}

.page-about__sub-heading {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: #57E38D; /* Glow */
  margin-top: 30px;
  margin-bottom: 20px;
  text-align: left;
}

.page-about__text {
  font-size: 1rem;
  color: #F2FFF6;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-about__text a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 30px auto;
  object-fit: cover;
}

.page-about__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-about__list-item {
  color: #F2FFF6;
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-about__list-item strong {
  color: #57E38D;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 20px;
  background-color: #08160F;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #F2FFF6; /* Text Main */
  font-size: 1.1rem;
  background-color: #11271B;
  border-bottom: 1px solid #2E7A4E;
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #F2C14E; /* Gold */
}

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

.page-about__faq-answer {
  padding: 0 25px 18px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  line-height: 1.7;
}

/* Hide default details marker */
.page-about__faq-item > summary {
  list-style: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-content {
    margin-top: 30px;
  }
  .page-about__heading {
    margin-bottom: 30px;
  }
  .page-about__section {
    padding: 40px 15px;
  }
}

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

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body đã có padding-top, đây chỉ là khoảng cách thêm */
  }

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

  .page-about__subtitle {
    font-size: clamp(0.9rem, 3vw, 1.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: 12px 15px !important;
    margin-bottom: 15px;
  }

  .page-about__btn-secondary:last-child {
    margin-bottom: 0;
  }

  .page-about__section,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__heading {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-about__sub-heading {
    font-size: clamp(1.2rem, 4.5vw, 1.6rem);
  }

  .page-about__text,
  .page-about__list-item,
  .page-about__faq-question,
  .page-about__faq-answer p {
    font-size: 0.95rem;
  }

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

  .page-about__faq-question {
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px;
  }

  .page-about__products .page-about__btn-secondary {
    margin-bottom: 10px;
  }

  .page-about__products .page-about__btn-secondary:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }

  .page-about__main-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }

  .page-about__subtitle {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .page-about__section {
    padding: 30px 10px;
  }

  .page-about__container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .page-about__heading {
    font-size: clamp(1.4rem, 7vw, 2rem);
    margin-bottom: 20px;
  }

  .page-about__sub-heading {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
  }

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

  .page-about__faq-answer {
    padding: 0 15px 12px;
  }
}