/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #0a0a0a (dark), so use light text */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

.page-about__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Auxiliary color */
  color: #000000; /* Dark text for light background button */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
}

.page-about__hero-button:hover {
  background-color: #e0a800; /* Darker shade of auxiliary color */
}

.page-about__section {
  padding: 60px 20px;
  background-color: #0a0a0a;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #007bff; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffc107; /* Auxiliary color accent */
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about__paragraph {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__container--reverse {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__value-card {
  background-color: rgba(0, 123, 255, 0.1); /* Light primary color background */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #007bff; /* Primary color accent */
}

.page-about__value-title {
  font-size: 1.8em;
  color: #ffc107; /* Auxiliary color for sub-titles */
  margin-bottom: 15px;
}

.page-about__value-list {
  list-style-type: disc;
  padding-left: 20px;
  color: #f0f0f0;
}

.page-about__value-list li {
  margin-bottom: 10px;
}

.page-about__value-list strong {
  color: #ffffff;
}

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

.page-about__team-member {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-about__team-member:hover {
  transform: translateY(-10px);
}

.page-about__team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #007bff;
}

.page-about__member-name {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 5px;
}

.page-about__member-position {
  font-size: 1em;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 0.95em;
  color: #f0f0f0;
  text-align: left;
}

.page-about__team-intro {
  margin-top: 40px;
  text-align: center;
}

.page-about__responsibility-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #007bff; /* Primary color for question background */
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #0056b3; /* Darker primary color on hover */
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-about__faq-answer .page-about__paragraph {
  margin-bottom: 0;
  color: #f0f0f0;
}

/* CTA Section */
.page-about__cta {
  text-align: center;
  background-color: #0a0a0a;
  padding-bottom: 80px;
}

.page-about__cta-content {
  background-color: rgba(0, 123, 255, 0.15); /* Slightly darker primary color background */
  padding: 50px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about__btn-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  min-width: 200px;
}

.page-about__btn-primary {
  background-color: #007bff; /* Primary color */
  color: #ffffff;
  border: 2px solid #007bff;
}

.page-about__btn-primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #ffc107; /* Auxiliary color for text */
  border: 2px solid #ffc107;
}

.page-about__btn-secondary:hover {
  background-color: #ffc107;
  color: #000000; /* Dark text for light background */
}

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

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

  .page-about__paragraph {
    font-size: 1em;
  }

  .page-about__container--reverse,
  .page-about__responsibility-content {
    flex-direction: column;
  }

  .page-about__team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-about__btn-container {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__cta-button {
    width: 100%;
    max-width: 300px; /* Limit width on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    height: 450px;
  }

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

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

  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }

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

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

  .page-about__paragraph {
    font-size: 0.95em;
  }

  .page-about__value-card {
    padding: 20px;
  }

  .page-about__value-title {
    font-size: 1.5em;
  }

  .page-about__team-photo {
    width: 120px;
    height: 120px;
  }

  .page-about__member-name {
    font-size: 1.3em;
  }

  .page-about__member-position {
    font-size: 0.9em;
  }

  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

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

  .page-about__cta-content {
    padding: 30px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile video responsiveness */
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Mobile button responsiveness */
  .page-about__cta-button,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin: 10px 0 !important; /* Stack buttons vertically */
  }

  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
    display: flex; /* Ensure flex for stacking */
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
  }

  /* Content containers mobile padding and overflow */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__cta-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Important: Video section padding-top for mobile */
  .page-about__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    height: 350px;
  }

  .page-about__hero-title {
    font-size: 1.5em;
  }

  .page-about__hero-description {
    font-size: 0.9em;
  }

  .page-about__hero-button {
    padding: 10px 20px;
    font-size: 0.8em;
  }

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