/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default dark text for light background */
  background-color: #f8f9fa; /* Light background for the page content */
  line-height: 1.6;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content clears fixed header */
  background-color: #1A202C;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-content {
  max-width: 900px;
  z-index: 10;
  margin-bottom: 40px;
}

.page-about__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700;
  line-height: 1.2;
}

.page-about__intro-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 1;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-about__btn-secondary {
  background-color: #1A202C;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-about__btn-secondary:hover {
  background-color: #3a475a;
  transform: translateY(-3px);
}

.page-about__section {
  padding: 80px 20px;
  text-align: center;
}

.page-about__section--general-introduction {
  background-color: #ffffff;
  color: #333333;
}

.page-about__section--safety-transparency {
  background-color: #1A202C;
  color: #ffffff;
}

.page-about__section--entertainment-ecosystem {
  background-color: #f8f9fa;
  color: #333333;
}

.page-about__section--customer-experience {
  background-color: #1A202C;
  color: #ffffff;
}

.page-about__section--social-responsibility {
  background-color: #ffffff;
  color: #333333;
}

.page-about__section--future-vision {
  background-color: #1A202C;
  color: #ffffff;
}

.page-about__section--faq {
  background-color: #f8f9fa;
  color: #333333;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  color: inherit;
}

.page-about__section--safety-transparency .page-about__section-title,
.page-about__section--customer-experience .page-about__section-title,
.page-about__section--future-vision .page-about__section-title {
  color: #FFD700;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  text-align: left;
}

.page-about strong {
  font-weight: bold;
  color: #1A202C; /* Ensure strong text is visible */
}

.page-about__section--safety-transparency strong,
.page-about__section--customer-experience strong,
.page-about__section--future-vision strong {
  color: #FFD700;
}

.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__content-grid .page-about__text-block {
  flex: 1;
}

.page-about__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}

.page-about__image--right {
  margin-left: auto;
}

.page-about__image--left {
  margin-right: auto;
}

.page-about__image--center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 80%;
}

.page-about__image--bottom {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 70%;
}

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

.page-about__feature-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-about__feature-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #1A202C;
}

.page-about__feature-card p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
}

.page-about__feature-link {
  display: inline-block;
  margin-top: auto; /* Push link to bottom */
  padding: 10px 20px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
}

.page-about__feature-link:hover {
  background-color: #e6c200;
}

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

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #f0f0f0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #1A202C;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

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

.page-about__faq-answer p {
  margin-bottom: 15px;
  text-align: left;
}

.page-about__faq-button {
  margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

  .page-about__intro-description {
    font-size: 1.2em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__content-grid {
    flex-direction: column;
  }

  .page-about__content-grid--reverse {
    flex-direction: column;
  }

  .page-about__image {
    max-width: 80%;
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
  }

  .page-about__main-title {
    font-size: 2em;
  }

  .page-about__intro-description {
    font-size: 1em;
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important; /* Mobile button responsiveness */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 50px 15px;
  }

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-about__text-block {
    font-size: 0.95em;
  }

  .page-about__image {
    max-width: 100% !important; /* Mobile image responsiveness */
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 20px auto !important;
  }

  .page-about__container,
  .page-about__hero-content,
  .page-about__content-grid,
  .page-about__features-grid,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

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

  .page-about__faq-question {
    padding: 15px 20px;
  }

  .page-about__faq-answer {
    padding: 0 20px;
  }

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }

  .page-about__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure content clears fixed header */
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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