/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Banner Section */
.page-about-banner {
  background: linear-gradient(135deg, #003366, #FFD700);
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-about-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

.page-about-intro-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.8;
}

.page-about-cta-button {
  display: inline-block;
  background-color: #FFD700; /* Vàng */
  color: #003366; /* Xanh đậm */
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid #FFD700;
}

.page-about-cta-button:hover {
  background-color: #e6c200; /* Vàng đậm hơn */
  color: #001a33; /* Xanh đậm hơn */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* General Section Styling */
.page-about-section {
  padding: 60px 0;
  border-bottom: 1px solid #eeeeee;
}

.page-about-section:last-of-type {
  border-bottom: none;
}

.page-about-section-title {
  font-size: 2.5em;
  color: #003366;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about-sub-title {
  font-size: 1.8em;
  color: #003366;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about-content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-about-content-wrapper.page-about-reverse-order {
  flex-direction: row-reverse;
}

.page-about-text-content {
  flex: 1;
}

.page-about-image-box {
  flex: 1;
  min-width: 300px;
}

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

/* Values Grid */
.page-about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about-value-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 5px solid #003366;
}

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

.page-about-value-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about-value-title {
  font-size: 1.5em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about-values-summary {
  text-align: center;
  margin-top: 50px;
  font-size: 1.1em;
  font-style: italic;
  color: #555555;
}

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

.page-about-advantage-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-left: 5px solid #FFD700;
}

.page-about-advantage-title {
  font-size: 1.6em;
  color: #003366;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about-cta-bottom {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px dashed #cccccc;
}

.page-about-cta-bottom p {
  font-size: 1.3em;
  margin-bottom: 25px;
  color: #003366;
  font-weight: bold;
}

/* FAQ Section */
.page-about-faq {
  background-color: #f0f4f7;
}

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

.faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #003366;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  font-weight: bold;
  color: #003366;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-top: none;
  border-radius: 0 0 5px 5px;
  color: #333333;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Đủ lớn để chứa nội dung */
  padding: 20px;
  transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #003366;
}

/* Contact CTA */
.page-about-contact-cta {
  background-color: #003366;
  color: #ffffff;
  text-align: center;
}

.page-about-contact-cta .page-about-section-title {
  color: #ffffff;
}

.page-about-contact-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-about-contact-link {
  background-color: #FFD700;
  color: #003366;
  border-color: #FFD700;
}

.page-about-contact-link:hover {
  background-color: #e6c200;
  color: #001a33;
  border-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about-title {
    font-size: 2.5em;
  }
  .page-about-section-title {
    font-size: 2em;
  }
  .page-about-sub-title {
    font-size: 1.5em;
  }
  .page-about-content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-about-content-wrapper.page-about-reverse-order {
    flex-direction: column;
  }
  .page-about-image-box {
    order: -1; /* Đẩy ảnh lên trên trong chế độ cột */
  }
}

@media (max-width: 768px) {
  .page-about-banner {
    padding: 60px 0;
  }
  .page-about-title {
    font-size: 2em;
  }
  .page-about-intro-text {
    font-size: 1em;
  }
  .page-about-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about-section {
    padding: 40px 0;
  }
  .page-about-section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about-sub-title {
    font-size: 1.3em;
  }
  .page-about-values-grid, .page-about-advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about-value-item, .page-about-advantage-item {
    padding: 25px;
  }
  .faq-question {
    padding: 15px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 15px;
  }
  .page-about-cta-bottom p {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-about-title {
    font-size: 1.8em;
  }
  .page-about-section-title {
    font-size: 1.5em;
  }
  .page-about-sub-title {
    font-size: 1.2em;
  }
  .page-about-container {
    padding: 0 15px;
  }
}