/* style/about.css */
.page-about {
  color: #333333; /* Dark text for light body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-about__hero-section {
  background: linear-gradient(135deg, #FFD700 0%, #1E90FF 100%);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 200px; /* Ensure button minimum width */
  text-align: center;
}

.page-about__button--primary {
  background-color: #FFD700;
  color: #1E90FF;
  border: 2px solid #FFD700;
}

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

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

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

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

.page-about__content-section {
  padding: 60px 0;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #1E90FF;
  text-align: center;
  margin-bottom: 50px;
  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-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__story-image-wrapper {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-about__story-image {
  display: block;
  width: 100%;
  height: auto;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-about__story-image:hover {
  transform: scale(1.05);
}

.page-about__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #444444;
}

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-about__mission-vision-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__mission-vision-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.page-about__mission-vision-icon {
  width: 100%;
  height: auto;
  max-width: 200px;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 25px;
}

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

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

.page-about__value-card {
  background-color: #f9f9f9;
  border-left: 5px solid #1E90FF;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-about__cta-section {
  background-color: #1E90FF;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-about__cta-container {
  max-width: 800px;
}

.page-about__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-about__button--cta {
  min-width: 250px;
  margin: 10px;
}

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

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

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

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

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

  .page-about__item-title {
    font-size: 1.6em;
  }

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

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

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

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

  .page-about__hero-actions {
    flex-direction: column;
  }

  .page-about__button {
    width: 100%;
    max-width: 300px;
  }

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

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

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

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

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

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

  .page-about__item-title {
    font-size: 1.4em;
  }

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

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