/* style/about.css */
.page-about {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-about__hero-section {
  background: linear-gradient(135deg, #000080, #0a0a90); /* Dark blue gradient */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

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

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #000080; /* Dark blue */
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

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

.page-about__story-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-about__story-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-about__story-text {
  flex: 1;
  min-width: 300px;
}

.page-about__story-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-about__story-button {
  display: inline-block;
  background-color: #000080; /* Dark blue button */
  color: #FFD700; /* Gold text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-about__story-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__story-image {
  width: 100%;
  max-width: 600px; /* Ensure image isn't too wide */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-about__values-section {
  padding: 80px 0;
  background-color: #ffffff;
}

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

.page-about__value-card {
  background-color: #f8f8f8;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page-about__value-icon {
  width: 200px; /* Min size 200px */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

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

.page-about__vision-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-about__vision-content {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  gap: 40px;
}

.page-about__vision-image {
  flex: 1;
  min-width: 300px;
  width: 100%;
  max-width: 600px; /* Ensure image isn't too wide */
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.page-about__vision-text {
  flex: 1;
  min-width: 300px;
}

.page-about__vision-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-about__vision-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #000080; /* Dark blue text */
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

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

.page-about__cta-section {
  background-color: #000080; /* Dark blue background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-about__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold */
  margin-bottom: 25px;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-about__cta-button--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark blue */
}

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

.page-about__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #FFD700; /* Gold border */
  color: #FFD700; /* Gold text */
}

.page-about__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #000080;
  transform: translateY(-2px);
}

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

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

  .page-about__story-content,
  .page-about__vision-content {
    flex-direction: column;
    text-align: center;
  }

  .page-about__story-image-wrapper,
  .page-about__vision-image {
    order: -1; /* Image above text on smaller screens */
  }

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

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  }

  .page-about__hero-section,
  .page-about__story-section,
  .page-about__values-section,
  .page-about__vision-section,
  .page-about__cta-section {
    padding: 60px 15px;
  }

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

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

  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }

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

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

  .page-about__cta-buttons {
    flex-direction: column;
  }

  .page-about__cta-button {
    width: 100%;
  }

  /* Critical: Ensure all images within .page-about are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
    object-fit: cover; /* Maintain aspect ratio */
  }

  /* Enforce minimum size for content images if specific rules are not overridden */
  .page-about__story-image,
  .page-about__vision-image,
  .page-about__value-icon {
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
    width: 100%; /* Override specific widths if needed to ensure responsiveness */
    height: auto;
  }
}

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

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

  .page-about__hero-button,
  .page-about__story-button,
  .page-about__vision-button,
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}