/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0; /* Màu chữ nhạt cho nền tối */
  background-color: #1A1A1A; /* Nền tối */
  line-height: 1.6;
}

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

.page-about-hero {
  background: linear-gradient(135deg, #FFD700, #DC143C);
  padding: 80px 20px;
  text-align: center;
  color: #1A1A1A; /* Màu chữ tối cho nền sáng/chuyển màu */
}

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

.page-about-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  color: #333;
}

.page-about-section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

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

.page-about-heading {
  font-size: 2.5em;
  color: #FFD700; /* Màu vàng kim cho tiêu đề */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about-subheading {
  font-size: 1.8em;
  color: #DC143C; /* Màu đỏ cho tiêu đề phụ */
  margin-top: 30px;
  margin-bottom: 15px;
}

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

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

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

.page-about-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  object-fit: cover;
}

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

.page-about-card {
  background-color: #2A2A2A;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-about-card:hover {
  transform: translateY(-8px);
  background-color: #3A3A3A;
}

.page-about-card-icon {
  width: 120px; /* Tăng kích thước ảnh, đảm bảo >200px */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: rgba(255, 215, 0, 0.1);
  padding: 15px;
}

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

.page-about-card p {
  color: #CCCCCC;
}

.page-about-faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2A2A2A;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #3A3A3A;
}

.faq-question h3 {
  color: #FFD700;
  font-size: 1.3em;
  margin: 0;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #1F1F1F;
  color: #E0E0E0;
}

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

.faq-answer p {
  margin: 0;
}

.page-about-cta-section {
  background: linear-gradient(45deg, #DC143C, #FFD700);
  padding: 80px 20px;
  text-align: center;
  color: #1A1A1A;
}

.page-about-cta-content {
  max-width: 900px;
}

.page-about-cta-section .page-about-heading {
  color: #1A1A1A;
  margin-bottom: 20px;
}

.page-about-cta-section p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #333;
}

.page-about-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-about-btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.page-about-btn-primary {
  background-color: #DC143C;
  color: #FFFFFF;
  border-color: #DC143C;
}

.page-about-btn-primary:hover {
  background-color: #A00F2C;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-about-btn-secondary {
  background-color: #FFD700;
  color: #1A1A1A;
  border-color: #FFD700;
}

.page-about-btn-secondary:hover {
  background-color: #E0B700;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-title {
    font-size: 2.8em;
  }
  .page-about-heading {
    font-size: 2em;
  }
  .page-about-subheading {
    font-size: 1.6em;
  }
  .page-about-content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-about-content-wrapper.reverse-layout {
    flex-direction: column;
  }
  .page-about-image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-about-hero {
    padding: 60px 15px;
  }
  .page-about-title {
    font-size: 2.2em;
  }
  .page-about-description {
    font-size: 1em;
  }
  .page-about-section {
    padding: 40px 0;
  }
  .page-about-heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about-subheading {
    font-size: 1.4em;
  }
  .page-about-card {
    padding: 20px;
  }
  .page-about-card-title {
    font-size: 1.3em;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-answer {
    padding: 15px 20px;
  }
  .page-about-cta-section {
    padding: 60px 15px;
  }
  .page-about-cta-buttons {
    flex-direction: column;
  }
  .page-about-btn {
    width: 100%;
    max-width: 300px;
  }
  .page-about-card-icon {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .page-about-title {
    font-size: 1.8em;
  }
  .page-about-heading {
    font-size: 1.6em;
  }
  .page-about-subheading {
    font-size: 1.2em;
  }
  .page-about-card-icon {
    width: 80px;
    height: 80px;
  }
  .faq-question h3 {
    font-size: 1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
}