/* style/about-us.css */
.page-about-us {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px);
}

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

.page-about-us__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-about-us__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6);
}

.page-about-us__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-about-us__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffc107;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about-us__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-about-us__cta-button {
  display: inline-block;
  background-color: #ffc107;
  color: #007bff;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #ffc107;
}

.page-about-us__cta-button:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-about-us__cta-button--secondary {
  background-color: transparent;
  color: #ffc107;
  border: 2px solid #ffc107;
}

.page-about-us__cta-button--secondary:hover {
  background-color: #ffc107;
  color: #007bff;
}

.page-about-us__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-about-us__story-section, .page-about-us__advantages-section, .page-about-us__security-section, .page-about-us__join-section {
  padding: 60px 0;
}

.page-about-us__section-title {
  font-size: 2.5em;
  color: #007bff;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-about-us__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #ffc107;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-about-us__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about-us__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about-us__text-block {
  flex: 1;
}

.page-about-us__text-block p {
  margin-bottom: 20px;
  font-size: 1.1em;
}

.page-about-us__image-block {
  flex: 1;
  text-align: center;
}

.page-about-us__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

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

.page-about-us__advantage-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-us__advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-about-us__card-title {
  font-size: 1.5em;
  color: #007bff;
  margin-bottom: 15px;
}

.page-about-us__card-link {
  display: inline-block;
  margin-top: 20px;
  color: #ffc107;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-about-us__card-link:hover {
  color: #e0a800;
  text-decoration: underline;
}

.page-about-us__section-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 50px auto 0;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-about-us__join-section {
  background-color: #007bff;
  color: #ffffff;
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.page-about-us__join-content {
  position: relative;
  z-index: 1;
}

.page-about-us__join-section .page-about-us__section-title {
  color: #ffc107;
}

.page-about-us__join-section .page-about-us__section-title::after {
  background-color: #ffffff;
}

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

.page-about-us__join-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: opacity(0.2);
}

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

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

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

  .page-about-us__content-grid {
    flex-direction: column;
  }

  .page-about-us__content-grid--reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-about-us__hero-section {
    padding: 60px 15px;
  }

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

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

  .page-about-us__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-about-us__story-section, .page-about-us__advantages-section, .page-about-us__security-section, .page-about-us__join-section {
    padding: 40px 0;
  }

  .page-about-us__container {
    padding: 0 15px;
  }

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

  .page-about-us__content-grid {
    gap: 30px;
  }

  .page-about-us__image-block img,
  .page-about-us__section-image,
  .page-about-us__join-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  
  /* Ensure content images do not overflow on mobile */
  .page-about-us img {
    max-width: 100%;
    height: auto;
  }
}

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

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