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

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

.page-about__section {
  padding: 80px 0;
}

.page-about__section--dark {
  background-color: rgba(0, 0, 128, 0.2); /* Dark blue auxiliary color with transparency */
}

.page-about__section--gold-bg {
  background-color: #FFD700; /* Main brand gold color */
  color: #000080; /* Dark blue text on gold background for contrast */
}

.page-about__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-about__section--gold-bg .page-about__section-title,
.page-about__section--gold-bg .page-about__intro-text,
.page-about__section--gold-bg .page-about__cta-title,
.page-about__section--gold-bg .page-about__cta-text {
  color: #000080; /* Dark blue text on gold background */
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-about__hero-title {
  font-size: 3.8em;
  color: #FFD700; /* Gold title */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-about__hero-cta-button,
.page-about__cta-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, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-about__hero-cta-button:hover,
.page-about__cta-button:hover {
  background-color: #000080; /* Dark blue on hover */
  color: #FFD700; /* Gold text on hover */
  border-color: #FFD700;
}

.page-about__cta-button--outline {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  margin-left: 20px;
}

.page-about__cta-button--outline:hover {
  background-color: #FFD700;
  color: #000080;
}

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

@media (min-width: 768px) {
  .page-about__content-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-about__content-grid:nth-child(even) .page-about__text-content {
    order: 2;
  }
  .page-about__content-grid:nth-child(even) .page-about__image-wrapper {
    order: 1;
  }
}

.page-about__text-content p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #e0e0e0;
}

.page-about__section--dark .page-about__text-content p {
  color: #ffffff;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__section-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

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

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

.page-about__value-title {
  font-size: 1.6em;
  color: #FFD700; /* Gold for value titles */
  margin-bottom: 15px;
  text-transform: uppercase;
}

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

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

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

.page-about__feature-card:hover {
  transform: translateY(-8px);
}

.page-about__feature-icon {
  width: 200px; /* Minimum size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

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

.page-about__intro-text {
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #e0e0e0;
}

.page-about__section--gold-bg .page-about__intro-text {
  color: #000080;
}

.page-about__cta-container {
  text-align: center;
}

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

.page-about__cta-text {
  font-size: 1.3em;
  margin-bottom: 40px;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-content {
    padding: 20px;
  }
  .page-about__section {
    padding: 60px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__text-content p {
    font-size: 1em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-text {
    font-size: 1.1em;
  }
  .page-about__hero-cta-button,
  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__cta-button--outline {
    margin-left: 0;
    margin-top: 15px;
  }

  /* Ensure images in content area do not overflow */
  .page-about__section-image,
  .page-about__feature-icon {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }
  .page-about__content-grid:nth-child(even) .page-about__text-content {
    order: unset;
  }
  .page-about__content-grid:nth-child(even) .page-about__image-wrapper {
    order: unset;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-button--outline {
    margin-left: 0;
  }
}