/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  color: #ffffff; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px;
  object-fit: cover;
  display: block;
  margin-bottom: 40px; /* Separating image from text content */
  border-radius: 8px;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Slightly transparent background for readability */
  border-radius: 8px;
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive H1 font size */
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__lead-paragraph {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  font-size: 1.05em;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
  background: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87c0;
  border-color: #1e87c0;
  transform: translateY(-2px);
}

/* Mission & Vision Section */
.page-about__mission-vision {
  background: #ffffff; /* Light background for contrast */
  color: #333333;
  padding: 60px 0;
}

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

.page-about__card {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #e0e0e0;
}

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

/* Why Choose Us Section */
.page-about__why-choose-us {
  background: #1a1a1a; /* Dark background */
  color: #ffffff;
  padding: 80px 0;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-about__feature-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__feature-icon {
  width: 100%;
  max-width: 100px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__cta-buttons--center {
  margin-top: 40px;
}

/* Our Team Section */
.page-about__our-team {
  background: #ffffff; /* Light background */
  color: #333333;
  padding: 60px 0;
}

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

.page-about__team-member {
  text-align: center;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
}

.page-about__team-photo {
  width: 100%;
  max-width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 4px solid #26A9E0;
}

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

.page-about__member-title {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 0.95em;
  color: #666666;
}

/* FAQ Section */
.page-about__faq-section {
  background: #1a1a1a; /* Dark background */
  color: #ffffff;
  padding: 80px 0;
}

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

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 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: rgba(255, 255, 255, 0.02);
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  position: relative;
  list-style: none; /* For details/summary */
}

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

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1.05em;
  color: #cccccc;
  line-height: 1.5;
}

/* Contact CTA Section */
.page-about__contact-cta {
  background: #ffffff; /* Light background */
  color: #333333;
  padding: 60px 0;
  text-align: center;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container,
  .page-about__hero-section,
  .page-about__mission-vision,
  .page-about__why-choose-us,
  .page-about__our-team,
  .page-about__faq-section,
  .page-about__contact-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

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

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

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

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

  .page-about__card,
  .page-about__feature-item,
  .page-about__team-member {
    padding: 25px;
  }

  .page-about__hero-image,
  .page-about__feature-icon,
  .page-about__team-photo,
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

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

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

  .page-about__hero-content {
    padding: 15px;
  }
}