/* style/about-us.css */

/* Thiết lập chung cho trang Về Chúng Tôi */
.page-about-us {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Màu chữ sáng trên nền tối */
  background-color: #0d1117; /* Nền tối từ shared.css */
}

/* Khoảng cách cho nội dung đầu tiên để tránh bị header cố định che khuất */
.page-about-us__hero-about-section {
  padding-top: 120px; /* Desktop */
  background: linear-gradient(135deg, #003366, #FFD700);
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px;
}

.page-about-us__hero-about-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-about-us__hero-about-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about-us__hero-about-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about-us__hero-about-button {
  display: inline-block;
  background-color: #FFD700; /* Màu vàng phụ trợ */
  color: #003366; /* Màu chữ tương phản */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about-us__hero-about-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-about-us__section {
  padding: 60px 0;
}

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

.page-about-us__heading {
  font-size: 2.5em;
  color: #FFD700; /* Màu vàng phụ trợ */
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-about-us__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #003366;
  border-radius: 2px;
}

.page-about-us__sub-heading {
  font-size: 1.8em;
  color: #FFD700; /* Màu vàng phụ trợ */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about-us__paragraph {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about-us__link {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about-us__link:hover {
  color: #e6c200;
  text-decoration: underline;
}

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

.page-about-us__content-grid--reversed {
  grid-template-columns: 1fr 1fr;
}

.page-about-us__content-grid--reversed .page-about-us__image-wrapper {
  order: 2;
}

.page-about-us__content-grid--reversed .page-about-us__text-content {
  order: 1;
}

.page-about-us__image-wrapper {
  width: 100%;
  height: auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about-us__text-content {
  padding: 20px;
}

.page-about-us__list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about-us__list-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-about-us__list-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.6;
}

.page-about-us__dark-section {
  background-color: #003366;
  color: #ffffff;
}

.page-about-us__dark-section .page-about-us__heading {
  color: #FFD700;
}

.page-about-us__dark-section .page-about-us__sub-heading {
  color: #FFD700;
}

.page-about-us__dark-section .page-about-us__paragraph {
  color: #f0f0f0;
}

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

.page-about-us__feature-card {
  background-color: rgba(255, 255, 255, 0.1); /* Nền bán trong suốt */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid #FFD700;
}

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

.page-about-us__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about-us__card-title {
  font-size: 1.5em;
  color: #FFD700; /* Màu vàng phụ trợ */
  margin-bottom: 15px;
}

.page-about-us__card-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-about-us__service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-about-us__service-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #FFD700;
}

.page-about-us__service-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 25px;
  object-fit: contain;
}

.page-about-us__btn-primary {
  display: inline-block;
  background-color: #003366;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  border: 2px solid #FFD700;
}

.page-about-us__btn-primary:hover {
  background-color: #004488;
  transform: translateY(-2px);
}

.page-about-us__btn-secondary {
  display: inline-block;
  background-color: #FFD700;
  color: #003366;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  border: 2px solid transparent;
}

.page-about-us__btn-secondary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-about-us__faq-section {
  background-color: #0d1117;
}

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

.page-about-us__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #1a202c; /* Nền tối hơn cho câu hỏi */
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about-us__faq-question:hover {
  background: #252d3a;
}

.page-about-us__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

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

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

.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;
  background-color: #252d3a; /* Nền tối hơn cho câu trả lời */
  border-radius: 0 0 8px 8px;
}

.page-about-us__faq-item.active .page-about-us__faq-answer {
  max-height: 2000px !important; /* Đảm bảo đủ lớn */
  padding: 20px 25px !important;
  opacity: 1;
  color: #f0f0f0;
}

.page-about-us__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #f0f0f0;
}

/* Call to Action Section */
.page-about-us__call-to-action-section {
  text-align: center;
  background-color: #003366;
  padding: 80px 0;
}

.page-about-us__cta-content {
  max-width: 800px;
  margin: 0 auto;
  color: #ffffff;
}

.page-about-us__cta-content .page-about-us__heading {
  color: #FFD700;
}

.page-about-us__cta-content .page-about-us__paragraph {
  font-size: 1.1em;
  margin-bottom: 40px;
}

.page-about-us__cta-buttons .page-about-us__btn-primary,
.page-about-us__cta-buttons .page-about-us__btn-secondary {
  margin: 0 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-us__hero-about-title {
    font-size: 2.8em;
  }
  .page-about-us__heading {
    font-size: 2em;
  }
  .page-about-us__sub-heading {
    font-size: 1.6em;
  }
  .page-about-us__content-grid,
  .page-about-us__content-grid--reversed,
  .page-about-us__service-grid {
    grid-template-columns: 1fr;
  }
  .page-about-us__content-grid--reversed .page-about-us__image-wrapper {
    order: 1;
  }
  .page-about-us__content-grid--reversed .page-about-us__text-content {
    order: 2;
  }
  .page-about-us__image-wrapper {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-about-us__hero-about-section {
    padding-top: 100px; /* Mobile */
    padding-bottom: 40px;
  }
  .page-about-us__hero-about-title {
    font-size: 2.2em;
  }
  .page-about-us__hero-about-description {
    font-size: 1em;
  }
  .page-about-us__hero-about-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about-us__section {
    padding: 40px 0;
  }
  .page-about-us__container {
    padding: 0 15px;
  }
  .page-about-us__heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about-us__sub-heading {
    font-size: 1.4em;
  }
  .page-about-us__paragraph,
  .page-about-us__card-description,
  .page-about-us__list-item {
    font-size: 0.9em;
  }
  .page-about-us__features-grid {
    gap: 20px;
  }
  .page-about-us__feature-card,
  .page-about-us__service-card {
    padding: 25px;
  }
  .page-about-us__feature-icon,
  .page-about-us__service-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-about-us__card-title {
    font-size: 1.3em;
  }
  .page-about-us__faq-question {
    padding: 15px 20px;
  }
  .page-about-us__faq-question h3 {
    font-size: 1em;
  }
  .page-about-us__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-about-us__faq-answer {
    padding: 0 20px;
  }
  .page-about-us__faq-item.active .page-about-us__faq-answer {
    padding: 15px 20px !important;
  }
  .page-about-us__cta-buttons .page-about-us__btn-primary,
  .page-about-us__cta-buttons .page-about-us__btn-secondary {
    margin: 10px 0;
    width: 100%;
  }
  .page-about-us__cta-buttons {
    display: flex;
    flex-direction: column;
  }
  /* 强制图片响应式适配 */
  .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,
  .page-about-us__image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}