/* style/about.css */
.page-about {
  color: #ffffff; /* Light text for dark body background */
  padding-top: var(--header-offset, 120px);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__section-title,
.page-about__card-title,
.page-about__cta-title {
  color: #FFD700; /* Auxiliary color for titles */
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5em;
  font-weight: bold;
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 80px 0;
  padding-top: var(--header-offset, 120px); /* Ensure header offset applies */
  background-color: #0A1931;
}

.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-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

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

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

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

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

.page-about__btn--primary {
  background-color: #FFD700;
  color: #0A1931;
}

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

.page-about__btn--secondary {
  background-color: #0A1931;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-about__btn--secondary:hover {
  background-color: #1a335a;
  transform: translateY(-2px);
}

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

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

.page-about__story-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-about__story-text {
  flex: 1;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-about__mission-section {
  padding: 80px 0;
  background-color: #050E1A;
}

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

.page-about__mission-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-about__mission-card p {
  font-size: 1em;
  color: #e0e0e0;
}

.page-about__mission-image {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

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

.page-about__value-card {
  background: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-about__value-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

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

.page-about__value-card p {
  font-size: 1em;
  color: #e0e0e0;
}

.page-about__cta-section {
  background: linear-gradient(90deg, #0A1931, #050E1A);
  padding: 100px 0;
  text-align: center;
}

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

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

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

.page-about__cta-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  margin: 0 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-content {
    flex-direction: column;
  }
  .page-about__story-image {
    max-width: 80%;
  }
  .page-about__mission-grid {
    grid-template-columns: 1fr;
  }
  .page-about__mission-image {
    order: -1; /* Move image above text on mobile */
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__cta-title {
    font-size: 2.5em;
  }
}

@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__hero-btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-btn {
    width: 90%;
    margin: 10px auto;
  }
  .page-about__value-icon {
    width: 200px; /* Ensure minimum size even if scaled */
    height: 200px; /* Ensure minimum size even if scaled */
  }
  .page-about__story-image {
    min-width: 200px; /* Ensure minimum size even if scaled */
    min-height: 200px; /* Ensure minimum size even if scaled */
  }
  .page-about__mission-image {
    min-width: 200px; /* Ensure minimum size even if scaled */
    min-height: 200px; /* Ensure minimum size even if scaled */
  }
}