/* style/about.css */
:root {
  --primary-color: #0047AB; /* Deep Ocean Blue */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f1f3f5;
  --bg-white: #ffffff;
  --border-light: #e0e0e0;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.7;
  color: var(--text-dark); /* Default text color for light sections */
  background-color: var(--bg-light); /* Overall light background for about page sections */
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-about__text-block {
  font-size: 16px;
  margin-bottom: 15px;
  line-height: 1.7;
  color: var(--text-dark);
}

/* CTA Button Styles */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, var(--primary-color), #003380); /* Darker blue gradient */
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-about__cta-button:hover {
  background: linear-gradient(135deg, #003380, var(--primary-color)); /* Reverse gradient or slightly darker */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #003380;
  text-decoration: underline;
}

/* Image Styles */
.page-about__image-wrapper {
  margin-top: 30px;
  text-align: center;
}

.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  object-fit: cover;
}

/* ---------------------------------------------------------------------- */
/* Section 1: Giới Thiệu Chung */
.page-about__intro-section {
  padding: 120px 0 60px; /* Desktop padding-top for fixed header */
  background: linear-gradient(180deg, var(--primary-color) 0%, #002e6b 100%); /* Dark gradient background */
  color: var(--text-light);
  text-align: center;
}

.page-about__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 25px;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
  font-size: 18px;
  max-width: 900px;
  margin: 0 auto 30px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.page-about__intro-text strong {
  color: var(--secondary-color);
}

.page-about__intro-cta {
  margin-top: 40px;
}

.page-about__intro-image {
  max-width: 1000px;
  border: 5px solid var(--secondary-color);
}

/* ---------------------------------------------------------------------- */
/* Section 2: Tầm Nhìn & Sứ Mệnh */
.page-about__vision-mission-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark primary color background */
  color: var(--text-light);
}

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

.page-about__vision-mission-section .page-about__section-title::after {
  background-color: var(--text-light);
}

.page-about__content-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.page-about__vision-card,
.page-about__mission-card {
  background: rgba(255, 255, 255, 0.1); /* Slightly transparent white card on dark background */
  border-radius: 12px;
  padding: 35px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  flex: 1;
  max-width: 550px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__vision-card:hover,
.page-about__mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-about__vision-card .page-about__card-title,
.page-about__mission-card .page-about__card-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
  text-align: center;
}

.page-about__vision-card .page-about__card-text,
.page-about__mission-card .page-about__card-text {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 15px;
}

/* ---------------------------------------------------------------------- */
/* Section 3: Tại Sao Chọn Chúng Tôi */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

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

.page-about__reason-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.page-about__reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-about__reason-icon {
  width: 150px; /* Larger icons as per requirements */
  height: 150px;
  margin-bottom: 20px;
  object-fit: contain;
  border-radius: 0; /* Icons typically don't have rounded borders */
  box-shadow: none;
  display: inline-block;
}

.page-about__reason-card .page-about__card-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-about__reason-card .page-about__card-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.7;
}

.page-about__why-choose-us-cta {
  text-align: center;
  margin-top: 50px;
}

/* ---------------------------------------------------------------------- */
/* Section 4: Các Giá Trị Cốt Lõi */
.page-about__core-values-section {
  padding: 80px 0;
  background-color: var(--bg-white);
  color: var(--text-dark);
}

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

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

.page-about__value-item {
  background: var(--bg-light);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid var(--secondary-color);
}

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

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

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

/* ---------------------------------------------------------------------- */
/* Section 5: Đội Ngũ Của Chúng Tôi */
.page-about__team-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
  text-align: center;
}

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

.page-about__team-image {
  max-width: 800px;
  margin-top: 30px;
  border: 3px solid var(--primary-color);
}

/* ---------------------------------------------------------------------- */
/* Section 6: Cam Kết Về Trách Nhiệm */
.page-about__responsibility-section {
  padding: 80px 0;
  background-color: var(--primary-color); /* Dark background */
  color: var(--text-light);
}

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

.page-about__responsibility-section .page-about__section-title::after {
  background-color: var(--text-light);
}

.page-about__responsibility-section .page-about__text-block {
  color: rgba(255, 255, 255, 0.85);
  max-width: 900px;
  margin: 0 auto 15px;
}

.page-about__responsibility-section .page-about__link {
  color: var(--secondary-color);
}

.page-about__responsibility-section .page-about__link:hover {
  color: var(--text-light);
}

/* ---------------------------------------------------------------------- */
/* Section 7: Liên Hệ Chúng Tôi */
.page-about__contact-section {
  padding: 80px 0;
  background-color: var(--bg-white);
  color: var(--text-dark);
  text-align: center;
}

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

.page-about__contact-cta {
  margin-top: 40px;
}

/* ---------------------------------------------------------------------- */
/* Section 8: Câu Hỏi Thường Gặp (FAQ) */
.page-about__faq-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  color: var(--text-dark);
}

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

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.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 15px;
  opacity: 0;
  background: #f9f9f9;
  color: var(--text-dark);
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-white);
  border-radius: 5px;
  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;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.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;
  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); /* Change '+' to 'X' or rotate to '-' */
}

/* ---------------------------------------------------------------------- */
/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 42px;
  }
  .page-about__section-title {
    font-size: 32px;
  }
  .page-about__intro-text {
    font-size: 17px;
  }
  .page-about__vision-card,
  .page-about__mission-card {
    padding: 30px;
  }
  .page-about__vision-card .page-about__card-title,
  .page-about__mission-card .page-about__card-title {
    font-size: 24px;
  }
  .page-about__reason-icon {
    width: 120px;
    height: 120px;
  }
  .page-about__reason-card .page-about__card-title {
    font-size: 20px;
  }
  .page-about__value-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-about__intro-section {
    padding: 100px 0 40px !important; /* Mobile padding-top for fixed header */
  }
  .page-about__main-title {
    font-size: 36px;
  }
  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-about__intro-text {
    font-size: 16px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
  }
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__vision-card,
  .page-about__mission-card {
    padding: 25px;
    max-width: 100%;
  }
  .page-about__vision-card .page-about__card-title,
  .page-about__mission-card .page-about__card-title {
    font-size: 22px;
  }
  .page-about__reason-cards {
    grid-template-columns: 1fr;
  }
  .page-about__reason-card {
    padding: 25px;
  }
  .page-about__reason-icon {
    width: 100px;
    height: 100px;
  }
  .page-about__reason-card .page-about__card-title {
    font-size: 18px;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-item {
    padding: 20px;
  }
  .page-about__value-title {
    font-size: 18px;
  }
  .page-about__text-block {
    font-size: 15px;
  }
  
  /* FAQ responsive */
  .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;
  }
  
  /* Ensure all images adapt to mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__container,
  .page-about__intro-section,
  .page-about__vision-mission-section,
  .page-about__why-choose-us-section,
  .page-about__core-values-section,
  .page-about__team-section,
  .page-about__responsibility-section,
  .page-about__contact-section,
  .page-about__faq-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}