.page-about {
  padding-top: var(--header-offset, 120px);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #f8f8f8;
}

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

.page-about__hero-section {
  background-color: #1A2E44;
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for title */
  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;
  color: #f0f0f0;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 1200px; /* Ensure image fits container */
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-about__button--primary {
  background-color: #FFD700; /* Gold accent */
  color: #1A2E44;
}

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

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

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

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

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

.page-about__section-title {
  font-size: 2.8em;
  color: #1A2E44;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-about__story-section,
.page-about__mission-vision-section,
.page-about__advantage-section,
.page-about__cta-section {
  padding: 80px 0;
}

.page-about__story-section {
  background-color: #ffffff;
}

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

.page-about__story-content .page-about__text {
  flex: 1;
  min-width: 300px;
  font-size: 1.1em;
}

.page-about__image {
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  display: block;
}

.page-about__image--left {
  flex: 1;
  min-width: 400px; /* Min size for content images */
}

.page-about__mission-vision-section {
  background-color: #f0f0f0;
}

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

.page-about__mission-card {
  background-color: #1A2E44;
  color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-about__mission-card:hover {
  transform: translateY(-10px);
}

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

.page-about__advantage-section {
  background-color: #ffffff;
}

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

.page-about__advantage-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.page-about__advantage-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__advantage-icon {
  width: 100%; /* Ensure images fill their container */
  max-width: 400px; /* Max width for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__cta-section {
  background-color: #1A2E44;
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.page-about__cta-section .page-about__section-title {
  color: #FFD700;
}

.page-about__cta-section .page-about__text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__mission-grid {
    grid-template-columns: 1fr;
  }
  .page-about__advantage-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-about__image--left {
    min-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-about__hero-section {
    padding: 60px 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 40px;
  }
  .page-about__story-content {
    flex-direction: column;
  }
  .page-about__story-content .page-about__text {
    min-width: unset;
  }
  .page-about__image--left {
    min-width: unset;
  }
  .page-about__mission-grid,
  .page-about__advantage-grid {
    grid-template-columns: 1fr;
  }
  .page-about__advantage-icon, .page-about__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  /* Ensure all images within .page-about are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-section,
  .page-about__story-section,
  .page-about__mission-vision-section,
  .page-about__advantage-section,
  .page-about__cta-section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__mission-card,
  .page-about__advantage-item {
    padding: 25px;
  }
  .page-about__button {
    font-size: 1em;
    padding: 12px 25px;
  }
}