/* style/about.css */

/* Base styles for page-about, ensuring light text on dark body background */
.page-about {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-about__dark-section {
  background-color: #0a0a0a; /* Ensure dark background for sections that need it */
  color: #ffffff;
  padding: 60px 0;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light backgrounds */
  padding: 60px 0;
}

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

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

.page-about p {
  margin-bottom: 1em;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative padding, body handles header offset */
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and text content */
}

.page-about__hero-image {
  width: 1200px; /* Display width */
  height: 675px; /* Display height, maintaining aspect ratio */
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-about__hero-content-wrapper {
  max-width: 900px;
  text-align: center;
}

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

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.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: #ffffff;
  border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-about__mission-vision .page-about__grid,
.page-about__social-responsibility .page-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-about__card {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark sections */
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-about__card-image {
  width: 800px; /* Display width */
  height: 600px; /* Display height */
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 20px;
  border-radius: 6px;
  object-fit: cover;
}

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

.page-about__feature-card {
  background-color: #f8f8f8; /* Light background for light section */
  color: #333333; /* Dark text for light background */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__feature-card .page-about__card-title {
  color: #26A9E0;
}

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

.page-about__history-team .page-about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-about__list {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #333333;
}

.page-about__list li {
  margin-bottom: 8px;
}

.page-about__image-full-width {
  width: 800px; /* Display width */
  height: 600px; /* Display height */
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 30px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

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

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

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  text-decoration: none; /* For link toggles */
  color: inherit; /* Inherit color for link toggles */
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
}

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

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

.page-about__cta-container .page-about__description {
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-about__mission-vision .page-about__grid,
  .page-about__social-responsibility .page-about__grid {
    grid-template-columns: 1fr;
  }
  .page-about__hero-content-wrapper {
    padding: 0 15px;
  }
}

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

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

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

  .page-about__hero-section,
  .page-about__dark-section,
  .page-about__light-bg {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
  }

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

  .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,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__card,
  .page-about__feature-card,
  .page-about__text-block,
  .page-about__faq-item,
  .page-about__cta-section,
  .page-about__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

  /* Ensure padding for content within sections */
  .page-about__mission-vision .page-about__container,
  .page-about__why-choose-us .page-about__container,
  .page-about__social-responsibility .page-about__container,
  .page-about__history-team .page-about__container,
  .page-about__faq-section .page-about__container,
  .page-about__cta-section .page-about__cta-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding: 30px 10px;
    padding-top: 10px; /* Still small decorative padding */
  }

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

  .page-about__card-title {
    font-size: 1.3em;
  }

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

  .page-about__faq-answer {
    padding: 15px 20px;
  }
}