.page-about {
  color: #333333; /* Default text color for light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

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

.page-about__hero-section {
  background-color: #f8f8f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
  gap: 40px;
  text-align: center;
}

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

.page-about__hero-title {
  font-size: 3.5em;
  color: #CC0000;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
}

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

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  white-space: nowrap;
}

.page-about__button--primary {
  background-color: #CC0000;
  color: #FFFFFF;
  border: 2px solid #CC0000;
}

.page-about__button--primary:hover {
  background-color: #990000;
  border-color: #990000;
  transform: translateY(-2px);
}

.page-about__button--secondary {
  background-color: #FFD700;
  color: #333333;
  border: 2px solid #FFD700;
}

.page-about__button--secondary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-about__button--tertiary {
  background-color: transparent;
  color: #CC0000;
  border: 2px solid #CC0000;
}

.page-about__button--tertiary:hover {
  background-color: #CC0000;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-about__hero-image-container {
  width: 100%;
  max-width: 1000px; /* Adjust as needed */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

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

.page-about__mission-text,
.page-about__mission-image-container {
  flex: 1;
  min-width: 300px;
}

.page-about__mission-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

.page-about__mission-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__security-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

.page-about__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap-reverse; /* Image on right, text on left for this section */
}

.page-about__security-text,
.page-about__security-image-container {
  flex: 1;
  min-width: 300px;
}

.page-about__security-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #444444;
}

.page-about__security-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__cta-section {
  padding: 100px 0;
  background-color: #CC0000;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__cta-container {
  position: relative;
  z-index: 2;
}

.page-about__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFD700;
}

.page-about__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15; /* Subtle background image */
  z-index: 1;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px);
  }
  .page-about__hero-section {
    padding: 60px 15px;
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
    max-width: 300px;
  }
  .page-about__mission-content,
  .page-about__security-content {
    flex-direction: column;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__mission-image,
  .page-about__security-image,
  .page-about__cta-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}