/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Matches body background */
}

.page-about__section {
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-about__section-title {
  font-size: 3.2em;
  color: #FFD700;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-about__text-block p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #f0f0f0;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
  background-color: #0a0a0a;
  z-index: 1;
}

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

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
  z-index: -1;
}

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

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

.page-about__hero-description {
  font-size: 1.4em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #FFD700;
  color: #0a0a0a; /* Dark text on gold background for contrast */
  border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  color: #0a0a0a;
}

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

.page-about__btn-secondary:hover {
  background-color: #FFD700;
  color: #0a0a0a;
}

/* Content Grids */
.page-about__content-grid {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-bottom: 40px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

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

.page-about__content-grid .page-about__image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Core Values */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 215, 0, 0.2);
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow for icons */
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__value-card p {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

/* History List */
.page-about__history-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-about__history-list li {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #f0f0f0;
}

.page-about__history-list li::before {
  content: '⚡'; /* Unicode lightning bolt */
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.2em;
  top: 0;
}

.page-about__history-list strong {
  color: #FFD700;
}

/* Why Choose Us Features */
.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: rgba(139, 0, 0, 0.2); /* Dark red translucent background */
  padding: 30px;
  border-radius: 15px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #8B0000;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.page-about__feature-card p {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-about__cta-bottom {
  margin-top: 60px;
}

/* Responsibility List */
.page-about__responsibility-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-about__responsibility-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #f0f0f0;
}

.page-about__responsibility-list li::before {
  content: '✔'; /* Unicode checkmark */
  position: absolute;
  left: 0;
  color: #FFD700;
  font-size: 1.2em;
  top: 0;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-about__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background-color: rgba(255, 215, 0, 0.1);
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 215, 0, 0.2);
}

.page-about__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 30px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 20px 30px;
}

.page-about__faq-answer p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Final CTA */
.page-about__cta-final {
  padding: 100px 0;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3.5em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2.8em;
  }
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__content-grid--reverse {
    flex-direction: column;
  }
  .page-about__content-grid .page-about__image {
    max-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__hero-section {
    height: auto;
    min-height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* 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;
    gap: 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__content-grid,
  .page-about__content-grid--reverse {
    flex-direction: column;
    gap: 30px;
  }
  .page-about__content-grid .page-about__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__image,
  .page-about__value-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__values-grid,
  .page-about__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__value-card,
  .page-about__feature-card {
    padding: 20px;
  }
  .page-about__value-icon {
    width: 80px;
    height: 80px;
  }
  .page-about__value-title {
    font-size: 1.4em;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px;
  }
  .page-about__cta-description {
    font-size: 1.1em;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100%;
  }
}