:root {
  --primary-color: #0A2463; /* Deep Blue */
  --secondary-color: #E7BB41; /* Golden Yellow */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #1a1a2e; /* Assuming a dark background for body from shared.css */
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* This will be overridden by shared.css body background */
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

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

/* Sections */
.page-about__hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #061638 100%);
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
  padding-top: 0; /* Main tag already handles top padding */
}

.page-about__hero-section .page-about__container {
  padding-top: 0;
  padding-bottom: 0;
}

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

.page-about__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.page-about__hero-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-about__cta-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-about__cta-button--primary:hover {
  background: #d8a834;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--secondary {
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-about__cta-button--secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Brand Section */
.page-about__brand-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Dark background for this section */
  color: var(--text-light);
}

.page-about__brand-section .page-about__container {
  padding-top: 40px;
  padding-bottom: 40px;
}

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

.page-about__brand-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__brand-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-about__brand-item-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-about__brand-item-text {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-about__brand-item-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 15px;
  color: #e0e0e0;
}

.page-about__brand-item-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about__brand-item-list li::before {
  content: '✓';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 60px 0;
  background-color: var(--bg-light); /* Light background for this section */
  color: var(--text-dark);
}

.page-about__why-choose-us-section .page-about__section-title {
  color: var(--primary-color);
}

.page-about__why-choose-us-section p {
  color: var(--text-dark);
}

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

.page-about__feature-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__feature-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
}

.page-about__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 60px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
  text-align: center;
}

.page-about__commitment-section .page-about__container {
  padding-top: 40px;
  padding-bottom: 40px;
}

.page-about__commitment-text {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #e0e0e0;
}

.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-about__commitment-list li {
  font-size: 17px;
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  color: #e0e0e0;
}

.page-about__commitment-list li::before {
  content: '✔';
  color: var(--secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
  top: 0;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: var(--bg-light); /* Light background */
  color: var(--text-dark);
}

.page-about__faq-section .page-about__section-title {
  color: var(--primary-color);
}

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

/* FAQ容器样式 */
.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ默认状态 - 答案隐藏 */
.page-about__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 20px;
  opacity: 0;
  background: #f0f0f0;
  color: var(--text-dark);
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng !important để đảm bảo độ ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px !important;
  opacity: 1;
  background: #f0f0f0;
  border-radius: 0 0 8px 8px;
}

/* Vấn đề FAQ */
.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-about__faq-question:active {
  background: #eeeeee;
}

/* Tiêu đề vấn đề FAQ */
.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Ngăn thẻ h3 chặn sự kiện click */
  color: var(--primary-color);
}

/* Biểu tượng chuyển đổi */
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn biểu tượng chặn sự kiện click */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: var(--secondary-color);
  transform: rotate(45deg); /* Xoay để tạo hiệu ứng 'x' hoặc '-' */
}


/* Blog Section */
.page-about__blog-section {
  padding: 60px 0;
  background-color: var(--bg-dark); /* Dark background */
  color: var(--text-light);
}

.page-about__blog-section .page-about__section-title {
  color: var(--secondary-color);
}

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

.page-about__blog-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-about__blog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  min-width: 200px; /* Min size requirement */
  min-height: 200px; /* Min size requirement */
  max-width: 100%; /* Ensure responsiveness */
}

.page-about__blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-about__blog-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.page-about__blog-item-title {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.page-about__blog-link:hover .page-about__blog-item-title {
  color: #ffffff;
}

.page-about__blog-item-excerpt {
  font-size: 15px;
  color: #cccccc;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-about__blog-item-date {
  font-size: 14px;
  color: #999999;
  text-align: right;
  display: block;
}

.page-about__view-all-button-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 40px;
  }
  .page-about__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: 100px !important; /* Mobile: Ensure content is not hidden by fixed header */
  }

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

  .page-about__hero-section {
    padding: 60px 15px;
  }

  .page-about__main-title {
    font-size: 32px;
  }

  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

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

  .page-about__cta-button {
    width: 100%;
    padding: 12px 25px;
    font-size: 16px;
  }

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

  .page-about__brand-content,
  .page-about__features-grid,
  .page-about__blog-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-about__brand-item,
  .page-about__feature-item,
  .page-about__blog-item {
    padding: 25px;
  }

  .page-about__brand-image,
  .page-about__feature-icon,
  .page-about__blog-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-about__brand-item-title {
    font-size: 20px;
  }

  .page-about__feature-title {
    font-size: 18px;
  }

  .page-about__commitment-text {
    font-size: 16px;
  }

  .page-about__commitment-list li {
    font-size: 15px;
    padding-left: 25px;
  }

  /* FAQ Mobile Adjustments */
  .page-about__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-about__faq-question h3 {
    font-size: 15px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-about__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-about__faq-answer {
    padding: 0 15px;
  }
  
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }

  .page-about__blog-item-title {
    font-size: 18px;
  }

  .page-about__blog-item-excerpt {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 28px;
  }
  .page-about__section-title {
    font-size: 24px;
  }
  .page-about__hero-section {
    padding: 40px 15px;
  }
  .page-about__hero-description {
    font-size: 15px;
  }
}

/* Ensure no image filter is applied */
.page-about img {
  filter: none !important; /* Override any potential global filters */
}

/* Ensure all images and containers are responsive and don't overflow */
.page-about img,
.page-about__brand-image,
.page-about__feature-icon,
.page-about__blog-image {
  max-width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

.page-about__container,
.page-about__brand-section,
.page-about__why-choose-us-section,
.page-about__commitment-section,
.page-about__faq-section,
.page-about__blog-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Contrast Fixes - if needed */
.page-about__dark-bg {
  color: var(--text-light); /* Deep Blue background, light text */
}

.page-about__light-bg {
  color: var(--text-dark); /* Light background, dark text */
}

/* Specific text elements to ensure contrast */
.page-about p,
.page-about li,
.page-about__blog-item-excerpt,
.page-about__blog-item-date {
  color: inherit; /* Inherit from parent, then adjust if needed */
}

.page-about__brand-item p,
.page-about__brand-item li {
  color: #e0e0e0; /* Slightly lighter for dark background */
}

.page-about__feature-item p {
  color: var(--text-dark); /* Dark text for light background */
}

.page-about__blog-item-excerpt {
  color: #cccccc; /* Lighter for dark blog card background */
}

.page-about__blog-item-date {
  color: #999999; /* Even lighter for less emphasis */
}