/* style/about.css */
.page-about {
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a1a;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

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

.page-about__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold for main titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-about__section-title--dark {
  color: #8B0000; /* Dark red for titles on golden background */
  text-shadow: none;
}

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

.page-about__text-content--dark {
  color: #333333; /* Dark text on golden background for contrast */
}

.page-about__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__image-content--center {
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.page-about__hero-content {
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-about__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
}

.page-about__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-button {
  display: inline-block;
  background-color: #8B0000; /* Dark red for CTA */
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__hero-button:hover {
  background-color: #a00000;
  transform: translateY(-3px);
}

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

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Darken image for text readability */
}

/* Story Section */
.page-about__story-section .page-about__text-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Mission & Values Section */
.page-about__bg-dark-red {
  background-color: #8B0000;
}

.page-about__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
}

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

.page-about__card-text {
  font-size: 1.05em;
  line-height: 1.7;
  color: #f0f0f0;
}

/* Why Choose Us Section */
.page-about__grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

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

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

/* Call to Action Section */
.page-about__bg-golden {
  background-color: #FFD700;
}

.page-about__call-to-action {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-about__call-to-action-content {
  z-index: 2;
  position: relative;
}

.page-about__cta-button {
  display: inline-block;
  background-color: #8B0000; /* Dark red for CTA */
  color: #ffffff;
  padding: 18px 50px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.page-about__cta-button:hover {
  background-color: #a00000;
  transform: translateY(-5px);
}

.page-about__image-content--cta {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image for text readability */
  z-index: 1;
}

/* Future Outlook Section */
.page-about__future-outlook .page-about__text-content {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__text-content {
    font-size: 1em;
  }
  .page-about__hero-button {
    font-size: 1.1em;
    padding: 12px 30px;
  }
  .page-about__cta-button {
    font-size: 1.2em;
    padding: 15px 40px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__grid-two-cols {
    grid-template-columns: 1fr;
  }
  .page-about__grid-features {
    grid-template-columns: 1fr;
  }
  .page-about__section-padding {
    padding: 60px 15px;
  }
  .page-about__hero-section {
    padding: 40px 15px;
    min-height: 500px;
  }
  /* Mobile content area images must not overflow */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__image-content {
    max-width: 100%;
    height: auto;
  }
  /* Ensure content area itself does not cause overflow */
  .page-about {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__hero-button {
    font-size: 1em;
    padding: 10px 25px;
  }
  .page-about__cta-button {
    font-size: 1.1em;
    padding: 12px 30px;
  }
  .page-about__section-padding {
    padding: 40px 10px;
  }
}