.page-about {
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px);
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background-color: #017439; /* Brand color as background */
  color: #ffffff;
  min-height: 500px;
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
    overflow: hidden;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  position: relative;
  z-index: 1;
}

.page-about__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  cursor: pointer;
}

.page-about__btn-primary {
  background-color: #C30808;
  color: #FFFF00;
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #e00b0b;
  border-color: #e00b0b;
}

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

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

/* General Sections */
.page-about__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: #017439;
  font-weight: 700;
}

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

.page-about__introduction-section,
.page-about__why-choose-us-section,
.page-about__future-section {
  background-color: #ffffff;
  color: #333333;
  padding: 60px 0;
}

.page-about__commitment-section,
.page-about__team-section,
.page-about__faq-section {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 60px 0;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.page-about__text-block--center {
    text-align: center;
}

/* Grid Layouts */
.page-about__feature-grid,
.page-about__commitment-grid,
.page-about__advantage-grid,
.page-about__team-grid,
.page-about__future-vision-grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-about__commitment-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-about__advantage-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-about__team-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.page-about__future-vision-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    text-align: left;
}

/* Card Styles */
.page-about__feature-item,
.page-about__commitment-item,
.page-about__advantage-item,
.page-about__team-member,
.page-about__future-vision-item {
  background-color: rgba(255, 255, 255, 0.95);
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-about__dark-bg .page-about__feature-item,
.page-about__dark-bg .page-about__commitment-item,
.page-about__dark-bg .page-about__team-member {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__feature-icon,
.page-about__commitment-image,
.page-about__advantage-image,
.page-about__team-avatar {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  display: block;
}

.page-about__team-avatar {
    border-radius: 50%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
}

.page-about__feature-title,
.page-about__commitment-title,
.page-about__advantage-title,
.page-about__team-name,
.page-about__future-vision-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #017439;
  font-weight: 600;
}

.page-about__dark-bg .page-about__feature-item .page-about__feature-title,
.page-about__dark-bg .page-about__commitment-item .page-about__commitment-title,
.page-about__dark-bg .page-about__team-member .page-about__team-name {
    color: #ffffff;
}

/* CTA Buttons Centered */
.page-about__cta-buttons--centered {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-about__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #ffffff;
  font-weight: 600;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important;
  padding: 15px 20px 20px 20px;
}

.page-about__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    min-height: auto;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .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: 12px 20px;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-about__text-block {
    font-size: 1em;
    text-align: left; /* Adjust text alignment for mobile readability */
  }

  /* Image responsive */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__feature-item,
  .page-about__commitment-item,
  .page-about__advantage-item,
  .page-about__team-member,
  .page-about__future-vision-item,
  .page-about__faq-item,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about__cta-buttons--centered {
      flex-direction: column;
      gap: 15px;
      padding: 0 15px; /* Add padding to container of buttons */
  }
  .page-about__cta-buttons--centered a {
      width: 100%;
      max-width: 100%;
  }

  .page-about__feature-title,
  .page-about__commitment-title,
  .page-about__advantage-title,
  .page-about__team-name,
  .page-about__future-vision-title {
    font-size: 1.3em;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__faq-question h3 {
    font-size: 1em;
  }
}