/* style/about.css */

/* Body padding handled by shared.css: body { padding-top: var(--header-offset); } */

.page-about {
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, header offset handled by body */
  overflow: hidden;
  background: linear-gradient(135deg, #26A9E0, #0F75B0);
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-about__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  color: #FFFFFF;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #FFFFFF;
  /* No fixed font-size, rely on clamp for responsiveness if needed */
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-about__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: #EA7C07; /* Login color for primary action */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

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

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

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-about__section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-about__mission-vision .page-about__content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.page-about__sub-title {
  font-size: 1.8rem;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__text-block p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.page-about__why-choose {
  background-color: #F8F8F8;
}

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

.page-about__feature-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-about__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-about__feature-card p {
  line-height: 1.7;
  color: #555555;
}

.page-about__cta-center {
  text-align: center;
  margin-top: 60px;
}

.page-about__dark-section {
  background-color: #26A9E0; /* Brand main color */
  color: #FFFFFF; /* White text for dark background */
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__section-description {
  color: #FFFFFF;
}

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

.page-about__commitment-item {
  background: rgba(255, 255, 255, 0.15); /* Semi-transparent white background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #FFFFFF;
  line-height: 1.7;
}

.page-about__commitment-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

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

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

.page-about__team-photo {
  width: 100%;
  max-width: 200px;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 20px auto;
  display: block;
  border: 4px solid #26A9E0;
}

.page-about__member-name {
  font-size: 1.4rem;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__member-role {
  font-size: 1rem;
  color: #555555;
  line-height: 1.6;
}

.page-about__faq-section {
  background-color: #F8F8F8;
}

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

.page-about__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #FDFDFD;
  border-bottom: 1px solid #E0E0E0;
  list-style: none; /* For details summary */
}

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

.page-about__faq-item[open] .page-about__faq-question {
  background-color: #EBF8FE;
  color: #26A9E0;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  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 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: #555555;
}

.page-about__contact-cta {
  padding: 100px 0;
  text-align: center;
}

/* Image & Video Responsive */
.page-about img,
.page-about video {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-about__hero-image-wrapper,
.page-about__section,
.page-about__container,
.page-about__content-grid,
.page-about__features-grid,
.page-about__commitment-list,
.page-about__team-grid,
.page-about__faq-list,
.page-about__video-container,
.page-about__video-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

  .page-about__hero-description {
    font-size: 1rem;
  }

  .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: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }

  .page-about__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .page-about__sub-title {
    font-size: 1.5rem;
  }

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

  .page-about__feature-icon {
    max-width: 200px;
  }

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

  .page-about__member-name {
    font-size: 1.2rem;
  }

  .page-about__faq-list {
    margin-top: 30px;
  }

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

  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9rem;
  }

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

  .page-about__hero-image-wrapper,
  .page-about__section,
  .page-about__container,
  .page-about__content-grid,
  .page-about__features-grid,
  .page-about__commitment-list,
  .page-about__team-grid,
  .page-about__faq-list,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

/* Image color filter restriction */
.page-about img {
  filter: none; /* Ensure no CSS filters are applied */
}