/* style/about.css */
/* body đã có padding-top: var(--header-offset) từ shared.css, không cần thêm tại đây */

.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Dark text on light background */
  line-height: 1.6;
  background-color: #FFFFFF;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #FFFFFF;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__hero-content {
  width: 100%;
  max-width: 900px;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-about__section {
  padding: 50px 20px;
}

.page-about__intro-section {
  background-color: #FFFFFF;
}

.page-about__why-choose-us {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__why-choose-us .page-about__section-title,
.page-about__why-choose-us .page-about__card-title {
  color: #ffffff;
}

.page-about__why-choose-us .page-about__feature-card p,
.page-about__why-choose-us .page-about__feature-card a {
  color: #f0f0f0;
}

.page-about__why-choose-us .page-about__feature-card a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-about__commitment-section {
  background-color: #FFFFFF;
}

.page-about__team-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-about__team-section p {
  color: #f0f0f0;
}

.page-about__future-section {
  background-color: #FFFFFF;
}

.page-about__faq-section {
  background-color: #f9f9f9;
}

.page-about__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__content-area {
  font-size: 1.05rem;
  color: #333333;
  margin-bottom: 40px;
}

.page-about__content-area p {
  margin-bottom: 15px;
}

.page-about__content-area a {
  color: #26A9E0;
  text-decoration: underline;
}

.page-about__content-area a:hover {
  color: #1a7bb0;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white for contrast */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

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

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__image-centered {
  margin-left: auto;
  margin-right: auto;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color for primary CTA */
  color: #ffffff;
  border: 2px solid #EA7C07;
  margin-right: 15px;
}

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

.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__cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-about__cta-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__cta-description a {
  color: #ffffff;
  text-decoration: underline;
}

.page-about__cta-description a:hover {
  color: #f0f0f0;
}

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

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

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #fefefe;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
  list-style: none; /* For <summary> tag */
}

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

.page-about__faq-question:hover {
  background-color: #f0f0f0;
}

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

.page-about__faq-toggle {
  font-size: 1.8rem;
  font-weight: 300;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #555555;
  background-color: #ffffff;
}

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

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

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

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

  .page-about__description {
    font-size: 1rem;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

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

  .page-about__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

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

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

  .page-about__description {
    font-size: 0.95rem;
  }

  .page-about__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__cta-section {
    padding: 40px 15px;
  }

  .page-about__cta-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

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

  .page-about__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.95rem;
  }

  .page-about__faq-toggle {
    font-size: 1.5rem;
  }
}