.page-about {
  font-family: Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--background-color);
  line-height: 1.6;
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 40px;
  background-color: var(--card-bg);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

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

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

.page-about__hero-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  margin-top: -150px; /* Adjust to overlay slightly on the image */
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.page-about__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  color: var(--text-secondary);
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  margin-left: 15px;
}

.page-about__btn-secondary:hover {
  background-color: var(--main-color);
  color: #F2FFF6;
  transform: translateY(-2px);
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__dark-section {
  background-color: var(--deep-green);
  color: var(--text-main);
}

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

.page-about__section-title {
  font-size: clamp(24px, 3vw, 38px);
  color: var(--gold);
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--main-color);
  border-radius: 2px;
}

.page-about__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: justify;
}

.page-about__text-block:last-child {
  margin-bottom: 0;
}

.page-about__content-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about__content-flex--reverse {
  flex-direction: row-reverse;
}

.page-about__text-content {
  flex: 1;
  text-align: left;
}

.page-about__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.page-about__image-wrapper--full-width {
    flex: none;
    width: 100%;
    margin-top: 40px;
}

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

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

.page-about__feature-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  border: 1px solid var(--border);
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

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

.page-about__card-title {
  font-size: 22px;
  color: var(--main-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-text {
  font-size: 16px;
  color: var(--text-secondary);
  text-align: justify;
}

.page-about__contact-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__contact-item {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.page-about__contact-item::before {
  content: '✓';
  color: var(--main-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-about__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-main);
  cursor: pointer;
  background-color: var(--deep-green);
  border-bottom: 1px solid var(--divider);
  list-style: none; /* For details/summary */
}

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

.page-about__faq-item[open] > .page-about__faq-question {
  border-bottom: 1px solid var(--main-color);
}

.page-about__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--gold);
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: justify;
}

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

.page-about__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__content-flex {
    flex-direction: column;
  }
  .page-about__content-flex--reverse {
    flex-direction: column;
  }
  .page-about__hero-content-wrapper {
    margin-top: -100px;
    padding: 25px;
  }
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__hero-content-wrapper,
  .page-about__features-grid,
  .page-about__content-flex,
  .page-about__faq-list,
  .page-about__contact-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-section {
    padding-top: 10px;
    padding-bottom: 30px;
  }
  
  .page-about__hero-content-wrapper {
    margin-top: -80px;
    padding: 20px;
  }

  .page-about__main-title {
    font-size: 28px;
  }

  .page-about__subtitle {
    font-size: 16px;
  }

  .page-about__section-title {
    font-size: 24px;
  }

  .page-about__text-block {
    font-size: 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;
    margin: 10px 0 !important;
  }
  .page-about__hero-content-wrapper .page-about__btn-primary {
      margin-left: 0 !important;
  }
  .page-about__hero-content-wrapper .page-about__btn-secondary {
      margin-left: 0 !important;
  }

  .page-about__features-grid {
    grid-template-columns: 1fr;
  }

  .page-about__card-title {
    font-size: 20px;
  }

  .page-about__card-text {
    font-size: 15px;
  }

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

  .page-about__faq-answer {
    font-size: 14px;
    padding: 10px 20px 15px;
  }
}

/* Color Contrast System */
.page-about {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

.page-about__section-title {
  color: var(--gold);
}

.page-about__text-block {
  color: var(--text-secondary);
}

.page-about__card {
  background-color: var(--card-bg);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.page-about__card-title {
  color: var(--main-color);
}

.page-about__hero-content-wrapper {
  background-color: rgba(17, 39, 27, 0.9); /* Card BG with transparency */
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.page-about__faq-question {
  background-color: var(--deep-green);
  color: var(--text-main);
  border-bottom: 1px solid var(--divider);
}

.page-about__faq-answer {
  color: var(--text-secondary);
}

.page-about__contact-item {
  color: var(--text-main);
}

.page-about__contact-item strong {
  color: var(--gold);
}