/* style/about.css */
.page-about {
  background-color: #08160F; /* Nền chính của body */
  color: #F2FFF6; /* Màu chữ chính trên nền tối */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Padding top nhỏ, padding bottom lớn hơn */
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Giới hạn chiều cao của hình ảnh hero */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Màu vàng Gold cho tiêu đề chính */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-about__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #A7D9B8; /* Màu chữ phụ */
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #FFFFFF;
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__btn-secondary:hover {
  background-color: rgba(42, 209, 111, 0.1);
  color: #FFFFFF;
}

.page-about__section {
  padding: 60px 20px;
  border-bottom: 1px solid #1E3A2A; /* Divider color */
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3vw + 0.5rem, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #F2FFF6;
}

.page-about__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-about__text-block a {
  color: #2AD16F;
  text-decoration: none;
}

.page-about__text-block a:hover {
  text-decoration: underline;
}

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

.page-about__card {
  background-color: #11271B; /* Card Background */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold for card titles */
}

.page-about__card p,
.page-about__card li {
  font-size: 0.95rem;
  color: #A7D9B8;
  margin-bottom: 10px;
}

.page-about__list {
  list-style: none;
  padding-left: 0;
}

.page-about__list li::before {
  content: '✔';
  color: #2AD16F;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.page-about__content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px; /* Ensure image wrapper has a minimum width */
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-about__feature-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.page-about__feature-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-about__feature-card p {
  font-size: 0.9rem;
  color: #A7D9B8;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-about__feature-link {
  color: #57E38D;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-about__feature-link:hover {
  color: #F2C14E;
  text-decoration: underline;
}

.page-about__commitment-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
}

.page-about__commitment-list li {
  font-size: 1rem;
  color: #F2FFF6;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-about__commitment-list li::before {
  content: '★';
  color: #F2C14E;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-about__commitment-list li strong {
  color: #F2FFF6;
}

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

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #0A4B2C; /* Deep Green for FAQ question background */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #2AD16F;
}

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

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #A7D9B8;
  border-top: 1px solid #1E3A2A;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__content-flex {
    flex-direction: column;
  }
  .page-about__content-flex--reverse {
    flex-direction: column;
  }
  .page-about__hero-content {
    padding: 0 15px;
  }
  .page-about__image-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 10px 0 40px 0;
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-about__description {
    font-size: 1rem;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important; /* Important for mobile button width */
    padding: 12px 20px;
    font-size: 0.95rem;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__section {
    padding: 40px 15px;
  }
  .page-about__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    margin-bottom: 30px;
  }
  .page-about__text-block {
    font-size: 0.95rem;
  }
  .page-about__grid-3-col, .page-about__grid-features {
    grid-template-columns: 1fr;
  }
  .page-about__card,
  .page-about__feature-card {
    padding: 20px;
  }
  .page-about__card-title {
    font-size: 1.3rem;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }
  .page-about__faq-answer {
    padding: 15px 20px;
    font-size: 0.95rem;
  }
  /* Mobile image responsive styles */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__image-wrapper,
  .page-about__container,
  .page-about__section,
  .page-about__card,
  .page-about__feature-card,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden; /* Ensure no horizontal scroll */
  }
  .page-about__section--vision-mission, .page-about__section--history, .page-about__section--highlights, .page-about__section--security, .page-about__section--commitment, .page-about__section--team, .page-about__section--future, .page-about__section--faq {
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__hero-section {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }
  .page-about__section-title {
    font-size: clamp(1.3rem, 7vw, 1.8rem);
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 0.9rem;
  }
}