/* style/about.css */

/* Body background from shared.css is #0D0E12 (dark). Text color should be #FFF3E6. */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

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

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small decorative padding, body handles --header-offset */
  text-align: center;
  background-color: #0D0E12; /* Background */
  overflow: hidden;
}

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

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #FFF3E6;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #FFF3E6;
}

/* General Section Styles */
.page-about__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FF8C1A; /* Primary color */
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-about__sub-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-about__list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #FFF3E6;
}

.page-about__list-item {
  margin-bottom: 10px;
}

.page-about__list-item strong {
  color: #FFA53A;
}

/* Button Styles */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: none;
  margin: 10px;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #A84F0C; /* Border */
  margin: 10px;
}

.page-about__btn-secondary:hover {
  background-color: rgba(255, 165, 58, 0.1);
  transform: translateY(-2px);
}

/* Sections Specific */
.page-about__introduction-section,
.page-about__commitment-section,
.page-about__faq-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
  color: #FFF3E6;
}

.page-about__why-choose-us-section,
.page-about__future-direction-section,
.page-about__contact-cta-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
  color: #FFF3E6;
}

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

.page-about__feature-card {
  background-color: #0D0E12; /* Background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 10px;
}

.page-about__card-text {
  font-size: 1rem;
  color: #FFF3E6;
}

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

.page-about__commitment-item {
  background-color: #17191F; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border */
}

.page-about__commitment-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-about__cta-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

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

.page-about__future-item {
  background-color: #0D0E12; /* Background */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border */
}

.page-about__future-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
}

.page-about__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF3E6;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  color: #FFA53A; /* Auxiliary color */
  background-color: #17191F; /* Card BG */
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: rgba(255, 165, 58, 0.05);
}

.page-about__faq-item[open] > .page-about__faq-question {
  border-bottom: 1px solid #A84F0C; /* Border */
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFB04D;
}

.page-about__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 1rem;
  color: #FFF3E6;
}

.page-about__faq-answer p {
  margin-bottom: 0;
  color: #FFF3E6;
}

.page-about__contact-cta-section {
  text-align: center;
  padding: 80px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-about__section-title {
    font-size: 2rem;
  }

  .page-about__sub-title {
    font-size: 1.6rem;
  }

  .page-about__text-block,
  .page-about__hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-about__hero-content {
    max-width: 100%;
    padding: 0 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-about__hero-description {
    font-size: 0.95rem;
  }

  .page-about__section-title {
    font-size: 1.8rem;
    padding-top: 30px;
  }

  .page-about__sub-title {
    font-size: 1.4rem;
  }

  .page-about__text-block,
  .page-about__list-item,
  .page-about__card-text,
  .page-about__faq-answer p {
    font-size: 0.9rem;
  }

  .page-about__introduction-section,
  .page-about__why-choose-us-section,
  .page-about__commitment-section,
  .page-about__future-direction-section,
  .page-about__faq-section,
  .page-about__contact-cta-section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__feature-card,
  .page-about__commitment-item,
  .page-about__future-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile button responsiveness */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0 !important; /* Adjust margin for vertical stack */
  }

  .page-about__cta-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
  }
}