.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #f5f5f5;
}

.page-about__section-padding {
  padding: 60px 20px;
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 20px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.page-about__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.page-about__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-about__section-title {
  font-size: 2.5em;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  margin: 15px auto 0;
}

.page-about__subsection-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__dark-section {
  background-color: #8B0000;
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__subsection-title {
  color: #FFD700;
}

.page-about__dark-section .page-about__section-title::after {
  background-color: #ffffff;
}

.page-about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.page-about__grid--reverse .page-about__grid-item:first-child {
  order: 2;
}

.page-about__grid--reverse .page-about__grid-item:last-child {
  order: 1;
}

.page-about__image-full {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0; /* Added for contrast */
  color: #333333; /* Dark text for light card background */
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__card-title {
  font-size: 1.5em;
  color: #8B0000;
  margin-bottom: 15px;
  min-height: 40px;
}

.page-about__card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  text-align: justify;
}

.page-about__cta-container {
  margin-top: 60px;
  text-align: center;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.page-about__cta-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.6);
  min-width: 200px;
  min-height: 200px;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #8B0000;
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  border: none;
}

.page-about__cta-button:hover {
  background-color: #6a0000;
  transform: translate(-50%, -50%) translateY(-3px);
}

.page-about__cta-button--gold {
  background-color: #FFD700;
  color: #8B0000;
}

.page-about__cta-button--gold:hover {
  background-color: #e6c200;
  color: #6a0000;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__subsection-title {
    font-size: 1.5em;
  }
  .page-about__text-block, .page-about__card-text {
    font-size: 1em;
  }
  .page-about__grid {
    grid-template-columns: 1fr;
  }
  .page-about__grid--reverse .page-about__grid-item:first-child {
    order: initial;
  }
  .page-about__grid--reverse .page-about__grid-item:last-child {
    order: initial;
  }
  .page-about__values-grid, .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__section-padding {
    padding: 40px 15px;
  }
  .page-about__hero-section {
    height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__subsection-title {
    font-size: 1.3em;
  }
  .page-about__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .page-about__card-title {
    font-size: 1.3em;
    min-height: auto;
  }

  /* Image responsive adjustments */
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Button responsive adjustments */
  .page-about__hero-button,
  .page-about__cta-button,
  .page-about__cta-button--large,
  .page-about__cta-button--gold,
  .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;
    position: relative !important; /* Adjust position for full width */
    transform: none !important; /* Reset transform */
    left: auto !important;
    top: auto !important;
    margin-top: 20px;
  }
  .page-about__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .page-about__cta-image {
    filter: brightness(0.8); /* Less dark on mobile */
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
}