/* style/about.css */
.page-about {
  color: #ffffff; /* Light text for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body background from shared.css */
  padding-top: var(--header-offset, 120px); /* Account for fixed header on desktop */
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold main color */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: bold;
}

.page-about__subtitle {
  font-size: 1.2em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__paragraph {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
}

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

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

.page-about__button--primary:hover {
  background-color: #e6c200;
  color: #000000;
}

.page-about__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-about__button--secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

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

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4; /* Slightly dim the background image */
}

.page-about__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
}

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

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

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

/* Our Story Section */
.page-about__story-section {
  padding: 80px 0;
  background-color: #0a0a0a; /* Darker background for contrast */
}

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

.page-about__story-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__story-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-about__vision-image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__mission-vision-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

.page-about__mission-card,
.page-about__vision-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly visible card background */
  border-left: 5px solid #FFD700;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

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

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #0a0a0a;
}

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  border-top: 3px solid #FFD700;
  transition: transform 0.3s ease;
}

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

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

.page-about__why-choose-image-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.page-about__why-choose-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  min-width: 200px;
  min-height: 200px;
}

/* Call to Action Section */
.page-about__cta-section {
  padding: 80px 0;
  background-color: #1a1a1a;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__story-grid,
  .page-about__mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .page-about__story-image-wrapper,
  .page-about__vision-image-wrapper {
    order: -1; /* Image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
  }
  .page-about__button {
    width: 100%;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-top: 40px;
  }
  .page-about__subtitle {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about__paragraph {
    font-size: 0.95em;
  }
  .page-about__feature-title {
    font-size: 1.3em;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__cta-buttons {
    flex-direction: column;
  }
  .page-about__story-image,
  .page-about__mission-vision-image,
  .page-about__why-choose-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  /* Content area images must not cause horizontal scrolling */
  .page-about img {
    max-width: 100%;
    height: auto;
  }
}

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