/* style/about.css */
.page-about {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-about__hero-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 900px;
  padding: 20px;
  color: #FFFFFF;
}

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

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
  color: #F0F0F0;
}

.page-about__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__hero-button--primary {
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Main color for text */
  border: 2px solid #FCBC45;
}

.page-about__hero-button--primary:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-about__section--padded {
  padding: 80px 20px;
}

.page-about__section--alt-bg {
  background-color: #f8f8f8;
}

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

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

.page-about__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.page-about__image-inline {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__image-full-width {
  display: block;
  width: 100%;
  height: auto;
  margin: 40px 0;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

.page-about__feature-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-about__feature-description {
  font-size: 1em;
  line-height: 1.7;
  color: #555555;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-about__feature-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto; /* Pushes button to the bottom */
  text-align: center;
}

.page-about__button--primary, .page-about__feature-button[href*="vip88-ph.com"] {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-about__button--primary:hover, .page-about__feature-button[href*="vip88-ph.com"]:hover {
  background-color: #e0a53b;
  color: #000000;
}

.page-about__button--secondary, .page-about__feature-button:not([href*="vip88-ph.com"]) {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-about__button--secondary:hover, .page-about__feature-button:not([href*="vip88-ph.com"]):hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-about__cta-section {
  background-color: #000000; /* Main color for CTA background */
  color: #FFFFFF;
  text-align: center;
}

.page-about__cta-container {
  padding: 60px 20px;
}

.page-about__cta-title {
  font-size: 2.8em;
  margin-bottom: 25px;
  font-weight: bold;
  color: #FFFFFF;
}

.page-about__cta-description {
  font-size: 1.2em;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #F0F0F0;
}

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

.page-about__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

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

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-about__hero-container {
    padding: 15px;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-about__section--padded {
    padding: 60px 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__section-text {
    font-size: 1em;
  }
  .page-about__mission-grid, .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-about__feature-card {
    padding: 25px;
  }
  .page-about__feature-title {
    font-size: 1.4em;
  }
  .page-about__feature-description {
    font-size: 0.95em;
  }
  .page-about__cta-container {
    padding: 40px 15px;
  }
  .page-about__cta-title {
    font-size: 2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__button {
    width: 100%;
  }
  /* Mobile content area images must not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

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