/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is dark (#000000), so text should be light */
  background-color: #000000; /* Ensuring consistent dark background */
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-about__dark-bg {
  background-color: #0A2463;
  color: #ffffff;
}

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

.page-about__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
  color: #f0f0f0;
}

.page-about__paragraph {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__subtitle {
  font-size: 1.8em;
  color: #E3B505;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-sizing: border-box;
}

.page-about__btn-primary {
  background-color: #E3B505;
  color: #0A2463;
  border: 2px solid #E3B505;
}

.page-about__btn-primary:hover {
  background-color: #ffc107;
  color: #000000;
  border-color: #ffc107;
}

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

.page-about__btn-secondary:hover {
  background-color: #E3B505;
  color: #0A2463;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-about__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
}

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

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

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

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

.page-about__content-grid {
  display: flex;
  gap: 60px;
  align-items: center;
}

.page-about__text-block {
  flex: 1;
}

.page-about__image-block {
  flex: 1;
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: block;
  margin: 0 auto;
}

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

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

.page-about__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.15);
}

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

.page-about__card-description {
  color: #f0f0f0;
  line-height: 1.6;
}

.page-about__center-image {
  text-align: center;
}

/* Commitment Section */
.page-about__commitment-section {
  background-color: #0A2463;
  padding: 80px 0;
}

.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.page-about__commitment-item {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Team Section */
.page-about__team-section {
  background-color: #000000;
  padding: 80px 0;
}

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

.page-about__team-member-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__team-member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #E3B505;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__member-name {
  font-size: 1.5em;
  color: #E3B505;
  margin-bottom: 5px;
  font-weight: bold;
}

.page-about__member-position {
  font-size: 1.1em;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-about__member-bio {
  font-size: 0.95em;
  color: #f0f0f0;
  line-height: 1.5;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #0A2463;
  padding: 80px 0;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-about__faq-item {
  background-color: rgba(0, 0, 0, 0.2);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #0A2463;
  color: #E3B505;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #1a3a7a;
}

.page-about__faq-title {
  font-size: 1.25em;
  margin: 0;
  color: #E3B505;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #E3B505;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  background-color: rgba(0, 0, 0, 0.3);
  color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

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

.page-about__cta-content {
  max-width: 800px;
}

.page-about__cta-title {
  font-size: 3em;
  color: #E3B505;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-about__cta-button {
  padding: 18px 40px;
  font-size: 1.2em;
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__content-grid {
    flex-direction: column;
    gap: 40px;
  }
  .page-about__image-block {
    order: -1; /* Image appears above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    min-height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__section-intro {
    font-size: 1em;
    margin-bottom: 40px;
  }
  .page-about__subtitle {
    font-size: 1.5em;
  }
  .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__image-block,
  .page-about__center-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__features-grid,
  .page-about__commitment-grid,
  .page-about__team-members-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-about__feature-card,
  .page-about__commitment-item,
  .page-about__team-member-card {
    padding: 25px;
  }
  .page-about__cta-title {
    font-size: 2.2em;
  }
  .page-about__cta-description {
    font-size: 1em;
  }
  .page-about__cta-button {
    width: 100%;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__faq-question {
    padding: 18px 20px;
  }
  .page-about__faq-title {
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 15px 20px;
  }
  .page-about__section, .page-about__card, .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}