.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: var(--deep-navy); /* From shared.css, dark background */
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F3F8FF; /* Text Main */
  line-height: 1.2;
}

.page-about__hero-section {
  position: relative;
  padding-top: 10px; /* Small top spacing, body handles main offset */
  padding-bottom: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative; /* Ensure content is above image but not overlapping */
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.page-about__hero-title {
  font-size: clamp(32px, 5vw, 48px); /* Responsive H1 font size */
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  border: none;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF; /* Text Main */
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #2B73F6; /* Use a brighter blue for contrast */
  border: 2px solid #2B73F6;
}

.page-about__btn-secondary:hover {
  background: #2B73F6;
  color: #F3F8FF; /* Text Main */
}

.page-about__mission-section,
.page-about__values-section,
.page-about__responsibility-section {
  padding: 60px 0;
  background-color: #08162B; /* Deep Navy, slightly darker than main body for section separation */
}

.page-about__why-choose-section,
.page-about__team-section {
  padding: 60px 0;
  background-color: #113B7A; /* Main brand color for dark sections */
}

.page-about__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-about__content-wrapper--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

.page-about__text-block h3 {
  color: #F3F8FF;
  font-size: 24px;
  margin-bottom: 15px;
}

.page-about__text-block p {
  margin-bottom: 15px;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__image-centered {
  margin: 40px auto 0 auto;
  display: block;
}

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

.page-about__card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  height: 100%; /* Ensure cards in a grid have equal height */
}

.page-about__value-title,
.page-about__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-about__value-description,
.page-about__feature-description {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
}

.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(90deg, #113B7A 0%, #1D5FD1 100%);
}

.page-about__cta-description {
  font-size: 18px;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* General image responsiveness */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  .page-about {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-about__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
  }

  .page-about__hero-title {
    font-size: clamp(28px, 8vw, 36px);
  }

  .page-about__hero-description {
    font-size: 16px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to prevent buttons from touching edges */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .page-about__content-wrapper--reverse {
    flex-direction: column;
  }

  .page-about__image-block {
    order: -1; /* Image block appears first in column layout */
  }

  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card {
    padding: 20px;
  }

  .page-about__value-title,
  .page-about__feature-title {
    font-size: 20px;
  }

  /* Force all images to be responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure content containers are fully responsive */
  .page-about__hero-image-wrapper,
  .page-about__content-wrapper,
  .page-about__text-block,
  .page-about__image-block,
  .page-about__values-grid,
  .page-about__features-grid,
  .page-about__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific overrides for sections that might have padding/margin issues */
  .page-about__mission-section,
  .page-about__values-section,
  .page-about__why-choose-section,
  .page-about__responsibility-section,
  .page-about__team-section,
  .page-about__cta-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__image-centered {
    margin: 30px auto 0 auto;
  }
}