/* style/about.css */
/* body đã padding-top: var(--header-offset) từ shared.css, không cần lặp lại */

.page-about {
  color: #ffffff; /* Mặc định chữ trắng vì body background là var(--black-color) (thường là tối) */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Padding-top nhỏ, body đã bù trừ header */
  text-align: center;
  overflow: hidden;
  background-color: #1a1a1a; /* Màu nền dự phòng nếu hình ảnh chưa tải */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Giới hạn chiều cao hình ảnh hero */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 400px; /* Đảm bảo kích thước tối thiểu */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
  background-color: rgba(0, 0, 0, 0.6); /* Lớp phủ để chữ dễ đọc hơn trên hình */
  border-radius: 8px;
  margin-top: -100px; /* Đẩy nội dung lên trên hình một chút */
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Sử dụng clamp cho kích thước H1 */
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-about__description-center {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
  text-align: center;
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  width: 100%; /* Đảm bảo container chiếm toàn bộ chiều rộng */
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
  background-color: #1a7fb0;
  border-color: #1a7fb0;
}

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

.page-about__btn-secondary:hover {
  background-color: #FFFFFF;
  color: #26A9E0;
}

.page-about__btn-link {
  background-color: #EA7C07; /* Màu cam cho nút link */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
  margin-top: 15px;
}

.page-about__btn-link:hover {
  background-color: #c96806;
  border-color: #c96806;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-about__sub-title {
  font-size: clamp(1.4em, 2.5vw, 2em);
  font-weight: 600;
  margin-bottom: 15px;
  color: inherit;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

/* Sections */
.page-about__mission-vision,
.page-about__why-choose-us,
.page-about__values,
.page-about__team,
.page-about__faq,
.page-about__cta-section {
  padding: 80px 0;
}

.page-about__dark-bg {
  background-color: #1a1a1a; /* Nền tối cho các section */
  color: #FFFFFF;
}

.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__highlight {
  color: #26A9E0;
  font-weight: 700;
}

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

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-about__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-about__feature-card p {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-about__value-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: #f8f8f8;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-about__value-item:hover {
  transform: translateY(-10px);
}

.page-about__value-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px;
}

.page-about__value-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333333;
}

.page-about__value-item p {
  color: #555555;
}

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

.page-about__team-member {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__member-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 4px solid #26A9E0;
  min-width: 200px; /* Đảm bảo kích thước tối thiểu */
  min-height: 200px;
}

.page-about__member-name {
  font-size: 1.6em;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.page-about__member-role {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 0.95em;
  color: #cccccc;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  color: #333333;
  list-style: none;
  user-select: none;
}

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

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  margin-left: 15px;
  color: #26A9E0;
}

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  line-height: 1.8;
  color: #555555;
}

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

/* Responsive Design */
@media (min-width: 769px) {
  .page-about__content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .page-about__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-about__hero-content {
    padding: 30px 15px;
    margin-top: -60px;
  }

  .page-about__main-title {
    font-size: 2em;
  }

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

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
  }

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

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 25px;
  }

  .page-about__sub-title {
    font-size: 1.4em;
  }

  .page-about__mission-vision,
  .page-about__why-choose-us,
  .page-about__values,
  .page-about__team,
  .page-about__faq,
  .page-about__cta-section {
    padding: 60px 0;
  }

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

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

  .page-about__value-icon {
    width: 100px;
    height: 100px;
    min-width: 100px !important;
    min-height: 100px !important;
  }

  .page-about__member-photo {
    width: 150px;
    height: 150px;
    min-width: 150px !important;
    min-height: 150px !important;
  }

  .page-about__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }

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