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

.page-about__dark-bg {
  background-color: #1a1a1a; /* Matching body background */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

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

.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, body handles --header-offset */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  max-width: 900px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__intro-text {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  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: #1e87c2;
  border-color: #1e87c2;
}

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

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87c2;
  border-color: #1e87c2;
}

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 25px;
  color: #26A9E0;
}

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

.page-about__light-bg .page-about__section-description {
  color: #555555;
}

.page-about__keyword {
  font-weight: bold;
  color: #EA7C07;
}

/* Mission & Values Section */
.page-about__mission-values-section {
  padding: 80px 0;
}

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

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

.page-about__value-card:hover {
  transform: translateY(-10px);
  background-color: #26A9E0;
}

.page-about__value-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__card-text {
  font-size: 1rem;
  color: #e0e0e0;
}

/* History Section */
.page-about__history-section {
  padding: 80px 0;
}

.page-about__history-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 20px 0;
}

.page-about__history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: #26A9E0;
  transform: translateX(-50%);
}

.page-about__timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}

.page-about__timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.page-about__timeline-item:nth-child(even) {
  flex-direction: row;
}

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 20px;
  background: #26A9E0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.page-about__timeline-year {
  font-size: 1.8rem;
  font-weight: 700;
  color: #26A9E0;
  flex: 0 0 150px;
  text-align: center;
  margin: 0 20px;
}

.page-about__timeline-text {
  flex: 1;
  font-size: 1.1rem;
  background-color: #f0f8ff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-about__history-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 50px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
}

.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.page-about__list-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #EA7C07;
  margin-bottom: 10px;
}

.page-about__list-text {
  font-size: 1rem;
  color: #e0e0e0;
}

/* Team Section */
.page-about__team-section {
  padding: 80px 0;
}

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

.page-about__team-member {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

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

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

.page-about__member-role {
  font-size: 1.1rem;
  color: #666666;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 0.95rem;
  color: #555555;
}

.page-about__team-closing {
  font-size: 1.1rem;
  text-align: center;
  margin-top: 50px;
  color: #333333;
}

/* CSR Section */
.page-about__csr-section {
  padding: 80px 0;
}

.page-about__csr-initiatives {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-about__csr-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__csr-image {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-about__item-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #EA7C07;
  margin-bottom: 10px;
}

.page-about__item-text {
  font-size: 1rem;
  color: #e0e0e0;
}

/* Vision Section */
.page-about__vision-section {
  padding: 80px 0;
}

.page-about__vision-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__vision-item {
  background-color: #f0f8ff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-about__vision-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 50px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
}

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

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

.page-about__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: #26A9E0;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none; /* For details/summary */
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  margin-left: 15px;
  color: #EA7C07;
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #e0e0e0;
  line-height: 1.7;
}

.page-about__link-text {
  color: #EA7C07;
  text-decoration: underline;
}

.page-about__link-text:hover {
  color: #ff9933;
}

.page-about__cta-buttons--bottom {
  margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__history-timeline::before {
    left: 20px;
    transform: translateX(0);
  }

  .page-about__timeline-item {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 50px;
  }

  .page-about__timeline-item:nth-child(odd) {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-about__timeline-item:nth-child(even) {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-about__timeline-item::before {
    left: 20px;
    transform: translate(-50%, -50%);
  }

  .page-about__timeline-year {
    text-align: left;
    flex: none;
    margin-left: 0;
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-about__main-title {
    font-size: 2.2rem;
  }

  .page-about__intro-text {
    font-size: 1.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;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

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

  .page-about__values-grid,
  .page-about__team-grid,
  .page-about__csr-initiatives,
  .page-about__commitment-list,
  .page-about__vision-list {
    grid-template-columns: 1fr;
    gap: 25px;
  }

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

  .page-about__hero-image-wrapper,
  .page-about__history-image,
  .page-about__vision-image,
  .page-about__value-icon,
  .page-about__member-photo,
  .page-about__csr-image,
  .page-about__faq-item,
  .page-about__faq-list,
  .page-about__cta-buttons--bottom,
  .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: 0px;
    padding-right: 0px;
  }
  
  .page-about__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

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