/* style/about.css */

/* Base Styles for the About Us Page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff; /* Assuming body background is light, or this section has white bg */
}

/* Section Styling */
.page-about__section {
  padding: 60px 20px;
  text-align: center;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Add some horizontal padding for smaller screens */
  box-sizing: border-box;
}

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

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

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 80px 20px;
  min-height: 600px;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure spacing from fixed header */
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
}

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

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

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

/* Call to Action Button */
.page-about__cta-button {
  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, transform 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-about__btn-primary {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
}

.page-about__btn-primary:hover {
  background-color: #1a8cc7; /* Slightly darker for hover */
  transform: translateY(-2px);
}

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

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

/* List Styles */
.page-about__list {
  list-style: none;
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
  text-align: left;
}

.page-about__list-item {
  background-color: #f9f9f9;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  font-size: 1.1em;
  color: #333333;
}

.page-about__list-item strong {
  color: #26A9E0;
}

/* Image container */
.page-about__image-container {
  margin: 40px auto;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

/* Dark background sections */
.page-about__dark-bg {
  background-color: #26A9E0; /* Main brand color */
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__subsection-title {
  color: #ffffff;
}

.page-about__dark-bg .page-about__text-block {
  color: #f0f0f0;
}

.page-about__dark-bg .page-about__list-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-about__dark-bg .page-about__list-item strong {
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #f5f5f5; /* Light grey background */
  color: #333333;
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__subsection-title {
  color: #26A9E0;
}

.page-about__light-bg .page-about__text-block {
  color: #333333;
}

/* Text links */
.page-about__text-link {
  color: #26A9E0;
  text-decoration: underline;
}

.page-about__text-link:hover {
  color: #1a8cc7;
}

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

.page-about__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 8px 8px 0 0;
}

.page-about__faq-item[open] .page-about__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

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

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

.page-about__faq-answer {
  padding: 15px 25px;
  font-size: 1.05em;
  color: #555555;
  background-color: #ffffff;
  border-radius: 0 0 8px 8px;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
}

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

.page-about__faq-answer a:hover {
  color: #1a8cc7;
}

/* Conclusion Section */
.page-about__conclusion-section {
  padding: 80px 20px;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__conclusion-section .page-about__section-title {
  color: #ffffff;
}

.page-about__conclusion-section .page-about__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin: 20px auto 40px auto;
}

.page-about__text-center {
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__subsection-title {
    font-size: 1.6em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure spacing from fixed header on mobile */
    min-height: 450px;
  }

  .page-about__hero-title {
    font-size: 2em !important;
  }
  .page-about__hero-description {
    font-size: 1em !important;
    padding: 0 10px;
  }

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

  .page-about__section-title {
    font-size: 1.8em !important;
  }
  .page-about__subsection-title {
    font-size: 1.4em !important;
  }
  .page-about__text-block {
    font-size: 0.95em !important;
  }

  .page-about__cta-button {
    padding: 12px 25px !important;
    font-size: 1em !important;
  }

  /* Image responsive rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 100% !important; /* Keep height for hero */
    object-fit: cover !important;
  }

  /* Image/Video/Button Container responsive rules */
  .page-about__section,
  .page-about__container,
  .page-about__image-container,
  .page-about__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button specific responsive */
  .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; /* Make buttons full width */
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Add space between stacked buttons */
  }

  .page-about__cta-buttons, /* If there's a button group */
  .page-about__button-group,
  .page-about__btn-container {
    display: flex !important;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 10px; /* Space between stacked buttons */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__faq-question {
    font-size: 1.1em !important;
    padding: 15px 20px;
  }
  .page-about__faq-answer {
    font-size: 0.95em !important;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em !important;
  }
  .page-about__hero-description {
    font-size: 0.9em !important;
  }
  .page-about__section-title {
    font-size: 1.6em !important;
  }
  .page-about__subsection-title {
    font-size: 1.2em !important;
  }
  .page-about__cta-button {
    font-size: 0.9em !important;
  }
}