/* style/about.css */
/* body đã padding-top: var(--header-offset)；trang này không được viết lại biến này */
.page-about {
  color: #ffffff; /* Văn bản sáng trên nền tối của body */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Nền của main sẽ được body xử lý */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Chỉ một khoảng cách nhỏ, không dùng var(--header-offset) */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Lớp phủ để đảm bảo văn bản dễ đọc */
  border-radius: 8px;
}

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 10px;
  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: #1a8cc4;
  border-color: #1a8cc4;
}

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

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

.page-about__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 40px;
  color: #26A9E0; /* Màu thương hiệu */
}

.page-about__introduction-section .page-about__section-title,
.page-about__commitment-section .page-about__section-title,
.page-about__faq-section .page-about__section-title {
  color: #ffffff; /* Đảm bảo độ tương phản trên nền body tối */
}

.page-about__introduction-section {
  background-color: #0a0a0a; /* Nền tối */
  color: #ffffff;
}

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

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

.page-about__image-block {
  flex: 1;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-about__values-section {
  background-color: #26A9E0; /* Màu thương hiệu làm nền tối */
  color: #ffffff;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.15); /* Nền hơi trong suốt */
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__card-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__commitment-section {
  background-color: #0a0a0a; /* Nền tối */
  color: #ffffff;
}

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

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.08); /* Nền hơi trong suốt */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__commitment-icon {
  width: 100%; /* Đảm bảo kích thước tối thiểu 200px được đáp ứng thông qua nội dung hình ảnh */
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 4px;
  display: block; /* Đảm bảo hình ảnh là khối */
  margin-left: auto;
  margin-right: auto;
}

.page-about__item-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-about__item-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__why-choose-section {
  background-color: #f0f0f0; /* Nền sáng */
  color: #333333;
}

.page-about__why-choose-section .page-about__section-title {
  color: #26A9E0;
}

.page-about__why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-about__why-choose-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-about__why-choose-item .page-about__item-title {
  color: #26A9E0;
}

.page-about__why-choose-item .page-about__item-text {
  color: #555555;
}

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

.page-about__team-section {
  background-color: #26A9E0; /* Màu thương hiệu làm nền tối */
  color: #ffffff;
}

.page-about__team-section .page-about__section-title {
  color: #ffffff;
}

.page-about__team-section .page-about__sub-title {
  color: #ffffff;
}

.page-about__faq-section {
  background-color: #0a0a0a; /* Nền tối */
  color: #ffffff;
}

.page-about__faq-section .page-about__section-title {
  color: #ffffff;
}

.page-about__faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-about__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.2em;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
}

.page-about__faq-answer {
  padding: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about__contact-section {
  background-color: #0a0a0a;
  color: #ffffff;
}

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

.page-about__contact-info {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-about__contact-info strong {
  color: #26A9E0;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__content-wrapper {
    flex-direction: column;
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__content-wrapper,
  .page-about__values-grid,
  .page-about__commitment-grid,
  .page-about__why-choose-grid,
  .page-about__faq-list,
  .page-about__contact-section,
  .page-about__hero-image-wrapper,
  .page-about__hero-content,
  .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__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }
  .page-about__section-title {
    font-size: 1.8em !important;
    margin-bottom: 30px !important;
  }
  .page-about__sub-title {
    font-size: 1.3em !important;
  }
  .page-about__paragraph,
  .page-about__card-text,
  .page-about__item-text,
  .page-about__faq-answer p,
  .page-about__contact-text,
  .page-about__contact-info p {
    font-size: 1em !important;
  }
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .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: 10px 0 !important; /* Thay đổi margin cho nút */
  }
  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }
  .page-about__faq-item summary {
    font-size: 1.1em !important;
    padding: 15px !important;
  }
  .page-about__faq-answer {
    padding: 15px !important;
  }
  .page-about__commitment-icon {
    max-width: 180px !important; /* Đảm bảo kích thước tối thiểu 200px được đáp ứng thông qua nội dung hình ảnh */
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding: 30px 10px;
    padding-top: 10px !important;
  }
  .page-about__main-title {
    font-size: clamp(1.5em, 6vw, 2.2em);
  }
  .page-about__hero-description {
    font-size: 0.95em;
  }
  .page-about__section {
    padding: 40px 10px;
  }
  .page-about__section-title {
    font-size: 1.6em !important;
  }
  .page-about__content-wrapper {
    gap: 20px;
  }
  .page-about__values-grid,
  .page-about__commitment-grid,
  .page-about__why-choose-grid {
    gap: 20px;
  }
  .page-about__faq-item summary {
    font-size: 1em !important;
  }
}

/* Điều chỉnh màu sắc cho các khu vực cụ thể để đảm bảo độ tương phản */
.page-about__dark-bg {
  background: #26A9E0;
  color: #ffffff;
}

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

.page-about__section:not(.page-about__dark-bg):not(.page-about__light-bg) {
  background-color: #0a0a0a; /* Mặc định các section không có bg cụ thể sẽ dùng nền body tối */
  color: #ffffff;
}

.page-about__section:not(.page-about__dark-bg):not(.page-about__light-bg) .page-about__section-title {
  color: #26A9E0;
}

.page-about p, .page-about li {
  color: #f0f0f0;
}

.page-about__why-choose-section p, .page-about__why-choose-section li {
  color: #555555;
}