.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: var(--secondary-color); /* Assumed to be #FFFFFF */
  padding-top: var(--header-offset, 120px); /* For desktop fixed header */
}

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

/* Hero Section */
.page-about__hero-section {
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF; /* White text on dark background */
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly transparent to let text stand out */
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

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

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

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

.page-about__btn {
  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;
  font-size: 1.1em;
}

.page-about__btn--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000; /* Dark text on light button */
  border: 2px solid #FCBC45;
}

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

.page-about__btn--secondary {
  background-color: #FFFFFF; /* Register color for secondary action */
  color: #000000; /* Dark text on light button */
  border: 2px solid #FFFFFF;
}

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

.page-about__btn--link {
  color: #FCBC45;
  text-decoration: underline;
  padding: 0;
  background: none;
  border: none;
}

.page-about__btn--link:hover {
  color: #e0a53b;
}

/* Section Titles */
.page-about__section-title {
  font-size: 2.5em;
  color: #000000; /* Dark color for headings */
  text-align: center;
  margin-bottom: 60px;
  margin-top: 80px;
}

/* Story Section */
.page-about__story-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

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

.page-about__story-text {
  flex: 1;
}

.page-about__story-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-about__story-image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure minimum size */
}

.page-about__story-image {
  width: 100%;
  height: auto;
  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 */
}

/* Mission Section */
.page-about__mission-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

.page-about__mission-item {
  background-color: #f0f0f0;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.page-about__mission-heading {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__mission-item p {
  font-size: 1em;
  color: #555555;
}

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

.page-about__security-content {
  display: flex;
  flex-direction: row-reverse; /* Image on right */
  gap: 40px;
  align-items: center;
}

.page-about__security-image-wrapper {
  flex: 1;
  min-width: 200px; /* Ensure minimum size */
}

.page-about__security-image {
  width: 100%;
  height: auto;
  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-text {
  flex: 1;
}

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

/* Why Choose Section */
.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

.page-about__why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.page-about__why-item {
  text-align: center;
  padding: 20px;
}

.page-about__why-icon {
  width: 400px; /* Display size */
  height: 300px; /* Display size */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__why-heading {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-about__why-item p {
  color: #555555;
}

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

/* Contact Section */
.page-about__contact-section {
  padding: 80px 0;
  background-color: #000000; /* Dark background */
  color: #FFFFFF; /* White text */
  text-align: center;
}

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

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

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

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

  .page-about__story-content,
  .page-about__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-about__story-image-wrapper,
  .page-about__security-image-wrapper {
    order: -1; /* Image first on mobile */
  }

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

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for smaller mobile header */
  }

  .page-about__hero-section {
    padding: 60px 0;
  }

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

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

  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn {
    width: 80%;
    margin: 0 auto;
  }

  .page-about__story-section,
  .page-about__mission-section,
  .page-about__security-section,
  .page-about__why-choose-section,
  .page-about__contact-section {
    padding: 60px 0;
  }

  .page-about__story-content,
  .page-about__security-content {
    gap: 30px;
  }

  .page-about__story-image,
  .page-about__security-image,
  .page-about__why-icon {
    max-width: 100%;
    height: auto; /* Important for mobile overflow */
    min-width: 200px; /* Maintain minimum size for content images */
    min-height: 200px; /* Maintain minimum size for content images */
  }

  .page-about__why-icon {
    width: 100%; /* Ensure it fills card width */
    height: auto;
  }

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

  .page-about__btn--primary,
  .page-about__btn--secondary {
    width: 100%;
    max-width: 300px; /* Limit button width on small screens */
  }
}

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

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

  .page-about__btn {
    padding: 12px 20px;
    font-size: 1em;
  }
}