.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a1a; /* Assuming body background from shared.css */
}

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

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

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

.page-about__hero-section {
  position: relative;
  padding: 80px 0;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #017439;
  color: #ffffff;
  overflow: hidden;
}

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

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

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin-top: 40px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-about__sub-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__text-block h3 {
  color: #017439; /* For light background sections */
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #333333; /* For light background sections */
}

.page-about__mission-vision-section,
.page-about__core-values-section,
.page-about__products-section,
.page-about__promotions-section,
.page-about__social-responsibility-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-about__history-section,
.page-about__technology-section,
.page-about__security-section,
.page-about__support-section,
.page-about__why-choose-us-section,
.page-about__cta-section {
  padding: 60px 0;
  background-color: #017439;
  color: #ffffff;
}

/* Content Grids */
.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}

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

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

.page-about__content-wrapper img {
  flex-shrink: 0;
  width: 50%;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-about__text-block p {
  color: #f0f0f0; /* For dark background sections */
}

.page-about__text-block h3 {
  color: #ffffff; /* For dark background sections */
}

/* Core Values */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  text-align: center;
}

.page-about__value-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__value-card .page-about__card-title {
  color: #017439;
  font-size: 1.5em;
  margin-bottom: 10px;
}

/* Products Grid */
.page-about__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__product-card {
  background-color: #ffffff;
  color: #333333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-about__product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 15px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-about__product-card .page-about__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: #017439;
}

.page-about__product-card .page-about__card-title a {
  color: #017439;
  text-decoration: none;
}

.page-about__product-card .page-about__card-title a:hover {
  text-decoration: underline;
}

.page-about__product-card p {
  padding: 0 20px 20px;
  color: #555555;
}

/* Promotions Grid */
.page-about__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__promo-card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-about__promo-card .page-about__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #017439;
}

.page-about__promo-card p {
  margin-bottom: 20px;
  color: #555555;
}

/* Why Choose Us Grid */
.page-about__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-about__advantage-item {
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.page-about__advantage-item h3 {
  color: #ffffff;
  font-size: 1.6em;
  margin-bottom: 10px;
}

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

/* Buttons */
.page-about__btn-primary {
  display: inline-block;
  background-color: #017439;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #017439;
}

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

.page-about__btn-primary--center {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

.page-about__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #017439;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #017439;
}

.page-about__btn-secondary:hover {
  background-color: #017439;
  color: #ffffff;
}

.page-about__btn-register {
  display: inline-block;
  background-color: #C30808; /* Custom color for Register */
  color: #FFFF00; /* Custom color for Register text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #C30808;
}

.page-about__btn-register:hover {
  background-color: #9c0606;
  border-color: #9c0606;
}

.page-about__btn-login {
  display: inline-block;
  background-color: #C30808; /* Custom color for Login */
  color: #FFFF00; /* Custom color for Login text */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: 2px solid #C30808;
}

.page-about__btn-login:hover {
  background-color: #9c0606;
  border-color: #9c0606;
}

.page-about__cta-section {
  text-align: center;
  padding: 80px 0;
}

.page-about__cta-content {
  max-width: 900px;
}

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

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: #017439; /* Dark green background for FAQ item */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}