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

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

.page-about__hero-section {
  background-color: #0A2463; /* Primary color background */
  color: #ffffff; /* Light text for dark background */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Secondary color for title highlight */
  font-weight: bold;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-about__hero-button--primary {
  background-color: #FFD700; /* Secondary color for primary button */
  color: #0A2463; /* Primary color for text */
  border: 2px solid #FFD700;
}

.page-about__hero-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-about__hero-button--secondary {
  background-color: transparent;
  color: #FFD700; /* Secondary color for text */
  border: 2px solid #FFD700;
}

.page-about__hero-button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

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

.page-about__section-title {
  font-size: 2.2em;
  color: #0A2463; /* Primary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  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; /* Secondary color for underline */
  border-radius: 2px;
}

.page-about__paragraph {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__mission-vision-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-about__text-block {
  flex: 1;
  min-width: 300px;
}

.page-about__sub-title {
  font-size: 1.6em;
  color: #0A2463;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-about__image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  display: block; /* Ensure image behaves as a block element */
  object-fit: cover;
}

.page-about__values-section {
  padding: 60px 0;
  background-color: #ffffff;
}

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

.page-about__values-item {
  background-color: #f0f5f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__values-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.page-about__value-title {
  font-size: 1.4em;
  color: #0A2463;
  margin-bottom: 10px;
}

.page-about__value-description {
  font-size: 1em;
  color: #555555;
}

.page-about__why-choose-us-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

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

.page-about__feature-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-about__feature-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-about__feature-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 20px;
  text-align: justify;
}

.page-about__cta-section {
  background-color: #0A2463; /* Primary color background */
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

.page-about__cta-section .page-about__section-title {
  color: #FFD700; /* Secondary color for title */
}

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

.page-about__cta-section .page-about__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

.page-about__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-about__cta-button--primary {
  background-color: #FFD700;
  color: #0A2463;
  border: 2px solid #FFD700;
}

.page-about__cta-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-about__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-about__cta-button--secondary:hover {
  background-color: #FFD700;
  color: #0A2463;
}

.page-about__contact-info {
  padding: 60px 0;
  background-color: #ffffff;
  text-align: center;
}

.page-about__contact-info .page-about__paragraph {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__inline-link {
  color: #0A2463;
  text-decoration: underline;
  font-weight: bold;
}

.page-about__inline-link:hover {
  color: #FFD700;
}

.page-about__copyright {
  background-color: #0A2463;
  color: #ffffff;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__mission-vision-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 20px;
  }
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions, .page-about__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__hero-button, .page-about__cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__values-list, .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__image, .page-about__feature-image {
    max-width: 100%;
    height: auto; /* Important for mobile images to prevent overflow */
  }
  .page-about__paragraph, .page-about__value-description, .page-about__feature-description {
    font-size: 0.9em;
  }
  /* Ensure all content area images are responsive and don't cause overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.5em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__hero-button, .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
}