/* style/about.css */

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

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  overflow: hidden;
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

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

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

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

.page-about__hero-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, color 0.3s ease;
  min-width: 200px;
}

.page-about__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-about__hero-button--register:hover {
  background-color: #F0F0F0;
  color: #000000;
}

.page-about__hero-button--explore {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__hero-button--explore:hover {
  background-color: #E0A83A;
  color: #000000;
}

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

.page-about__our-story {
  background-color: #F8F8F8;
}

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

.page-about__story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__story-text p {
  margin-bottom: 15px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #333333;
}

.page-about__story-image-wrapper {
  text-align: center;
}

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

.page-about__intro-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-about__why-us {
  background-color: #FFFFFF;
}

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

.page-about__feature-card {
  background-color: #F8F8F8;
  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__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.page-about__feature-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-about__feature-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__feature-description {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

.page-about__our-values {
  background-color: #000000;
  color: #FFFFFF;
}

.page-about__our-values .page-about__section-title,
.page-about__our-values .page-about__intro-text {
  color: #FFFFFF;
}

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.page-about__value-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

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

.page-about__value-description {
  font-size: 1em;
  color: #F0F0F0;
  line-height: 1.6;
}

.page-about__cta-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Dark background for CTA */
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-about__cta-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-about__cta-title {
  position: relative;
  z-index: 1;
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-about__cta-description {
  position: relative;
  z-index: 1;
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

.page-about__cta-buttons {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-about__cta-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, color 0.3s ease;
  min-width: 200px;
}

.page-about__cta-button--join {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__cta-button--join:hover {
  background-color: #E0A83A;
  color: #000000;
}

.page-about__cta-button--download {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-about__cta-button--download:hover {
  background-color: #F0F0F0;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__cta-title {
    font-size: 2.4em;
  }
  .page-about__story-image {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__cta-section {
    padding: 60px 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description,
  .page-about__intro-text,
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__hero-button,
  .page-about__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__story-grid {
    grid-template-columns: 1fr;
  }
  .page-about__features-grid,
  .page-about__values-grid {
    grid-template-columns: 1fr;
  }
  .page-about__feature-icon,
  .page-about__story-image {
    max-width: 100%; /* Ensure images don't overflow on mobile */
    height: auto;
  }
  .page-about__feature-card,
  .page-about__value-item {
    padding: 25px;
  }
  .page-about__feature-icon, .page-about__story-image, .page-about__cta-image, .page-about__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__section-title {
    font-size: 1.5em;
  }
  .page-about__cta-title {
    font-size: 1.6em;
  }
  .page-about__hero-button,
  .page-about__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
}

/* Ensure all images within .page-about are not smaller than 200px display size */
.page-about img {
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

/* Overrides for specific image types if they are smaller in HTML width/height attributes */
.page-about__feature-icon {
  width: 200px; /* Enforce minimum display size for feature icons */
  height: 200px;
  max-width: 100%;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}

.page-about__story-image {
  min-width: 200px;
  min-height: 200px;
}

.page-about__hero-image {
  min-width: 200px;
  min-height: 200px;
}

.page-about__cta-image {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile-specific rules for images */
@media (max-width: 768px) {
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Maintain minimum size for content images */
    min-height: 200px;
  }
  .page-about__feature-icon {
    width: 200px; /* Keep explicit width/height for fixed-size icons if needed, but ensure they are not too small */
    height: 200px;
    max-width: 100%; /* Ensure it's responsive */
    margin-left: auto;
    margin-right: auto;
  }
}