.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;
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px);
  background-color: #26A9E0;
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-about__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  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;
  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 transparent;
}

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

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

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

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-about__introduction-section,
.page-about__history-section,
.page-about__values-section,
.page-about__team-section,
.page-about__why-choose-us-section,
.page-about__responsibility-section,
.page-about__cta-section {
  padding: 60px 0;
}

.page-about__introduction-section,
.page-about__team-section,
.page-about__responsibility-section {
  background-color: #ffffff;
  color: #333333;
}

.page-about__history-section {
  background-color: #f8f8f8;
  color: #333333;
}

.page-about__values-section,
.page-about__why-choose-us-section,
.page-about__cta-section {
  background-color: #26A9E0;
  color: #ffffff;
}

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

.page-about__sub-title {
  font-size: 1.8em;
  margin-top: 30px;
  margin-bottom: 15px;
  color: inherit;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__history-grid,
.page-about__values-grid,
.page-about__team-grid,
.page-about__features-grid {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

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

.page-about__values-grid,
.page-about__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-about__team-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  text-align: center;
}

.page-about__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__dark-section .page-about__card {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__dark-section .page-about__card .page-about__card-title,
.page-about__dark-section .page-about__card .page-about__card-text {
  color: #ffffff;
}

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

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

.page-about__card-text {
  font-size: 1em;
  line-height: 1.5;
}

.page-about__history-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-about__history-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-about__list {
  list-style: disc inside;
  margin-left: 20px;
  font-size: 1.05em;
}

.page-about__list li {
  margin-bottom: 10px;
}

.page-about__team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-about__team-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #26A9E0;
}

.page-about__member-name {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #26A9E0;
}

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

.page-about__contact-info {
  margin-top: 40px;
  font-size: 1.1em;
  color: #ffffff;
}

.page-about__contact-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
}

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

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

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

  .page-about__hero-section {
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px);
  }

  .page-about__introduction-section,
  .page-about__history-section,
  .page-about__values-section,
  .page-about__team-section,
  .page-about__why-choose-us-section,
  .page-about__responsibility-section,
  .page-about__cta-section {
    padding: 40px 0;
  }
}

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

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

  .page-about__main-title {
    font-size: 2.2em;
  }

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

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

  .page-about__sub-title {
    font-size: 1.5em;
  }

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

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

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

  /* Ensure image containers are also responsive */
  .page-about__hero-image-wrapper,
  .page-about__history-item,
  .page-about__team-member {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__card {
    padding: 20px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
  }

  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }

  .page-about__history-grid,
  .page-about__values-grid,
  .page-about__team-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }

  .page-about__team-avatar {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }

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