/* style/about.css */

/* Base styles for the about page */
.page-about {
  color: #ffffff; /* Body background is dark #121212, so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Rely on shared.css for body 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__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark for sections */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: rgba(255, 255, 255, 0.05); /* Very light transparent white on dark background */
  color: #ffffff;
}

.page-about__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #26A9E0;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-about__text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__text-block a:hover {
  text-decoration: underline;
}

.page-about__keyword {
  font-weight: bold;
  color: #26A9E0;
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__hero-content {
  position: relative; /* Ensure content is above image but not overlapping its area */
  z-index: 10;
  max-width: 900px;
  margin-top: 40px; /* Space between image and text */
  text-align: center;
  padding: 0 20px;
}

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

.page-about__lead-text {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  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, color 0.3s ease, border-color 0.3s ease;
  margin: 10px;
  box-sizing: border-box;
}

.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;
}

/* Intro Section */
.page-about__intro-section .page-about__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-about__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1.05em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.page-about__value-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
  color: #f0f0f0;
}

.page-about__value-list li strong {
  color: #26A9E0;
}

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

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  height: 100%;
  box-sizing: border-box;
}

.page-about__commitment-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__commitment-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

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

.page-about__team-member {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  height: 100%;
  box-sizing: border-box;
}

.page-about__team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #26A9E0;
}

.page-about__member-name {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

.page-about__cta-text {
  margin-top: 40px;
  font-size: 1.2em;
  color: #f0f0f0;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #26A9E0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
  list-style: none; /* For details/summary */
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #1e87c0;
}

.page-about__faq-answer {
  padding: 20px;
  font-size: 1.05em;
  color: #f0f0f0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-about__faq-answer a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__faq-answer a:hover {
  text-decoration: underline;
}

/* CTA Section */
.page-about__cta-section {
  background-color: #1a1a1a;
  padding: 80px 0;
}

.page-about__cta-container {
  max-width: 800px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__hero-image-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-about__container,
  .page-about__hero-content,
  .page-about__cta-container {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about__section-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-about__main-title {
    font-size: clamp(2em, 7vw, 3em);
  }

  .page-about__lead-text {
    font-size: 1.1em;
  }

  .page-about__hero-image-wrapper {
    max-height: 300px;
  }

  /* Images responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__commitment-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Buttons responsive */
  .page-about__btn-primary,
  .page-about__btn-secondary {
    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;
  }

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

  .page-about__card-grid,
  .page-about__commitment-grid,
  .page-about__team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-about__faq-answer {
    font-size: 1em;
    padding: 15px;
  }

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

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: clamp(1.6em, 8vw, 2em);
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 9vw, 2.5em);
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}