.page-about {
  color: #333333; /* Default text color for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header offset for desktop */
}

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

.page-about__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 80px 20px;
  background: linear-gradient(135deg, #8B0000, #FFD700);
  overflow: hidden;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-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.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-about__section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-about__section:nth-of-type(even) {
  background-color: #f8f8f8;
}

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

.page-about__paragraph {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #333333;
}

.page-about__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__card {
  background-color: #ffffff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__card-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1em;
  color: #555555;
}

.page-about__link {
  color: #8B0000;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #FFD700;
  text-decoration: underline;
}

.page-about__cta-section {
  background: linear-gradient(90deg, #8B0000, #FFD700);
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
}

.page-about__cta-content .page-about__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-about__cta-content .page-about__paragraph {
  color: #f0f0f0;
  margin-bottom: 40px;
}

.page-about__button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FFD700;
}

.page-about__button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.8em;
  }

  .page-about__hero-description {
    font-size: 1.1em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

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

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
  }

  .page-about__hero-section {
    padding: 60px 15px;
  }

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

  .page-about__hero-description {
    font-size: 1em;
  }

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

  .page-about__paragraph {
    font-size: 0.95em;
  }

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

  .page-about__card {
    padding: 25px;
  }

  .page-about__card-title {
    font-size: 1.3em;
  }

  .page-about__button {
    padding: 12px 25px;
    font-size: 1.1em;
  }

  .page-about__image {
    max-width: 100%;
    height: auto;
  }

  .page-about__container img, 
  .page-about__hero-section img {
    max-width: 100%;
    height: auto;
  }
  
  /* Ensure all content area images are at least 200px wide for display, but also responsive */
  .page-about__container img {
    min-width: 200px; /* Enforce minimum size if not already larger */
    min-height: 200px;
  }
}

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

  .page-about__hero-description {
    font-size: 0.9em;
  }

  .page-about__section-title {
    font-size: 1.5em;
  }

  .page-about__button {
    font-size: 1em;
    padding: 10px 20px;
  }
}