.page-about {
  color: #333333; /* Dark text for light body background */
}

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  background-color: #0A192F; /* Dark background for hero */
  color: #ffffff;
  min-height: 600px;
}

.page-about__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

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

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

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

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

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

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

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

.page-about__story-section .page-about__container, .page-about__vision-section .page-about__container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.page-about__story-content, .page-about__vision-content {
  flex: 1;
}

.page-about__story-image-wrapper, .page-about__vision-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-about__story-image, .page-about__vision-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #0A192F;
  color: #ffffff;
  text-align: center;
}

.page-about__heading {
  font-size: 2.5em;
  margin-bottom: 40px;
  color: #0A192F;
  font-weight: 700;
}

.page-about__why-choose-section .page-about__heading {
  color: #FFD700;
}

.page-about__paragraph {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  min-height: 350px; /* Ensure cards have a consistent minimum height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: #FFD700;
  padding: 10px;
  min-width: 200px; /* Enforce minimum size for images */
  min-height: 200px;
  width: 200px; /* Specific width for display */
  height: 200px; /* Specific height for display */
}

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

.page-about__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-about__call-to-action-section {
  padding: 80px 0;
  background-color: #FFD700;
  color: #0A192F;
  text-align: center;
}

.page-about__call-to-action-content {
  max-width: 800px;
}

.page-about__heading--cta {
  color: #0A192F;
  margin-bottom: 20px;
}

.page-about__paragraph--cta {
  font-size: 1.2em;
  margin-bottom: 40px;
}

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

.page-about__button--primary {
  background-color: #FFD700;
  color: #0A192F;
}

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

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

.page-about__button--secondary:hover {
  background-color: #2a3a5a;
  transform: translateY(-3px);
}

.page-about__cta-wrapper {
  margin-top: 50px;
}

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

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

  .page-about__heading {
    font-size: 2em;
  }

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

  .page-about__vision-section .page-about__container {
    flex-direction: column-reverse;
  }

  .page-about__feature-card {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px);
  }

  .page-about__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }

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

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

  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__button {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  .page-about__container {
    padding: 30px 15px;
  }

  .page-about__heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

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

  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-about__feature-icon {
    min-width: 200px;
    min-height: 200px;
    width: 200px;
    height: 200px;
    max-width: 100%; /* Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
  }

  .page-about__story-image, .page-about__vision-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure all images within .page-about are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }

  .page-about__call-to-action-section {
    padding: 60px 0;
  }

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

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

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

  .page-about__heading {
    font-size: 1.5em;
  }

  .page-about__button {
    font-size: 1em;
    padding: 12px 25px;
  }
}