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

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

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

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

.page-about__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--text-main);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-about__sub-title {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.3;
}

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

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body handles padding-top, only small top padding for section */
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
}

.page-about__main-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -1px;
}

.page-about__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: var(--card-bg);
  color: var(--text-main);
  border: 2px solid var(--border);
}

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

/* History Section */
.page-about__history-section .page-about__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  object-fit: cover;
}

.page-about__image--left {
  float: none;
  margin-right: auto;
  margin-left: auto;
}

.page-about__image--right {
  float: none;
  margin-left: auto;
  margin-right: auto;
}

/* Advantages Section */
.page-about__advantages-section {
  background-color: var(--card-bg);
}

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

.page-about__card {
  background-color: var(--background);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: var(--text-main);
}

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

.page-about__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
  line-height: 1.3;
}

.page-about__card-description {
  font-size: 16px;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-about__card-link {
  color: var(--glow);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--glow);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about__card-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* Commitment Section */
.page-about__two-column-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
  text-align: left;
}

.page-about__two-column-layout .page-about__btn-primary {
  margin-top: 20px;
}

/* Future Section */
.page-about__future-section .page-about__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: var(--background);
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
}

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

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

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

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

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: var(--text-secondary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-about__faq-item[open] .page-about__faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  transition: max-height 0.5s ease-in;
}

/* Ensure summary text is clickable */
.page-about__faq-question .page-about__faq-qtext,
.page-about__faq-question .page-about__faq-toggle {
  pointer-events: none; /* Allow click on the entire summary */
}

/* CTA Bottom Section */
.page-about__cta-bottom-content {
  padding: 40px 20px;
}

/* Custom Colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding-bottom: 40px;
  }

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

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

  .page-about__two-column-layout {
    grid-template-columns: 1fr;
  }

  .page-about__image--left,
  .page-about__image--right {
    float: none;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }

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

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

  .page-about__hero-description {
    font-size: 18px;
  }

  .page-about__text-block {
    font-size: 16px;
  }

  .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: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__image,
  .page-about__card-image,
  .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__history-section,
  .page-about__advantages-section,
  .page-about__commitment-section,
  .page-about__future-section,
  .page-about__faq-section,
  .page-about__cta-bottom-section,
  .page-about__hero-image-wrapper,
  .page-about__cta-buttons,
  .page-about__two-column-layout,
  .page-about__faq-list,
  .page-about__faq-item,
  .page-about__faq-question,
  .page-about__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-about__hero-section,
  .page-about__video-section { /* Added for consistency, though no video in this page */
    padding-top: 10px !important;
  }

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

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