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

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

.page-about__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* White text for hero content over dark image */
  text-align: center;
  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;
}

.page-about__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: -1;
}

.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: #FCBC45; /* Login button color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-about__button-group {
  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;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-size: 1.1em;
}

.page-about__button--register {
  background-color: #000000; /* Primary color */
  color: #FFFFFF; /* Register text color */
  border: 2px solid #FCBC45;
}

.page-about__button--register:hover {
  background-color: #FCBC45;
  color: #000000;
  transform: translateY(-3px);
}

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

.page-about__button--login:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-3px);
}

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

.page-about__story-section {
  padding: 60px 0;
  background-color: #f8f8f8;
}

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

.page-about__story-image {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  height: auto;
}

.page-about__text {
  flex: 1;
  font-size: 1.1em;
  color: #555555;
}

.page-about__mission-values-section {
  padding: 80px 0;
}

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

.page-about__mission-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #eee;
}

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

.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #f8f8f8;
}

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

.page-about__why-choose-us-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  border: 1px solid #eee;
}

.page-about__why-choose-us-icon {
  width: 100%; /* Ensure icon takes full width within its container */
  max-width: 400px; /* Max width for consistency */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__why-choose-us-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-about__cta-section {
  background-color: #000000; /* Primary color */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
}

.page-about__cta-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight color */
}

.page-about__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-about__button--join:hover {
  background-color: #FFFFFF;
  color: #000000;
  transform: translateY(-5px);
}

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

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px);
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__button-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-about__story-content {
    flex-direction: column;
  }
  .page-about__story-image {
    max-width: 100%;
    min-width: 200px;
    height: auto;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__cta-title {
    font-size: 1.8em;
  }
  .page-about__text {
    font-size: 1em;
  }
  /* Ensure all content area images are responsive and not too small */
  .page-about img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for mobile */
    min-height: 200px;
  }
  .page-about__why-choose-us-icon {
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
  }
}

@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__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__button--join {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}