.page-about {
  font-family: 'Arial', sans-serif;
  color: var(--text-main, #FFF5E1); /* Default text color for dark backgrounds */
  background-color: var(--background, #B71C1C); /* Default background color */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: #7A0E0E;
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Dim image to ensure text contrast */
  display: block;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  color: #FFF5E1;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #FFD86A;
  text-shadow: 0 0 10px rgba(255, 216, 106, 0.7);
  /* No fixed font-size, use clamp if needed */
}

.page-about__description {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF5E1;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #333333; /* Dark text for light gold button */
  border: 2px solid #F2B544;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(244, 211, 77, 0.4);
}

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

.page-about__btn-secondary:hover {
  background-color: rgba(244, 211, 77, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(244, 211, 77, 0.2);
}

.page-about__btn-link {
  background-color: transparent;
  color: #FFD86A;
  border: 1px solid #F2B544;
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-about__btn-link:hover {
  background-color: rgba(244, 211, 77, 0.1);
  color: #FFF5E1;
}

.page-about__btn-primary--center {
  display: block;
  margin: 40px auto 0;
  max-width: 300px;
}

.page-about__btn-primary--small {
  padding: 8px 15px;
  font-size: 0.9em;
}

.page-about__section {
  padding: 80px 20px;
  text-align: center;
}

.page-about__dark-bg {
  background-color: #B71C1C;
  color: #FFF5E1;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-about__light-bg .page-about__heading,
.page-about__light-bg .page-about__card-title,
.page-about__light-bg .page-about__feature-title,
.page-about__light-bg .page-about__commitment-title,
.page-about__light-bg .page-about__info-title {
  color: #C91F17;
}

.page-about__light-bg .page-about__paragraph,
.page-about__light-bg .page-about__card-text,
.page-about__light-bg .page-about__list-item {
  color: #333333;
}

.page-about__heading {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #FFD86A;
}

.page-about__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-about__container--center {
  max-width: 900px;
}

.page-about__grid {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-about__card,
.page-about__feature-card,
.page-about__commitment-card,
.page-about__info-block {
  background-color: #D32F2F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #FFF5E1;
  border: 1px solid #F2B544;
}

.page-about__card--inverted {
  background-color: #7A0E0E;
  border: 1px solid #F2B544;
}

.page-about__card-title,
.page-about__feature-title,
.page-about__commitment-title,
.page-about__info-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: #FFD86A;
}

.page-about__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1;
}

.page-about__list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  color: #FFF5E1;
}

.page-about__list-item {
  margin-bottom: 10px;
  line-height: 1.6;
}

.page-about__list-item strong {
  color: #FFD86A;
}

.page-about__timeline {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
  padding: 20px 0;
}

.page-about__timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background-color: #F2B544;
  transform: translateX(-50%);
}

.page-about__timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 20px;
  background-color: #D32F2F;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #FFF5E1;
  border: 1px solid #F2B544;
}

.page-about__timeline-item:nth-child(odd) {
  left: -25%;
  text-align: right;
}

.page-about__timeline-item:nth-child(even) {
  left: 25%;
  text-align: left;
}

.page-about__timeline-item::before {
  content: '';
  position: absolute;
  top: 25px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #FFD86A;
  border: 3px solid #F2B544;
  z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::before {
  right: -35px;
}

.page-about__timeline-item:nth-child(even)::before {
  left: -35px;
}

.page-about__timeline-year {
  font-size: 1.8em;
  font-weight: bold;
  color: #FFD86A;
  margin-bottom: 10px;
}

.page-about__timeline-event {
  font-size: 1em;
  line-height: 1.6;
}

.page-about__image-inline {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__list--future {
  text-align: center;
  max-width: 900px;
  margin: 40px auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.page-about__list--future .page-about__list-item {
  background-color: #7A0E0E;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #F2B544;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  flex: 1 1 calc(33% - 40px);
  max-width: calc(33% - 40px);
  min-width: 280px;
  text-align: left;
}

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

.page-about__faq-item {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF5E1;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #FFD86A;
  background-color: #7A0E0E;
  border-bottom: 1px solid #F2B544;
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

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

.page-about__faq-question .page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #FFF5E1;
}

.page-about__faq-answer a {
  color: #FFD86A;
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #F4D34D;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__timeline-item:nth-child(odd),
  .page-about__timeline-item:nth-child(even) {
    left: 0;
    text-align: left;
  }

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

  .page-about__timeline-item::before {
    left: 5px;
    right: auto;
  }

  .page-about__timeline-item {
    padding-left: 50px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-content {
    padding: 15px;
  }

  .page-about__main-title {
    font-size: 1.8em;
  }

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

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section {
    padding: 40px 15px;
  }

  .page-about__heading {
    font-size: 2em;
    margin-bottom: 30px;
  }

  .page-about__paragraph {
    font-size: 0.95em;
    margin-bottom: 20px;
  }

  .page-about__grid--3-cols,
  .page-about__grid--2-cols {
    grid-template-columns: 1fr;
  }

  .page-about__card,
  .page-about__feature-card,
  .page-about__commitment-card,
  .page-about__info-block {
    padding: 20px;
    text-align: center;
  }

  .page-about__card-title,
  .page-about__feature-title,
  .page-about__commitment-title,
  .page-about__info-title {
    font-size: 1.3em;
  }

  .page-about__list {
    text-align: center;
  }

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

  .page-about__timeline-item:nth-child(odd),
  .page-about__timeline-item:nth-child(even) {
    left: 0;
    text-align: center;
    padding: 20px;
  }

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

  .page-about__timeline-year {
    margin-top: 20px;
  }

  .page-about__list--future .page-about__list-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .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__cta-buttons,
  .page-about__timeline,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-about__hero-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.5em;
  }

  .page-about__heading {
    font-size: 1.8em;
  }
}

/* Color Contrast Fixes - Ensure readability */
.page-about__light-bg a {
  color: #C91F17; /* Brand primary color for links on light background */
}
.page-about__light-bg a:hover {
  color: #E53935;
}

.page-about__dark-bg a {
  color: #FFD86A; /* Gold for links on dark background */
}
.page-about__dark-bg a:hover {
  color: #F4D34D;
}