.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff; /* Explicitly set for clarity */
}

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background: linear-gradient(135deg, #e0f2f7, #ffffff);
  overflow: hidden;
}

.page-about__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-about__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-about__main-title {
  font-size: 44px;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: 18px;
  color: #555555;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-about__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-about__cta-button:hover {
  background: #1e87c0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__section {
  padding: 80px 0;
  position: relative;
}

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

.page-about__section-title {
  font-size: 36px;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.page-about__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  margin: 20px auto 0;
  border-radius: 2px;
}

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

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

.page-about__text-block {
  flex: 1;
}

.page-about__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  color: #555555;
}

.page-about__text-block strong {
  color: #26A9E0;
}

.page-about__image-block {
  flex: 1;
  min-width: 200px; /* Minimum display size */
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Minimum display size */
  min-height: 200px; /* Minimum display size */
  object-fit: cover;
}

.page-about__core-values {
  background-color: #26A9E0; /* Brand primary color as background */
  color: #ffffff; /* White text for contrast */
}

.page-about__core-values .page-about__section-title {
  color: #ffffff;
}

.page-about__core-values .page-about__section-title::after {
  background-color: #ffffff;
}

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

.page-about__value-card {
  background: rgba(255, 255, 255, 0.15); /* Slightly transparent white for contrast */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.25);
}

.page-about__value-title {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__value-card p {
  font-size: 16px;
  color: #f0f0f0;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-about__feature-list li {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2326A9E0'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #555555;
}

.page-about__feature-list li strong {
  color: #26A9E0;
}

.page-about__security-commitment {
  background-color: #f9f9f9;
}

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

.page-about__card {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333333; /* Dark text for white background */
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

.page-about__card p {
  font-size: 16px;
  color: #555555;
}

.page-about__call-to-action {
  background-color: #26A9E0; /* Brand primary color */
  color: #ffffff;
  text-align: center;
  padding: 100px 0;
}

.page-about__call-to-action .page-about__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-about__call-to-action .page-about__section-title::after {
  background-color: #ffffff;
}

.page-about__cta-description {
  font-size: 20px;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

.page-about__btn-primary {
  background: #EA7C07; /* Custom color for login/primary action */
  color: #ffffff;
  border: none;
}

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

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

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

/* Ensure all content area images meet min size */
.page-about img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: 38px;
  }
  .page-about__section-title {
    font-size: 30px;
  }
  .page-about__intro-text {
    font-size: 17px;
  }
  .page-about__content-wrapper {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__content-wrapper--reversed {
    flex-direction: column;
  }
  .page-about__image-block {
    order: -1; /* Move image above text on smaller screens if reversed */
  }
  .page-about__image-block img {
    max-width: 100%;
  }
  .page-about__values-grid, .page-about__grid-3-columns {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__main-title {
    font-size: 32px;
  }
  .page-about__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-about__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-top: 20px;
  }
  .page-about__section {
    padding: 50px 0;
  }
  .page-about__section-title {
    font-size: 26px;
    margin-bottom: 40px;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__text-block p, .page-about__feature-list li, .page-about__value-card p, .page-about__card p {
    font-size: 15px;
  }
  .page-about__value-title, .page-about__card-title {
    font-size: 20px;
  }
  .page-about__call-to-action {
    padding: 60px 20px;
  }
  .page-about__cta-description {
    font-size: 17px;
    margin-bottom: 30px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__cta-buttons .page-about__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Mobile image specific rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__hero-image,
  .page-about__image-block,
  .page-about__container,
  .page-about__content-wrapper,
  .page-about__values-grid,
  .page-about__grid-3-columns,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden;
  }
}