/* style/about-us.css */
.page-about-us {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Mặc định chữ nhạt trên nền tối */
  background-color: var(--primary-color); /* Lấy từ shared.css */
}

.page-about-us__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 10px; /* Khoảng cách cho thanh nav cố định */
  margin-top: 0;
  overflow: hidden;
}

.page-about-us__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-about-us__hero-image {
  width: 100%;
  margin: 0;
}

.page-about-us__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

.page-about-us__dark-section {
  background-color: #0A192F;
  color: #f0f0f0;
}

.page-about-us__intro-section {
  padding-top: 70px; /* Khoảng cách cho thanh nav cố định nếu không có hero */
}

.page-about-us__main-title {
  font-size: 3em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-about-us__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about-us__sub-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about-us__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: justify;
}

.page-about-us__inline-link {
  color: var(--secondary-color);
  text-decoration: underline;
  font-weight: bold;
}

.page-about-us__inline-link:hover {
  color: #ffffff;
  text-decoration: none;
}

.page-about-us__btn-primary {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  padding: 15px 30px;
  background-color: var(--secondary-color);
  color: #0A192F;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-about-us__btn-primary:hover {
  background-color: #ffffff;
  color: #0A192F;
  border-color: #ffffff;
}

.page-about-us__grid-2-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.page-about-us__content-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  align-items: center;
}

.page-about-us__card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #f0f0f0;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about-us__card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about-us__card-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about-us__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

.page-about-us__responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about-us__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about-us__value-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about-us__value-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

.page-about-us__value-icon {
  width: 150px; /* Tăng kích thước icon */
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-about-us__value-title {
  font-size: 1.3em;
  color: var(--secondary-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about-us__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* FAQ Section Styles */
.page-about-us__faq-list {
  margin-top: 30px;
}

.page-about-us__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-about-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #0A192F;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #f0f0f0;
}

.page-about-us__faq-question:hover {
  background: #1a2a47;
}

.page-about-us__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--secondary-color);
}

.page-about-us__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-about-us__faq-item.active .page-about-us__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

.page-about-us__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 25px;
  opacity: 0;
  color: #e0e0e0;
  text-align: justify;
}

.page-about-us__faq-item.active .page-about-us__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-us__grid-2-cols, .page-about-us__content-wrapper, .page-about-us__values-grid, .page-about-us__commitment-grid {
    grid-template-columns: 1fr;
  }
  .page-about-us__container {
    padding: 40px 15px;
  }
  .page-about-us__main-title {
    font-size: 2.5em;
  }
  .page-about-us__section-title {
    font-size: 2em;
  }
  .page-about-us__sub-title {
    font-size: 1.6em;
  }
  .page-about-us__text-block {
    font-size: 1em;
  }
  .page-about-us__btn-primary {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-about-us__card-image {
    height: 250px;
  }
  .page-about-us__value-icon {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 768px) {
  .page-about-us__hero-section, .page-about-us__intro-section {
    padding-top: 10px;
  }
  .page-about-us__main-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-about-us__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about-us__sub-title {
    font-size: 1.4em;
    margin-top: 20px;
  }
  .page-about-us__text-block {
    font-size: 0.95em;
  }
  .page-about-us__btn-primary {
    font-size: 1em;
    padding: 10px 20px;
  }
  .page-about-us__container {
    padding: 30px 15px;
  }
  .page-about-us__faq-question {
    padding: 15px 20px;
  }
  .page-about-us__faq-question h3 {
    font-size: 1.1em;
  }
  .page-about-us__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
    margin-left: 15px;
  }
  .page-about-us__faq-answer {
    padding: 0 20px;
  }
  .page-about-us__faq-item.active .page-about-us__faq-answer {
    padding: 15px 20px !important;
  }
  /* Mobile image responsive adaptation */
  .page-about-us img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about-us__section, .page-about-us__card, .page-about-us__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Contrast Fixes */
.page-about-us p, .page-about-us li {
  color: #e0e0e0; /* Ensure readability on dark background */
}

.page-about-us__card p {
  color: #e0e0e0;
}

.page-about-us__faq-answer p {
  color: #e0e0e0;
}