/* style/about.css */

/* --- General Styles --- */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Assuming body background is black from shared.css */
}

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

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

.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #26A9E0; /* Brand color for titles */
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0; /* Light text for readability on dark background */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* --- Hero Section --- */
.page-about__hero-section {
  position: relative;
  background-color: #000000; /* Ensure hero section has a dark background */
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.page-about__hero-section .page-about__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}

.page-about__hero-content {
  flex: 1;
  min-width: 300px;
  padding-right: 20px;
}

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

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

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

.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__hero-image-wrapper {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Section Specific Backgrounds --- */
.page-about__dark-bg {
  background-color: #0d0d0d; /* Slightly lighter dark for contrast with black body */
  color: #ffffff;
}

.page-about__introduction,
.page-about__team,
.page-about__experience,
.page-about__faq {
  background-color: #000000; /* Match body background */
  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.05); /* Slightly visible on black */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

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

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
}

/* Details element specific styling for FAQ */
.page-about__faq-item[open] .page-about__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}
.page-about__faq-item[open] .page-about__faq-toggle {
  content: "−";
}

/* Hide default marker for details */
.page-about__faq-item summary {
  list-style: none;
}
.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__intro-text {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section .page-about__container {
    flex-direction: column;
    text-align: center;
  }

  .page-about__hero-content {
    padding-right: 0;
  }

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

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-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__section {
    padding: 60px 0;
  }

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

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

  /* Images responsive */
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Fixed header padding for hero section on mobile */
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
  }
}