/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light background */
  background-color: #FFFFFF; /* White background */
}

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

/* Hero Section */
.page-about__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Black background for hero */
  color: #FFFFFF;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden; /* Prevent image overflow */
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 20px;
}

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

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

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

.page-about__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 120px;
  text-align: center;
}

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

.page-about__button--register:hover {
  background-color: #E0E0E0;
}

.page-about__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__button--login:hover {
  background-color: #E6A73A;
}

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

.page-about__mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-about__card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-about__card-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-about__card-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 4px;
  margin-top: 20px;
  object-fit: cover;
}

/* Core Values Section */
.page-about__values-section {
  padding: 80px 0;
  background-color: #FFFFFF;
}

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

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

.page-about__value-item {
  background-color: #F8F8F8;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.page-about__value-description {
  color: #555555;
  font-size: 0.95em;
}

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

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

.page-about__values-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

/* Technology Section */
.page-about__technology-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
}

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

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

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

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

.page-about__technology-image-wrapper {
  flex: 1;
  min-width: 400px; /* Ensure image has minimum width */
}

.page-about__technology-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.page-about__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  margin-top: 20px;
}

.page-about__button--learn-more:hover {
  background-color: #E6A73A;
}

/* CTA Section */
.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #F8F8F8;
}

.page-about__cta-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 40px;
}

.page-about__cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

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

.page-about__button--register-cta:hover {
  background-color: #333333;
}

.page-about__button--download-cta {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__button--download-cta:hover {
  background-color: #E6A73A;
}

.page-about__cta-image {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
}

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

.page-about__contact-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-about__contact-links {
  display: flex;
  gap: 15px;
  justify-content: center;
}

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

.page-about__button--contact:hover {
  background-color: #333333;
}

.page-about__button--faq {
  background-color: #F0F0F0;
  color: #000000;
  border: 2px solid #F0F0F0;
}

.page-about__button--faq:hover {
  background-color: #E0E0E0;
}

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

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

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

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

  .page-about__technology-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }

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

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

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

  .page-about__button {
    width: 80%;
    max-width: 250px;
  }

  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__technology-section,
  .page-about__cta-section,
  .page-about__contact-section {
    padding: 50px 0;
  }

  .page-about__section-title,
  .page-about__cta-title {
    font-size: 2em;
    margin-bottom: 30px;
  }

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

  .page-about__technology-text p {
    font-size: 0.95em;
  }

  .page-about__cta-actions {
    flex-direction: column;
  }

  .page-about__contact-links {
    flex-direction: column;
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__hero-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__card-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__values-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__technology-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__cta-image {
    max-width: 100%;
    height: auto;
  }
}

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

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