/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Default body background */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  background-color: #26A9E0; /* Brand primary color for dark background */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 450px;
}

.page-about__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #ffffff;
}

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
  background-color: #d46c00;
  border-color: #d46c00;
}

.page-about__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand primary color for secondary action */
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b7;
  border-color: #1e87b7;
}

/* General Section Styling */
.page-about__intro-section,
.page-about__why-choose-us,
.page-about__commitments,
.page-about__team-section,
.page-about__future-vision,
.page-about__contact-us {
  padding: 60px 0;
}

.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__section-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__text-link {
  color: #ffffff;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__text-block--center {
  text-align: center;
}

.page-about__text-link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-about__dark-bg .page-about__text-link {
  color: #ffffff;
  text-decoration: underline;
}

.page-about__text-link:hover {
  text-decoration: underline;
}

.page-about__highlight {
  font-weight: bold;
  color: #26A9E0; /* Highlight color */
}

.page-about__dark-bg .page-about__highlight {
  color: #ffffff; /* Highlight color on dark background */
}

/* Intro Section Specific */
.page-about__intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__intro-image-wrapper {
  text-align: center;
}

.page-about__intro-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Why Choose Us Section Specific */
.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: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  color: #333333;
}

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

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

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

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

/* Commitments Section Specific */
.page-about__commitment-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #333333;
  border: 1px solid #e0e0e0; /* Added border for clarity */
}

.page-about__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #26A9E0;
}

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

.page-about__cta-bottom {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* Team Section Specific */
.page-about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__team-member {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: #333333;
}

.page-about__team-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px auto;
  border: 4px solid #26A9E0;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-about__member-name {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 5px;
  color: #26A9E0;
}

.page-about__member-role {
  font-size: 1em;
  color: #777777;
  margin-bottom: 15px;
}

.page-about__member-description {
  font-size: 0.95em;
  color: #555555;
}

/* Future Vision Section Specific */
.page-about__vision-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-about__vision-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__vision-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #26A9E0;
}

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

.page-about__cta-final {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* Contact Us Section Specific */
.page-about__contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-about__contact-info p {
  margin-bottom: 10px;
}

.page-about__contact-info .page-about__text-link {
  color: #ffffff;
  text-decoration: underline;
}

.page-about__contact-info .page-about__text-link:hover {
  color: #f0f0f0;
}

/* Responsive Adjustments */
@media (min-width: 769px) {
  .page-about__intro-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-about__intro-content {
    text-align: left;
  }

  .page-about__intro-image-wrapper {
    text-align: right;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 20px;
  }

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

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

  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__text-block,
  .page-about__feature-description,
  .page-about__card-description,
  .page-about__member-description,
  .page-about__vision-description,
  .page-about__contact-info {
    font-size: 1em;
  }

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

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

  .page-about__intro-grid {
    grid-template-columns: 1fr;
  }

  .page-about__intro-content,
  .page-about__intro-image-wrapper {
    text-align: center;
  }

  .page-about__features-grid,
  .page-about__commitment-cards,
.page-about__team-grid {
    grid-template-columns: 1fr;
  }

  .page-about__feature-card,
  .page-about__card,
  .page-about__team-member {
    padding: 25px;
  }

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

  .page-about__intro-image-wrapper,
  .page-about__feature-card,
  .page-about__team-member,
  .page-about__card,
  .page-about__vision-item,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no overflow */
  }

  /* Specific padding for hero section on mobile if header offset is applied here */
  .page-about__hero-section {
      padding-top: var(--header-offset, 120px) !important;
  }

  .page-about__feature-icon,
  .page-about__team-image {
    width: 200px !important;
    height: 200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Color Contrast Fixes (as per strict instructions) */
.page-about__content-area,
.page-about__text-block {
  color: #333333;
  background: #ffffff;
}

.page-about p,
.page-about li {
  color: #333333;
}

.page-about__card {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-about__dark-section {
  background: #26A9E0;
  color: #ffffff;
}

.page-about__btn-primary {
  background: #EA7C07;
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}