/* style/about.css */

/* Biến CSS */
:root {
  --primary-color: #0A2E5B; /* Xanh đậm */
  --secondary-color: #FFD700; /* Vàng */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f4f7f6;
  --background-dark: #072242;
  --border-color: #e0e0e0;
  --card-background: #ffffff;
  --button-hover-color: #e6c200;
}

.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

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

.page-about-section {
  padding: 60px 0;
  text-align: center;
}

.page-about-section:nth-of-type(even) {
  background-color: #f0f3f2;
}

.page-about h1,
.page-about h2,
.page-about h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-about h1 {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--text-light);
}

.page-about h2 {
  font-size: 2.5em;
  font-weight: bold;
  margin-top: 40px;
}

.page-about h3 {
  font-size: 1.8em;
  font-weight: 600;
}

.page-about p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-about ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.page-about ul li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.05em;
  color: var(--text-dark);
}

.page-about-cta-button,
.page-about-link-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 25px;
  border: none;
  cursor: pointer;
}

.page-about-cta-button:hover,
.page-about-link-button:hover {
  background-color: var(--button-hover-color);
  transform: translateY(-3px);
  color: var(--primary-color);
}

/* Hero Section */
.page-about-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0A2E5B 70%, #1a4d8c 100%);
  color: var(--text-light);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-about-hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-about-hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
  object-fit: cover;
}

.page-about-hero-content p {
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Mission & Vision */
.page-about-mission-vision .page-about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about-card {
  background-color: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-about-card-image {
  width: 100%;
  max-width: 300px; /* Adjusted size for content image, not icon */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about-card h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-about-card p {
  color: var(--text-dark);
  font-size: 1em;
}

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

.page-about-advantage-item {
  background-color: var(--card-background);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-advantage-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.page-about-advantage-icon {
  width: 100%;
  max-width: 250px; /* Larger size for content feature image */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about-advantage-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.6em;
}

.page-about-advantage-item p {
  color: var(--text-dark);
  font-size: 1em;
}

.page-about-advantage-item ul {
  margin-top: 15px;
  padding-left: 20px;
  list-style: disc;
}

.page-about-advantage-item ul li {
  background: none;
  padding-left: 0;
  margin-bottom: 5px;
}

/* Commitment Section */
.page-about-commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about-commitment-item {
  background-color: var(--card-background);
  border-left: 5px solid var(--secondary-color);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: 25px;
  transition: box-shadow 0.3s ease;
}

.page-about-commitment-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about-commitment-item h3 {
  color: var(--primary-color);
  margin-top: 0;
  font-size: 1.5em;
}

.page-about-commitment-item p {
  color: var(--text-dark);
  font-size: 1em;
}

/* Join Us Section */
.page-about-join-us {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 80px 0;
}

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

.page-about-join-us h2 {
  color: var(--secondary-color);
  font-size: 2.8em;
}

.page-about-join-us p {
  color: #e0e0e0;
  font-size: 1.15em;
  margin-bottom: 30px;
}

/* FAQ Section */
.page-about-faq {
  background-color: var(--background-light);
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

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

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

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  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 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about h1 {
    font-size: 2.8em;
  }
  .page-about h2 {
    font-size: 2.2em;
  }
  .page-about h3 {
    font-size: 1.6em;
  }
  .page-about-hero-image {
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .page-about-section {
    padding: 40px 0;
  }
  .page-about-container {
    padding: 15px;
  }
  .page-about h1 {
    font-size: 2.2em;
  }
  .page-about h2 {
    font-size: 1.8em;
  }
  .page-about h3 {
    font-size: 1.4em;
  }
  .page-about p {
    font-size: 1em;
  }
  .page-about-cta-button,
  .page-about-link-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about-hero-image {
    max-width: 90%;
    margin-bottom: 30px;
  }
  .page-about-mission-vision .page-about-grid,
  .page-about-advantage-grid,
  .page-about-commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about-card-image,
  .page-about-advantage-icon {
    max-width: 200px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-about ul li {
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .page-about h1 {
    font-size: 1.8em;
  }
  .page-about h2 {
    font-size: 1.6em;
  }
  .page-about h3 {
    font-size: 1.2em;
  }
  .page-about-hero-content p {
    font-size: 0.95em;
  }
  .page-about-cta-button,
  .page-about-link-button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}