/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #ffffff;
}

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

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0; /* Handled by body padding-top in shared.css */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #26A9E0, #5ac8fa);
  color: #ffffff;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

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

.page-about__hero-content {
  padding: 40px 20px;
  max-width: 900px;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

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

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

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

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

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #555555;
}

.page-about__introduction-section,
.page-about__responsibility-section,
.page-about__achievements-section,
.page-about__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-about__content-grid .page-about__text-block {
  flex: 1;
}

.page-about__content-grid .page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__text-block h3 {
  font-size: 1.8em;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

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

.page-about__values-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__values-list li {
  background: rgba(38, 169, 224, 0.1);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-left: 4px solid #26A9E0;
  border-radius: 4px;
  font-weight: bold;
}

.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-about__reason-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__reason-card:hover {
  transform: translateY(-10px);
}

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

.page-about__reason-card p {
  font-size: 0.95em;
  opacity: 0.9;
  margin-bottom: 20px;
}

.page-about__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
}

.page-about__team-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-about__team-member-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__team-member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #ffffff;
}

.page-about__team-member-name {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 5px;
}

.page-about__team-member-role {
  font-size: 0.9em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about__team-member-bio {
  font-size: 0.9em;
  opacity: 0.9;
}

.page-about__achievements-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

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

.page-about__achievement-card {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  border-top: 5px solid #26A9E0;
}

.page-about__achievement-card time {
  display: block;
  font-size: 0.85em;
  color: #777777;
  margin-top: 15px;
}

.page-about__contact-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__contact-info {
  font-size: 1.1em;
  margin-bottom: 40px;
}

.page-about__contact-info a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.page-about__contact-info a:hover {
  text-decoration: underline;
}

.page-about__faq-section {
  padding: 80px 0;
  background-color: #f9f9f9;
  color: #333333;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.1em;
  color: #26A9E0;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  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;
  font-size: 0.95em;
  color: #555555;
}

/* --- Responsive Styles --- */

/* General image responsiveness */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile styles */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding-bottom: 40px;
    padding-top: 0 !important; /* Ensure no double padding from shared */
  }

  .page-about__hero-image-wrapper {
    max-height: 300px;
  }

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

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px; /* Constrain button group width */
    margin: 0 auto;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important; /* Force full width on mobile */
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 0.95em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .page-about__introduction-section,
  .page-about__responsibility-section,
  .page-about__achievements-section,
  .page-about__faq-section,
  .page-about__why-choose-section,
  .page-about__team-section,
  .page-about__contact-section {
    padding: 40px 0;
  }

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

  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__text-block h3 {
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-about__values-list li {
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

  .page-about__reason-card,
  .page-about__team-member-card,
  .page-about__achievement-card {
    padding: 25px;
  }

  .page-about__team-member-image {
    width: 120px;
    height: 120px;
  }

  .page-about__team-member-name {
    font-size: 1.2em;
  }

  .page-about__team-member-role {
    font-size: 0.85em;
  }

  .page-about__contact-info {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-about__faq-answer {
    padding: 0 15px 15px;
    font-size: 0.9em;
  }
  
  /* General image responsive rules for content area */
  .page-about__content-area img,
  .page-about__text-block img,
  .page-about__image-block img,
  .page-about__reason-card img,
  .page-about__achievement-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Containers for images and content */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__content-grid > div {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px; */ /* Handled by .page-about__container */
    /* padding-right: 15px; */
  }
  
  /* Ensure padding for sections on mobile */
  .page-about__introduction-section .page-about__container,
  .page-about__responsibility-section .page-about__container,
  .page-about__achievements-section .page-about__container,
  .page-about__faq-section .page-about__container,
  .page-about__why-choose-section .page-about__container,
  .page-about__team-section .page-about__container,
  .page-about__contact-section .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* LOGO carousel items (if any) - special rule to maintain fixed size */
  /* Note: No logo carousel on this specific 'About Us' page, but including for completeness if it were present */
  /* .page-about__logo-item { */
  /*   width: 80px !important; */
  /*   height: 80px !important; */
  /*   max-width: 80px !important; */
  /*   box-sizing: border-box; */
  /* } */
}

/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-about__container {
    padding: 0 30px;
  }

  .page-about__hero-content {
    padding: 50px 30px;
  }

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

  .page-about__hero-description {
    font-size: 1.05em;
  }

  .page-about__content-grid {
    flex-direction: column;
    gap: 30px;
  }

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

  .page-about__reason-grid,
  .page-about__team-grid,
  .page-about__achievement-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-about__faq-list {
    max-width: 90%;
  }
}