/* style/about.css */

/* Base styles for the about page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css (#0d0d0d) */
}

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

.page-about__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: clamp(22px, 3vw, 30px);
  color: #26A9E0;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Dark section styling */
.page-about__dark-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
  padding: 60px 0;
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px; /* Space between image and content */
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
}

.page-about__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 18px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
  background-color: #1e87c0;
  border-color: #1e87c0;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__btn-large {
  padding: 18px 40px;
  font-size: 20px;
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.02);
}

.page-about__image-and-text-block {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.page-about__content-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.page-about__text-content {
  flex: 1;
  min-width: 300px;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
}

.page-about__feature-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__feature-title {
  font-size: 24px;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 700;
}

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

.page-about__feature-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
  color: #f0f0f0;
}

.page-about__feature-list li::before {
  content: '✔';
  color: #26A9E0;
  position: absolute;
  left: 0;
}

/* Development Section */
.page-about__development-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.02);
}

.page-about__milestones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-about__milestone-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  color: #f0f0f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__milestone-year {
  font-size: 36px;
  color: #EA7C07; /* Login color for highlight */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__milestone-description {
  font-size: 16px;
}

/* Social Responsibility Section */
.page-about__social-responsibility-section {
  padding: 80px 0;
}

.page-about__responsibility-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
  justify-content: center;
}

.page-about__responsibility-card {
  flex: 1 1 45%;
  min-width: 300px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  color: #f0f0f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__responsibility-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Future Section */
.page-about__future-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.02);
}

.page-about__future-vision {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  background-color: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__faq-question:hover {
  background-color: #1e87c0;
}

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

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 0 20px 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Details tag specific styles for FAQ */
.page-about__faq-item[open] > .page-about__faq-question {
  background-color: #1e87c0;
  border-bottom: 1px solid #26A9E0;
}

.page-about__faq-item summary {
  list-style: none;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__hero-image-wrapper {
    height: 500px;
  }

  .page-about__image-and-text-block,
  .page-about__future-vision {
    flex-direction: column;
    text-align: center;
  }

  .page-about__content-image {
    max-width: 100%;
  }

  .page-about__text-content {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__hero-section {
    padding: 10px 0 40px 0 !important;
  }

  .page-about__hero-image-wrapper {
    height: 300px;
    margin-bottom: 30px;
  }

  .page-about__main-title {
    font-size: clamp(28px, 7vw, 42px) !important;
  }

  .page-about__subtitle {
    font-size: clamp(16px, 4vw, 20px) !important;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section-title {
    font-size: clamp(24px, 6vw, 36px) !important;
    margin-bottom: 25px;
  }

  .page-about__sub-title {
    font-size: clamp(20px, 5vw, 28px) !important;
  }

  .page-about__text-block {
    font-size: 15px !important;
  }

  .page-about__feature-card,
  .page-about__milestone-card,
  .page-about__responsibility-card {
    padding: 20px !important;
  }

  .page-about__feature-icon,
  .page-about__responsibility-icon {
    width: 100px !important;
    height: 70px !important;
  }

  .page-about__milestone-year {
    font-size: 30px !important;
  }

  .page-about__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__why-choose-us-section,
  .page-about__development-section,
  .page-about__social-responsibility-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .page-about__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }

  .page-about__faq-question {
    font-size: 16px !important;
    padding: 15px !important;
  }

  .page-about__faq-answer {
    padding: 0 15px 15px !important;
  }

  .page-about__text-content {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }

  .page-about__milestones-grid {
    grid-template-columns: 1fr;
  }

  .page-about__responsibility-card {
    flex: 1 1 100%;
  }
}