/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background #121212 */
  background-color: transparent; /* body background is #121212 from shared.css */
}

.page-about__section-padding {
  padding: 80px 0;
}

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

.page-about__dark-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Primary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-about__text-center {
  text-align: center;
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__btn-primary {
  display: inline-block;
  background-color: #FFD700; /* Primary brand color */
  color: #121212; /* Dark text for contrast */
  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;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-about__btn-primary:hover {
  background-color: #e6c200; /* Slightly darker gold on hover */
  transform: translateY(-2px);
}

.page-about__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  background-color: #1a1a1a;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  overflow: hidden;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Make background image subtle */
  z-index: 0;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.5;
  color: #f0f0f0;
}

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

.page-about__mission-vision-section .page-about__mission-content {
  flex: 2;
}

.page-about__mission-vision-section .page-about__image-content {
  flex: 1;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-about__history-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 40px 0;
  margin: 0 auto;
  max-width: 800px;
}

.page-about__history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: #8B0000; /* Auxiliary color for timeline */
  transform: translateX(-50%);
}

.page-about__timeline-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  position: relative;
}

.page-about__timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #FFD700; /* Primary color for timeline dots */
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
  border: 2px solid #1a1a1a;
}

.page-about__timeline-item h3,
.page-about__timeline-item p {
  width: 45%;
  padding: 15px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

.page-about__timeline-item h3 {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-about__timeline-item:nth-child(odd) h3,
.page-about__timeline-item:nth-child(odd) p {
  text-align: right;
}

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

.page-about__value-card,
.page-about__advantage-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: #f0f0f0;
}

.page-about__value-card:hover,
.page-about__advantage-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__value-title,
.page-about__advantage-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-description,
.page-about__advantage-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-about__cta-bottom {
  text-align: center;
  margin-top: 60px;
}

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

.page-about__team-member {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: #f0f0f0;
}

.page-about__team-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 3px solid #FFD700;
  display: block; /* Ensure it's a block element for margin auto */
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-about__member-role {
  font-size: 1.1em;
  color: #8B0000; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-about__responsible-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  color: #f0f0f0;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.page-about__faq-title {
  font-size: 1.3em;
  color: #FFD700;
  margin: 0;
  font-weight: bold;
}

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

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Plus sign rotates to a cross/minus */
}

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

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

.page-about__conclusion-section {
  text-align: center;
}

/* Global image styling for min size and responsive */
.page-about img {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Specific image styling for content images */
.page-about__image-content {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__text, .page-about__text-center {
    font-size: 1em;
  }
  .page-about__mission-vision-section .page-about__container {
    flex-direction: column;
  }
  .page-about__mission-vision-section .page-about__mission-content,
  .page-about__mission-vision-section .page-about__image-content {
    flex: none;
    width: 100%;
  }
  .page-about__image-content {
    max-width: 80% !important; /* Adjust for smaller screens */
  }
  .page-about__team-avatar {
    width: 200px !important;
    height: 200px !important;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__section-padding {
    padding: 60px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__hero-section {
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__btn-primary {
    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;
  }

  /* Images responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min size */
    min-height: 200px !important; /* Enforce min size */
  }
}