.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 40px;
  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: #C30808; /* Accent color */
  border-radius: 2px;
}

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

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 60px 20px; /* Base padding, top padding handled by shared.css for body */
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background-color: #0a0a0a; /* Ensure dark background for hero */
}

.page-about__hero-content {
  max-width: 800px;
  z-index: 2;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Yellow for hero title */
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

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

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #C30808; /* Register/Login red */
  color: #FFFF00; /* Register/Login yellow text */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
  color: #ffffff;
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #017439; /* Brand color */
  border: 2px solid #017439;
}

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

/* Vision Mission Section */
.page-about__vision-mission-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background */
  color: #333333; /* Dark text for light background */
}

.page-about__vision-mission-section .page-about__section-title {
  color: #017439;
}

.page-about__vision-mission-section .page-about__text-block {
  color: #333333;
}

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

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

.page-about__value-item:hover {
  transform: translateY(-10px);
}

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

.page-about__value-description {
  font-size: 1em;
  color: #555555;
}

/* History Section */
.page-about__history-section {
  padding: 80px 0;
  background-color: #017439; /* Dark brand color background */
  color: #ffffff;
}

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

.page-about__history-section .page-about__section-title::after {
  background-color: #FFFF00;
}

.page-about__history-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about__history-text {
  flex: 1;
  min-width: 300px;
}

.page-about__history-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-about__history-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

/* Security Section */
.page-about__security-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333;
}

.page-about__security-section .page-about__section-title {
  color: #017439;
}

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

.page-about__security-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-about__security-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px; /* Enforce min image size for icons */
  min-height: 200px; /* Enforce min image size for icons */
}

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

.page-about__security-description {
  font-size: 1em;
  color: #555555;
}

/* Products Section */
.page-about__products-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
  color: #ffffff;
}

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

.page-about__products-section .page-about__section-title::after {
  background-color: #C30808;
}

.page-about__products-section .page-about__text-block {
  color: #f0f0f0;
}

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

.page-about__product-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for cards */
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
}

.page-about__product-card h3,
.page-about__product-card p {
  padding: 15px 20px;
  margin: 0;
}

.page-about__product-title {
  font-size: 1.5em;
  color: #FFFF00; /* Yellow for product titles */
  margin-bottom: 10px;
}

.page-about__product-description {
  font-size: 0.95em;
  color: #f0f0f0;
  flex-grow: 1;
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  background-color: #ffffff;
  text-align: center;
  color: #333333;
}

.page-about__cta-section .page-about__section-title {
  color: #017439;
}

.page-about__cta-section .page-about__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

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

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #017439; /* Dark brand color background */
  color: #ffffff;
}

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

.page-about__faq-section .page-about__section-title::after {
  background-color: #FFFF00;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #FFFF00; /* Yellow for FAQ questions */
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
  content: '−';
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-about__faq-answer p {
  margin: 0;
}

/* Contact CTA Section */
.page-about__contact-cta-section {
  padding: 80px 0;
  background-color: #f8f8f8;
  text-align: center;
  color: #333333;
}

.page-about__contact-cta-section .page-about__section-title {
  color: #017439;
}

.page-about__contact-cta-section .page-about__text-block {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #333333;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }

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

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 60vh;
    padding: 40px 15px;
  }

  .page-about__hero-title {
    font-size: 2.5em;
  }

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

  .page-about__hero-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

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

  .page-about__history-content {
    flex-direction: column;
  }

  .page-about__history-image {
    width: 100%;
    height: auto;
  }

  .page-about__values-grid,
  .page-about__security-grid,
  .page-about__product-grid {
    grid-template-columns: 1fr;
  }

  .page-about__security-icon {
    width: 150px;
    height: 150px;
    min-width: 200px !important; /* Ensure min image size */
    min-height: 200px !important; /* Ensure min image size */
  }

  .page-about__product-image {
    height: 250px; /* Adjust height for mobile */
    min-width: 200px !important; /* Ensure min image size */
    min-height: 200px !important; /* Ensure min image size */
  }

  .page-about__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-about__faq-answer {
    padding: 10px 15px;
  }

  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__history-section,
  .page-about__security-section,
  .page-about__products-section,
  .page-about__cta-section,
  .page-about__faq-section,
  .page-about__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ensure all images maintain original color */
.page-about img {
  filter: none !important;
}

/* Contrast Fixes for specific elements if needed - applying default light text on dark body */
.page-about p,
.page-about li,
.page-about__text-block {
    color: #f0f0f0; /* Light text for general content on dark body background */
}

.page-about__light-bg .page-about__text-block, 
.page-about__light-bg .page-about__value-description, 
.page-about__light-bg .page-about__security-description {
    color: #555555;
}

.page-about__light-bg .page-about__section-title, 
.page-about__light-bg .page-about__value-title, 
.page-about__light-bg .page-about__security-title {
    color: #017439;
}

.page-about__product-card .page-about__product-title {
    color: #FFFF00;
}

.page-about__product-card .page-about__product-description {
    color: #f0f0f0;
}

.page-about__faq-question h3 {
    color: #FFFF00;
}

.page-about__faq-answer p {
    color: #f0f0f0;
}