:root {
  --primary-color: #11A84E; /* Main color */
  --secondary-color: #22C768; /* Auxiliary color */
  --button: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

.page-about {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Sử dụng màu chữ chính */
  background-color: var(--background); /* Sử dụng màu nền chính */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Đảm bảo hình ảnh ở trên, nội dung ở dưới */
  align-items: center;
  justify-content: center;
  padding: 60px 20px; /* Tổng padding, nhưng hình ảnh và nội dung sẽ có khoảng cách riêng */
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden; /* Ensure no overflow */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  margin-bottom: 30px; /* Space between image and content */
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
  filter: none !important; /* Ensure no filter is applied */
}

.page-about__hero-content {
  max-width: 900px;
  z-index: 1; /* Ensure content is above any potential background layers */
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-about__intro-description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary); /* Sử dụng màu chữ phụ */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 500px; /* Max width for button group */
  margin: 0 auto;
  box-sizing: border-box;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
  width: auto; /* Default width */
}

.page-about__btn-primary {
  background: var(--button); /* Sử dụng màu nút chính */
  color: var(--text-main); /* Màu chữ chính cho nút */
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
  background: transparent;
  color: var(--gold); /* Sử dụng màu vàng cho nút phụ */
  border: 2px solid var(--gold); /* Viền vàng */
}

.page-about__btn-secondary:hover {
  background: var(--gold);
  color: var(--background); /* Màu nền chính khi hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-about__section {
  padding: 80px 20px;
  background-color: var(--background); /* Default section background */
}

.page-about__section--mission-vision {
  background-color: var(--card-bg); /* Use card background for this section */
}

.page-about__section--why-choose {
  background-color: var(--background);
}

.page-about__section--team {
  background-color: var(--card-bg);
}

.page-about__section--responsibility {
  background-color: var(--background);
}

.page-about__section--call-to-action {
  background-color: var(--deep-green); /* Use deep green for CTA section */
  text-align: center;
}

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

.page-about__container--center {
  text-align: center;
}

.page-about__heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--gold); /* Sử dụng màu vàng cho tiêu đề chính */
  margin-bottom: 25px;
  text-align: center;
}

.page-about__paragraph {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-about__paragraph--lead {
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-main);
  max-width: 800px;
  margin: 0 auto 40px auto;
  text-align: center;
}

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

.page-about__feature-card {
  background-color: var(--background); /* Background color for feature cards */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px; /* Ensure cards have enough space */
}

.page-about__feature-icon {
  width: 100%; /* Ensure icon takes full width of card area */
  max-width: 250px; /* Max width for icons within card */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  filter: none !important; /* Ensure no filter is applied */
}

.page-about__feature-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--gold); /* Sử dụng màu vàng cho tiêu đề tính năng */
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;
}

/* Reasons Grid (Why Choose Us) */
.page-about__reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-about__reason-card {
  background-color: var(--card-bg); /* Background color for reason cards */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 400px; /* Ensure cards have enough space */
}

.page-about__reason-icon {
  width: 100%; /* Ensure icon takes full width of card area */
  max-width: 200px; /* Max width for icons within card */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
  filter: none !important; /* Ensure no filter is applied */
}

.page-about__reason-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold); /* Sử dụng màu vàng cho tiêu đề lý do */
  margin-bottom: 15px;
}

.page-about__reason-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  flex-grow: 1;
}

/* Team Image */
.page-about__team-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto 0 auto;
  border-radius: 12px;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
  filter: none !important; /* Ensure no filter is applied */
}

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

.page-about__faq-item {
  background-color: var(--card-bg); /* Background for FAQ item */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-main); /* Ensure text is visible on card background */
}

.page-about__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold); /* FAQ question color */
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--divider); /* Divider color */
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-left: 15px;
  color: var(--glow); /* Glow color for toggle icon */
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  text-align: left;
}

.page-about__faq-answer p {
    margin-top: 15px; /* Add margin to paragraph inside answer */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-about__intro-description {
    font-size: 1rem;
  }

  .page-about__section {
    padding: 60px 15px;
  }

  .page-about__heading {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .page-about__paragraph--lead {
    font-size: 1.1rem;
  }

  .page-about__features-grid,
  .page-about__reasons-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 30px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-about__intro-description {
    font-size: 0.95rem;
  }

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 40px 15px;
  }

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__heading {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-about__paragraph,
  .page-about__paragraph--lead {
    font-size: 0.9rem;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px; /* Ensure min size is still met */
    min-height: 200px;
    filter: none !important; /* Ensure no filter is applied */
  }

  .page-about__feature-card,
  .page-about__reason-card {
    padding: 20px;
    min-height: auto; /* Allow height to adjust */
  }

  .page-about__feature-title,
  .page-about__reason-title {
    font-size: 1.3rem;
  }

  .page-about__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }

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