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

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

/* Sections */
.page-about-us__intro-section,
.page-about-us__team-section,
.page-about-us__responsibility-section,
.page-about-us__conclusion-section {
  padding: 80px 0;
  text-align: center;
}

.page-about-us__intro-section {
  padding-top: 90px; /* Adjusted for fixed header (10px + 80px) */
  background: linear-gradient(135deg, #0d0d0d, #000000);
}

.page-about-us__commitment-section,
.page-about-us__history-section,
.page-about-us__faq-section {
  padding: 60px 0;
  text-align: center;
  background-color: #1a1a1a; /* Lighter dark background for contrast */
  color: #f0f0f0;
}

.page-about-us__dark-bg {
  background-color: #000000;
  color: #ffffff;
}

/* Headings */
.page-about-us__heading-primary {
  font-size: 42px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-about-us__heading-secondary {
  font-size: 32px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-about-us__heading-tertiary {
  font-size: 24px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 20px;
}

/* Paragraphs */
.page-about-us__paragraph {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e0e0e0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Images */
.page-about-us__image-wrapper {
  margin: 40px auto;
  max-width: 800px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-about-us__image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about-us__image-wrapper--small {
  margin: 20px auto;
  max-width: 300px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-about-us__image-wrapper--small img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Buttons */
.page-about-us__btn-primary,
.page-about-us__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-top: 30px;
  border: none;
}

.page-about-us__btn-primary {
  background-color: #FFD700;
  color: #000000;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-about-us__btn-primary:hover {
  background-color: #e6c200;
  box-shadow: 0 7px 20px rgba(255, 215, 0, 0.6);
  transform: translateY(-2px);
}

.page-about-us__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.page-about-us__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
  box-shadow: 0 7px 20px rgba(255, 215, 0, 0.4);
  transform: translateY(-2px);
}

/* Commitment Grid */
.page-about-us__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-about-us__commitment-item {
  background-color: #0d0d0d;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  text-align: left;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us__commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about-us__commitment-item .page-about-us__heading-tertiary {
  color: #FFD700;
  margin-top: 0;
}

.page-about-us__commitment-item .page-about-us__paragraph {
  color: #cccccc;
  font-size: 16px;
  text-align: left;
}

/* Lists */
.page-about-us__history-list,
.page-about-us__responsibility-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-about-us__list-item {
  background-color: #0d0d0d;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #e0e0e0;
  font-size: 17px;
  line-height: 1.6;
  border-left: 5px solid #FFD700;
}

.page-about-us__list-item strong {
  color: #FFD700;
}

/* FAQ Section */
.page-about-us__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about-us__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #0d0d0d;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #000000;
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about-us__faq-question:hover {
  background: #1a1a1a;
  border-color: #FFD700;
}

.page-about-us__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  text-align: left;
  pointer-events: none;
}

.page-about-us__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-about-us__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #cccccc;
  text-align: left;
  background-color: #0d0d0d;
  border-radius: 0 0 8px 8px;
}

.page-about-us__faq-item.active .page-about-us__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-about-us__faq-item.active .page-about-us__faq-toggle {
  color: #ffffff;
  transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about-us__heading-primary {
    font-size: 38px;
  }

  .page-about-us__heading-secondary {
    font-size: 28px;
  }

  .page-about-us__heading-tertiary {
    font-size: 22px;
  }

  .page-about-us__paragraph {
    font-size: 16px;
  }

  .page-about-us__btn-primary,
  .page-about-us__btn-secondary {
    padding: 12px 30px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-about-us__intro-section,
  .page-about-us__team-section,
  .page-about-us__responsibility-section,
  .page-about-us__conclusion-section {
    padding: 60px 0;
  }

  .page-about-us__intro-section {
    padding-top: 70px; /* Adjusted for mobile fixed header */
  }

  .page-about-us__commitment-section,
  .page-about-us__history-section,
  .page-about-us__faq-section {
    padding: 40px 0;
  }

  .page-about-us__container {
    padding: 0 15px;
  }

  .page-about-us__heading-primary {
    font-size: 30px;
    margin-bottom: 20px;
  }

  .page-about-us__heading-secondary {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .page-about-us__heading-tertiary {
    font-size: 20px;
  }

  .page-about-us__paragraph {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .page-about-us__image-wrapper {
    margin: 30px auto;
    border-radius: 8px;
  }

  .page-about-us__image-wrapper--small {
    margin: 15px auto;
    border-radius: 6px;
  }

  .page-about-us__commitment-grid {
    gap: 20px;
    margin-top: 30px;
  }

  .page-about-us__commitment-item {
    padding: 25px;
    border-radius: 10px;
  }

  .page-about-us__list-item {
    padding: 15px 20px;
    font-size: 15px;
    margin-bottom: 10px;
  }

  .page-about-us__faq-question {
    padding: 15px 20px;
  }

  .page-about-us__faq-question h3 {
    font-size: 16px;
  }

  .page-about-us__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }

  .page-about-us__faq-answer {
    padding: 0 20px;
  }

  .page-about-us__faq-item.active .page-about-us__faq-answer {
    padding: 15px 20px !important;
  }

  /* Ensure all images are responsive */
  .page-about-us img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about-us__section,
  .page-about-us__card,
  .page-about-us__container,
  .page-about-us__image-wrapper,
  .page-about-us__image-wrapper--small {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Override padding for container to prevent double padding */
  .page-about-us__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Remove padding from image wrappers if they are children of container */
  .page-about-us__container .page-about-us__image-wrapper,
  .page-about-us__container .page-about-us__image-wrapper--small {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}