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

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero section */
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.6;
}

.page-about__hero-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: inherit;
}

.page-about__hero-content {
  color: #FFFFFF; /* White text on dark hero background */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-about__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-align: center;
  min-width: 150px; /* Ensure buttons are not too small */
}

.page-about__button--register {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
}

.page-about__button--register:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

.page-about__button--login {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Dark text for contrast */
  border: 2px solid #FCBC45;
}

.page-about__button--login:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-about__content-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #000000; /* Dark text for section titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

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

.page-about__our-story-section, .page-about__mission-values-section, .page-about__security-section, .page-about__join-us-section, .page-about__contact-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for main content sections */
}

.page-about__mission-values-section {
  background-color: #f9f9f9;
}

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

.page-about__value-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

.page-about__value-image {
  width: 100%; /* Ensure images take full width of card */
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__value-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-about__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  display: inline-block;
}

.page-about__text-link:hover {
  text-decoration: underline;
}

.page-about__security-section {
  background-color: #000000; /* Dark background for security section */
  color: #FFFFFF; /* White text for contrast */
}

.page-about__security-section .page-about__section-title {
  color: #FCBC45; /* Gold title for contrast */
}

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

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

.page-about__security-text .page-about__text-block {
  color: #f0f0f0;
}

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

.page-about__security-list-item {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FCBC45" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #FFFFFF;
}

.page-about__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-about__button--small {
  padding: 10px 20px;
  font-size: 1em;
  background-color: #FCBC45;
  color: #000000;
  margin-top: 20px;
}

.page-about__button--small:hover {
  background-color: #e0a73d;
}

.page-about__join-us-section {
  background-color: #f0f0f0;
  text-align: center;
  padding: 80px 0;
}

.page-about__section-title--cta {
  color: #000000;
  margin-bottom: 25px;
}

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

.page-about__button--primary {
  background-color: #FCBC45;
  color: #000000;
  font-size: 1.2em;
  padding: 18px 40px;
}

.page-about__button--primary:hover {
  background-color: #e0a73d;
}

.page-about__contact-section {
  background-color: #FFFFFF;
  text-align: center;
  padding: 60px 0;
}

.page-about__button--secondary {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #FCBC45;
  font-size: 1.1em;
  padding: 15px 30px;
}

.page-about__button--secondary:hover {
  background-color: #333333;
  border-color: #e0a73d;
}

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

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

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 400px;
  }

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

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

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

  .page-about__button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

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

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

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

  .page-about__security-image, .page-about__security-text {
    width: 100%;
  }

  .page-about__content-wrapper {
    padding: 30px 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-about__button {
    font-size: 1em;
    padding: 12px 25px;
  }

  .page-about__hero-content {
    padding: 0 10px;
  }
}