/* style/about-us.css */

/* Base styles for the About Us page */
.page-about-us {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF;
}

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

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

.page-about-us__dark-bg {
  background-color: #26A9E0; /* Brand primary color */
  color: #FFFFFF;
}

.page-about-us__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: inherit;
}

.page-about-us__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

/* Hero Section */
.page-about-us__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
}

.page-about-us__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-about-us__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-about-us__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for H1 */
}

.page-about-us__intro-description {
  font-size: 1.25em;
  margin-bottom: 30px;
  color: #555555;
}

/* CTA Buttons */
.page-about-us__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-about-us__btn-primary,
.page-about-us__btn-secondary,
.page-about-us__btn-link {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about-us__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-about-us__btn-primary:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-about-us__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about-us__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87b7;
  border-color: #1e87b7;
}

.page-about-us__btn-link {
  background: none;
  color: #26A9E0;
  border: 2px solid transparent;
  padding: 10px 0;
  font-size: 1em;
  text-decoration: underline;
}

.page-about-us__btn-link:hover {
  color: #1e87b7;
}

/* Mission and Vision Section */
.page-about-us__mission-vision-section {
  padding: 80px 0;
}

.page-about-us__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about-us__content-grid:nth-child(even) {
  flex-direction: row-reverse;
}

.page-about-us__text-block,
.page-about-us__image-block {
  flex: 1;
}

.page-about-us__text-block p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #555555;
}

.page-about-us__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* Why Choose Section */
.page-about-us__why-choose-section {
  padding: 80px 0;
}

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

.page-about-us__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  color: #FFFFFF;
}

.page-about-us__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-about-us__feature-item p {
  color: #f0f0f0;
}

/* Responsibility Section */
.page-about-us__responsibility-section {
  padding: 80px 0;
}

/* Team Section */
.page-about-us__team-section {
  padding: 80px 0;
}

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

.page-about-us__team-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  color: #FFFFFF;
}

.page-about-us__team-member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 3px solid #FFFFFF;
}

.page-about-us__team-member-name {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFFFF;
}

.page-about-us__team-member-role {
  color: #f0f0f0;
}

/* CTA Section */
.page-about-us__cta-section {
  padding: 80px 0;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about-us__content-grid {
    flex-direction: column;
  }
  .page-about-us__content-grid:nth-child(even) {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about-us__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about-us__hero-section {
    padding-bottom: 40px;
  }

  .page-about-us__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .page-about-us__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-about-us__btn-primary,
  .page-about-us__btn-secondary,
  .page-about-us__btn-link {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about-us__section-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

  .page-about-us__mission-vision-section,
  .page-about-us__why-choose-section,
  .page-about-us__responsibility-section,
  .page-about-us__team-section,
  .page-about-us__cta-section {
    padding: 40px 0;
  }

  /* Mobile image responsiveness */
  .page-about-us img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about-us__image-block,
  .page-about-us__hero-image-wrapper,
  .page-about-us__team-member-photo {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about-us__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
  }
}