.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background); /* Dark background for the page */
}

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

.page-about__dark-section {
  background-color: var(--background);
  color: var(--text-main);
  padding: 60px 0;
}

.page-about__light-bg {
  background-color: var(--card-bg);
  color: var(--text-main);
  padding: 60px 0;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  min-height: 600px;
  overflow: hidden;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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: var(--button);
  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: transparent;
  color: var(--text-main);
  border: 2px solid var(--border);
}

.page-about__btn-secondary:hover {
  background: var(--border);
  color: var(--text-main);
}

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

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

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

.page-about__text-block {
  flex: 1;
}

.page-about__image-content {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.page-about__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  object-fit: cover;
}

.page-about__values-list,
.page-about__security-features,
.page-about__responsible-tools,
.page-about__support-channels,
.page-about__future-goals {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__values-list li,
.page-about__security-features li,
.page-about__responsible-tools li,
.page-about__support-channels li,
.page-about__future-goals li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: var(--text-secondary);
}

.page-about__values-list li::before,
.page-about__security-features li::before,
.page-about__responsible-tools li::before,
.page-about__support-channels li::before,
.page-about__future-goals li::before {
  content: '✓';
  color: var(--glow);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-about__list-item-title,
.page-about__feature-title,
.page-about__tool-title,
.page-about__channel-title,
.page-about__goal-title {
  color: var(--text-main);
}

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

.page-about__timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--divider);
  transform: translateX(-50%);
}

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

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

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

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--glow);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.page-about__timeline-year {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--gold);
  flex-basis: 150px;
  text-align: center;
}

.page-about__timeline-event {
  flex-basis: 45%;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 8px;
  color: var(--text-secondary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__timeline-item:nth-child(odd) .page-about__timeline-event {
  margin-left: 30px;
  text-align: left;
}

.page-about__timeline-item:nth-child(even) .page-about__timeline-event {
  margin-right: 30px;
  text-align: right;
}

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

.page-about__product-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  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__product-card:hover {
  transform: translateY(-5px);
}

.page-about__product-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
}

.page-about__product-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-about__btn-link {
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
}

.page-about__btn-link:hover {
  text-decoration: underline;
}

.page-about__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-about__cta-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--text-main);
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--text-main);
  user-select: none;
  list-style: none;
}

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

.page-about__faq-item summary::marker {
  display: none;
}

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

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

.page-about__faq-answer {
  padding: 0 25px 20px;
  color: var(--text-secondary);
  font-size: 1rem;
}

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

.page-about__faq-link {
  color: var(--glow);
  text-decoration: none;
  font-weight: bold;
}

.page-about__faq-link:hover {
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-about__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-about__content-wrapper--reversed {
    flex-direction: column;
  }

  .page-about__image-content {
    max-width: 80%;
    margin-top: 30px;
  }

  .page-about__timeline::before {
    left: 20px;
  }

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

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

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

  .page-about__timeline-year {
    margin-left: 40px;
    text-align: left;
    flex-basis: auto;
    margin-bottom: 10px;
  }

  .page-about__timeline-event {
    flex-basis: auto;
    margin-left: 40px;
    margin-right: 20px;
    text-align: left;
  }

  .page-about__timeline-item:nth-child(odd) .page-about__timeline-event,
  .page-about__timeline-item:nth-child(even) .page-about__timeline-event {
    margin-left: 40px;
    margin-right: 20px;
  }

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

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section,
  .page-about__dark-section,
  .page-about__light-bg,
  .page-about__cta-section {
    padding: 40px 0;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 40px;
    min-height: 400px;
  }

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

  .page-about__main-title {
    font-size: 2rem !important;
  }

  .page-about__description {
    font-size: 1rem;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link {
    padding: 12px 20px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section-title {
    font-size: 1.8rem !important;
    margin-bottom: 30px;
  }

  .page-about__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__image-content,
  .page-about__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-about__timeline-year {
    font-size: 1.5rem;
  }

  .page-about__timeline-event {
    font-size: 0.95rem;
  }

  .page-about__product-card {
    padding: 25px;
  }

  .page-about__product-title {
    font-size: 1.3rem;
  }

  .page-about__cta-title {
    font-size: 2rem !important;
  }

  .page-about__cta-description {
    font-size: 1rem;
  }

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

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

/* Ensure all image and video containers handle overflow on mobile */
.page-about__section,
.page-about__card,
.page-about__container,
.page-about__content-wrapper,
.page-about__product-grid,
.page-about__product-card,
.page-about__timeline,
.page-about__timeline-item,
.page-about__faq-list,
.page-about__faq-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Desktop video width for flex containers */
.page-about__video-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}