/* style/about.css */

/* Cấu hình chung cho trang Giới Thiệu */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

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

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

.page-about__section-title {
  font-size: 2.8em;
  font-weight: bold;
  color: var(--glow);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  display: inline-block;
}

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

.page-about__text-block {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--text-secondary);
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Padding-top 10px, body handled header offset */
  min-height: 500px;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size */
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: var(--text-main);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-about__dark-bg {
  background-color: var(--background);
}

.page-about__card {
  background-color: var(--card-b-g);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: var(--text-main);
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
}

.page-about__card h3 {
  color: var(--glow);
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-about__card p {
  color: var(--text-secondary);
  font-size: 1em;
}

.page-about__link-text {
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-about__link-text:hover {
  color: #ffffff;
}

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

.page-about__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  background-color: var(--deep-green);
}

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

.page-about__why-choose-us .page-about__section-title::after {
  background-color: var(--gold);
}

.page-about__why-choose-us .page-about__text-block {
  color: var(--text-secondary);
}

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

.page-about__benefit-item {
  text-align: left;
}

.page-about__benefit-item h3 {
  font-size: 1.6em;
  color: var(--glow);
  margin-bottom: 10px;
}

.page-about__cta-section {
  margin-top: 60px;
  padding: 40px;
  background-color: var(--card-b-g);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-text {
  font-size: 1.4em;
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 25px;
}

/* Products and Services Section */
.page-about__products-services .page-about__section-title {
  color: var(--gold);
}

.page-about__products-services .page-about__section-title::after {
  background-color: var(--gold);
}

.page-about__products-services .page-about__text-block {
  color: var(--text-secondary);
}

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

.page-about__product-item {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-about__product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__product-title {
  font-size: 1.6em;
  color: var(--glow);
  margin-bottom: 10px;
}

.page-about__product-description {
  flex-grow: 1;
  color: var(--text-secondary);
  font-size: 0.95em;
}

.page-about__button-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--deep-green);
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-about__button-link:hover {
  background-color: var(--glow);
}

/* Social Responsibility Section */
.page-about__social-responsibility {
  background-color: var(--background);
}

.page-about__social-responsibility .page-about__section-title {
  color: var(--glow);
}

.page-about__social-responsibility .page-about__section-title::after {
  background-color: var(--deep-green);
}

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

.page-about__responsibility-item {
  text-align: left;
}

.page-about__responsibility-item h3 {
  font-size: 1.6em;
  color: var(--glow);
  margin-bottom: 10px;
}

/* Contact Us Section */
.page-about__contact-us .page-about__section-title {
  color: var(--gold);
}

.page-about__contact-us .page-about__section-title::after {
  background-color: var(--gold);
}

.page-about__contact-us .page-about__text-block {
  color: var(--text-secondary);
}

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

.page-about__contact-item {
  text-align: left;
}

.page-about__contact-item h3 {
  font-size: 1.6em;
  color: var(--glow);
  margin-bottom: 15px;
}

.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-about__contact-list li {
  margin-bottom: 10px;
  color: var(--text-secondary);
}

.page-about__contact-list li strong {
  color: var(--text-main);
}

/* FAQ Section */
.page-about__faq {
  background-color: var(--deep-green);
}

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

.page-about__faq .page-about__section-title::after {
  background-color: var(--gold);
}

.page-about__faq .page-about__text-block {
  color: var(--text-secondary);
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: var(--card-b-g);
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--text-main);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

.page-about__faq-question:hover {
  background-color: var(--deep-green);
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: var(--glow);
}

.page-about__faq-answer {
  padding: 20px 25px;
  background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter background for answer */
  color: var(--text-secondary);
  font-size: 1em;
  line-height: 1.6;
  border-top: 1px solid var(--divider);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2.4em;
  }
  .page-about__main-title {
    font-size: clamp(2em, 4.5vw, 3.2em);
  }
  .page-about__description {
    font-size: 1.1em;
  }
  .page-about__feature-grid, .page-about__benefits-grid, .page-about__product-grid, .page-about__responsibility-grid, .page-about__contact-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.8em);
  }
  .page-about__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__cta-section {
    padding: 30px 20px;
  }
  .page-about__cta-text {
    font-size: 1.2em;
    margin-bottom: 20px;
  }
  .page-about__feature-grid, .page-about__benefits-grid, .page-about__product-grid, .page-about__responsibility-grid, .page-about__contact-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-about__card {
    padding: 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-about__feature-icon, .page-about__product-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 15px 20px;
  }
  .page-about__button-link {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__main-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }
  .page-about__description {
    font-size: 0.95em;
  }
  .page-about__hero-section {
    min-height: 350px;
  }
}