.page-about {
  font-family: Arial, sans-serif;
  color: #333333;
  background-color: #ffffff;
}

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

.page-about__hero-section {
  padding-top: 10px; /* Adjusted to prevent double padding with shared body offset */
  margin-bottom: 40px;
  text-align: center;
  background-color: #f5f5f5;
  padding-bottom: 40px;
}

.page-about__hero-image {
  margin-bottom: 20px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 600px; /* Ensure hero image is not excessively tall */
}

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-about__main-title {
  font-size: 2.8em;
  color: #017439;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.page-about__intro-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #555555;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__cta-button:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-about__section-title {
  font-size: 2.2em;
  color: #017439;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  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: #017439;
  border-radius: 2px;
}

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

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

.page-about__mission-card,
.page-about__vision-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__mission-card:hover,
.page-about__vision-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-about__mission-card img,
.page-about__vision-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__mission-card p,
.page-about__vision-card p {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
}

.page-about__values-section {
  padding: 60px 0;
}

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

.page-about__dark-section .page-about__section-title {
  color: #ffffff;
}

.page-about__dark-section .page-about__section-title::after {
  background-color: #ffffff;
}

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__value-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-about__value-title {
  font-size: 1.4em;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__value-item p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #e0e0e0;
}

.page-about__team-section {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.page-about__team-description {
  text-align: center;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 40px;
  color: #555555;
}

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

.page-about__team-member {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-about__team-member img {
  
  
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #017439;
  min-width: 200px;
  min-height: 200px;
}

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

.page-about__member-title {
  font-size: 0.9em;
  color: #777777;
}

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

.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.page-about__commitment-list li {
  background-color: #f9f9f9;
  border-left: 5px solid #017439;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.page-about__commitment-list li p {
  font-size: 1em;
  line-height: 1.6;
  color: #444444;
}

.page-about__commitment-list li strong {
  color: #017439;
}

.page-about__cta-bottom {
  text-align: center;
  margin-top: 50px;
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
}

.page-about__cta-bottom p {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 25px;
  font-weight: 500;
}

.page-about__cta-button--secondary {
  background-color: #017439;
  color: #ffffff;
}

.page-about__cta-button--secondary:hover {
  background-color: #005f2f;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 2.4em;
  }

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

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-about__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__main-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-about__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 0.95em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-about__mission-card,
  .page-about__vision-card,
  .page-about__value-item,
  .page-about__team-member {
    padding: 20px;
  }

  .page-about__mission-card img,
  .page-about__vision-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__team-member img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-
    min-
  }

  .page-about__card-title {
    font-size: 1.4em;
  }

  .page-about__value-title {
    font-size: 1.2em;
  }

  .page-about__team-description {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-about__commitment-list li {
    padding: 15px;
  }

  .page-about__cta-bottom {
    padding: 20px;
    margin-top: 30px;
  }

  .page-about__cta-bottom p {
    font-size: 1em;
    margin-bottom: 20px;
  }

  /* General image and container responsiveness for mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-content,
  .page-about__cta-bottom {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-about__cta-buttons {
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for buttons on mobile */
  }
}