.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: var(--background-color, #f5f5f5); /* Fallback to light grey */
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, not --header-offset */
  padding-bottom: 40px;
  overflow: hidden;
  background-color: #B71C1C; /* Background color from custom scheme */
  color: #FFF5E1; /* Text color for dark background */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin-top: 30px;
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFF5E1;
}

.page-about__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #FFF5E1;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #333333; /* Dark text for light gold button */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 216, 106, 0.6);
}

.page-about__btn-secondary {
  background: #C91F17;
  color: #FFF5E1;
  border: 2px solid #F2B544; /* Border color from custom scheme */
}

.page-about__btn-secondary:hover {
  background: #E53935;
  border-color: #FFCC66; /* Glow color for hover */
  transform: translateY(-2px);
}

.page-about__section-title {
  font-size: 2.2em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #C91F17; /* Main brand color for titles */
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__section-description {
  color: #FFF5E1; /* Text color for dark background */
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-about__mission-vision-section {
  padding: 60px 0;
  background-color: #B71C1C; /* Background color from custom scheme */
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-about__card {
  background-color: #D32F2F; /* Card background from custom scheme */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  color: #FFF5E1; /* Text color for dark background */
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-about__card-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F4D34D; /* Gold color for card titles */
}

.page-about__card p {
  font-size: 1em;
  margin-bottom: 20px;
}

.page-about__card-link {
  color: #FFCC66; /* Glow color for links */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__card-link:hover {
  color: #FFD86A;
  text-decoration: underline;
}

.page-about__values-section {
  padding: 60px 0;
  background-color: #f5f5f5; /* Light background */
}

.page-about__values-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.page-about__value-item {
  background-color: #ffffff;
  border-left: 5px solid #C91F17;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-about__value-heading {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #C91F17;
}

.page-about__value-item p {
  font-size: 1em;
  color: #555555;
}

.page-about__team-section {
  padding: 60px 0;
  background-color: #7A0E0E; /* Deep Red from custom scheme */
}

.page-about__team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-about__team-member {
  text-align: center;
  color: #FFF5E1;
}

.page-about__team-photo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #F2B544; /* Border color from custom scheme */
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 204, 102, 0.6); /* Glow effect */
}

.page-about__member-name {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 8px;
  color: #F4D34D; /* Gold color for names */
}

.page-about__member-role {
  font-size: 0.95em;
  opacity: 0.9;
}

.page-about__faq-section {
  padding: 60px 0;
  background-color: #f5f5f5; /* Light background */
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  font-size: 1.1em;
  color: #333333;
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #f8f8f8;
}
.page-about__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #C91F17;
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 25px 25px;
  background: #fdfdfd;
  border-radius: 0 0 10px 10px;
  color: #555555;
}
.page-about__faq-answer p {
  margin-bottom: 15px;
}
.page-about__faq-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  background-color: #E53935; /* Auxiliary color */
  color: #FFF5E1;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.page-about__faq-btn:hover {
  background-color: #C91F17;
}

.page-about__contact-cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #B71C1C; /* Background color from custom scheme */
}

/* General image responsive styles */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 2.8em);
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__content-grid,
  .page-about__values-list,
  .page-about__team-grid {
    gap: 25px;
  }
  .page-about__btn {
    padding: 10px 24px;
    font-size: 1em;
  }
  .page-about__team-photo {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-about__hero-content {
    margin-top: 20px;
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-about__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-about__btn,
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__section-description {
    font-size: 1em;
    margin-bottom: 40px;
    padding: 0 15px;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__card {
    padding: 25px;
  }
  .page-about__values-list {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-about__value-item {
    padding: 20px;
  }
  .page-about__value-heading {
    font-size: 1.3em;
  }
  .page-about__team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }
  .page-about__team-photo {
    width: 180px;
    height: 180px;
  }
  .page-about__member-name {
    font-size: 1.3em;
  }
  .page-about__faq-list {
    padding: 0 15px;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-about__faq-qtext {
    font-size: 1em;
  }
  .page-about__faq-toggle {
    font-size: 24px;
    margin-left: 15px;
    width: 25px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 20px 20px;
  }
  .page-about__faq-btn {
    font-size: 0.9em;
    padding: 6px 15px;
  }
  /* General image responsive styles for mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
  }
}