/* style/about.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm padding-top cho main hoặc các section đầu tiên. */
.page-about {
  background-color: #08160F;
  color: #F2FFF6; /* Text Main */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 20px 60px; /* Nhỏ hơn để không trùng với body padding */
  text-align: center;
  overflow: hidden;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3; /* Làm mờ ảnh nền để chữ nổi bật */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: rgba(8, 22, 15, 0.7); /* Background: #08160F với độ trong suốt */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-about__description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__dark-section {
  background-color: #11271B; /* Card BG */
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 60px;
  font-weight: bold;
}

.page-about__subsection-title {
  font-size: clamp(1.5em, 2.5vw, 2.2em);
  color: #22C768; /* Auxiliary Color */
  margin-top: 40px;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-about__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.page-about__text-block {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Text Main */
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-about__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #F2FFF6; /* Text Main */
}

.page-about__list-item::before {
  content: '✅';
  position: absolute;
  left: 0;
  color: #2AD16F;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: block; /* Ensure it behaves as a block element */
}

.page-about__image-content--large {
  max-width: 1000px;
  margin: 40px auto;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
  color: #ffffff; /* White text for contrast */
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D; /* Glow */
}

.page-about__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Button Gradient start color */
  border: 2px solid #2AD16F;
  margin-left: 15px;
}

.page-about__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #57E38D; /* Glow */
  border-color: #57E38D;
}

.page-about__btn-link {
  background: none;
  border: none;
  color: #22C768; /* Auxiliary Color */
  padding: 0;
  margin-top: 10px;
  text-align: left;
}

.page-about__btn-link:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-about__timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 20px 0;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #2E7A4E; /* Border Color */
  transform: translateX(-50%);
}

.page-about__timeline-item {
  width: calc(50% - 20px);
  margin-bottom: 40px;
  position: relative;
  padding: 20px;
  background-color: #11271B; /* Card BG */
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.page-about__timeline-item:nth-child(odd) {
  align-self: flex-start;
  margin-right: calc(50% + 20px);
}

.page-about__timeline-item:nth-child(even) {
  align-self: flex-end;
  margin-left: calc(50% + 20px);
}

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  top: 30px;
  width: 15px;
  height: 15px;
  background-color: #F2C14E; /* Gold */
  border-radius: 50%;
  border: 2px solid #2AD16F;
  z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::before {
  right: -53px;
}

.page-about__timeline-item:nth-child(even)::before {
  left: -53px;
}

.page-about__timeline-year {
  font-size: 1.4em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-about__timeline-item p {
  color: #A7D9B8; /* Text Secondary */
}

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

.page-about__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border Color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #F2FFF6; /* Text Main */
}

.page-about__item-title,
.page-about__product-title,
.page-about__promo-title {
  font-size: 1.3em;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__item-title a,
.page-about__product-title a,
.page-about__promo-title a {
  color: inherit;
  text-decoration: none;
}

.page-about__item-title a:hover,
.page-about__product-title a:hover,
.page-about__promo-title a:hover {
  color: #57E38D; /* Glow */
  text-decoration: underline;
}

.page-about__item-image,
.page-about__product-image,
.page-about__promo-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__card p {
  color: #A7D9B8; /* Text Secondary */
  flex-grow: 1;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15em;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  cursor: pointer;
  background-color: #0A4B2C; /* Deep Green */
  user-select: none;
  list-style: none;
}

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

.page-about__faq-qtext {
  flex-grow: 1;
  color: #F2C14E; /* Gold */
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #57E38D; /* Glow */
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

.page-about__faq-answer {
  padding: 20px 25px;
  border-top: 1px solid #1E3A2A; /* Divider */
  color: #A7D9B8; /* Text Secondary */
}

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

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ==================================================================
   Responsive Styles
   ================================================================== */
@media (max-width: 1024px) {
  .page-about__hero-content {
    padding: 30px 15px;
  }

  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }

  .page-about__section-title {
    font-size: clamp(1.6em, 4vw, 2.5em);
  }

  .page-about__timeline::before {
    left: 18px;
  }

  .page-about__timeline-item {
    width: calc(100% - 70px);
    margin: 0 0 40px 0;
    padding-left: 40px;
    align-self: flex-start !important;
  }

  .page-about__timeline-item:nth-child(odd)::before,
  .page-about__timeline-item:nth-child(even)::before {
    left: -52px;
    right: auto;
  }

  .page-about__timeline-item:nth-child(odd) {
    margin-right: 0;
  }

  .page-about__timeline-item:nth-child(even) {
    margin-left: 0;
  }
}

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

  .page-about__hero-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
    padding-bottom: 40px;
  }

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

  .page-about__description {
    font-size: 1em;
  }

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

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

  .page-about__section-title {
    font-size: clamp(1.5em, 5vw, 2.2em);
    margin-bottom: 40px;
  }

  .page-about__subsection-title {
    font-size: clamp(1.3em, 4vw, 1.8em);
  }

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

  .page-about__image-content,
  .page-about__item-image,
  .page-about__product-image,
  .page-about__promo-image {
    height: auto !important; /* Allow height to adjust naturally */
    min-height: 200px !important;
  }

  /* Responsive containers */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__content-wrapper,
  .page-about__commitment-grid,
  .page-about__product-grid,
  .page-about__promo-grid,
  .page-about__faq-list,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__text-block {
    min-width: unset;
    max-width: 100%;
    flex: none;
  }

  /* Responsive buttons */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link,
  .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;
    margin-left: 0 !important; /* Reset margin for stacking */
    margin-right: 0 !important;
    margin-bottom: 15px !important; /* Add space between stacked buttons */
  }

  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .page-about__cta-buttons .page-about__btn-primary:last-child,
  .page-about__cta-buttons .page-about__btn-secondary:last-child {
    margin-bottom: 0 !important;
  }

  .page-about__timeline::before {
    left: 15px;
  }

  .page-about__timeline-item {
    width: calc(100% - 30px);
    padding-left: 30px;
    margin-left: 0;
    margin-right: 0;
  }

  .page-about__timeline-item::before {
    left: -18px;
  }

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

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