.page-about {
  color: #ffffff;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #0f0f1a; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-about__hero-section {
  position: relative;
  padding: 80px 20px 40px;
  text-align: center;
  background-color: #1a1a2e;
  overflow: hidden;
}

.page-about__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-about__hero-cta-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-about__hero-button--primary {
  background-color: #e94560;
  color: #ffffff;
  border: 2px solid #e94560;
}

.page-about__hero-button--primary:hover {
  background-color: #c73750;
  transform: translateY(-3px);
}

.page-about__hero-button--secondary {
  background-color: transparent;
  color: #e94560;
  border: 2px solid #e94560;
}

.page-about__hero-button--secondary:hover {
  background-color: rgba(233, 69, 96, 0.1);
  transform: translateY(-3px);
}

.page-about__content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #e94560;
  text-align: center;
  margin-bottom: 30px;
  padding-top: 20px;
}

.page-about__section-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 25px;
  text-align: justify;
}

.page-about__section-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px;
}

.page-about__dark-background {
  background-color: #1a1a2e;
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

.page-about__value-title {
  font-size: 1.8em;
  color: #e94560;
  margin-bottom: 15px;
  text-align: center;
}

.page-about__value-description {
  font-size: 1em;
  color: #cccccc;
  text-align: justify;
}

.page-about__cta-group {
  margin-top: 50px;
  text-align: center;
}

.page-about__button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
  margin: 0 10px;
}

.page-about__button--primary {
  background-color: #e94560;
  color: #ffffff;
  border: 2px solid #e94560;
}

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

.page-about__button--secondary {
  background-color: transparent;
  color: #e94560;
  border: 2px solid #e94560;
}

.page-about__button--secondary:hover {
  background-color: rgba(233, 69, 96, 0.1);
  transform: translateY(-3px);
}

.page-about__button--tertiary {
  background-color: #33334d;
  color: #ffffff;
  border: 2px solid #33334d;
}

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

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

.page-about__cta-content {
  max-width: 900px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 15px 30px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
  }
  .page-about__hero-cta-group, .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__hero-button, .page-about__button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto; /* Center buttons */
  }
  .page-about__content-wrapper {
    padding: 30px 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-about__section-text {
    font-size: 1em;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-card {
    padding: 20px;
  }
  .page-about__value-title {
    font-size: 1.5em;
  }
  /* Mobile image handling to prevent overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
}

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