/* style/about.css */

/* Base styles */
.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;
}

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 30px;
  color: #FF8C1A; /* Main color for titles */
  letter-spacing: 1px;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  margin-bottom: 20px;
  color: #FFA53A; /* Auxiliary color for sub-titles */
}

.page-about__intro-text {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #FFF3E6;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about p {
  margin-bottom: 1em;
  color: #FFF3E6;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for better text contrast if needed, but no color change */
}

.page-about__hero-content {
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  text-align: center;
  z-index: 1; /* Ensure content is above any potential background elements */
}

.page-about__main-title {
  font-weight: bold;
  margin-bottom: 20px;
  color: #FF8C1A; /* Main color */
  letter-spacing: 1px;
  line-height: 1.2;
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
}

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

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.page-about__cta-buttons--center {
  margin-top: 40px;
}

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
  color: #FFF3E6;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%); /* Glow */
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.6);
}

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

.page-about__btn-secondary:hover {
  background: #FF8C1A;
  color: #FFF3E6;
  box-shadow: 0 0 15px rgba(255, 140, 26, 0.4);
}

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

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  text-align: left;
}

.page-about__content-grid--reverse {
  grid-template-columns: 1fr 1fr;
}

.page-about__content-grid--reverse .page-about__text-block {
  order: 2;
}

.page-about__content-grid--reverse .page-about__image-block {
  order: 1;
}

.page-about__image-block {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Core Values Section */
.page-about__core-values {
  background-color: #17191F; /* Card BG */
  padding-top: 80px;
  padding-bottom: 80px;
}

.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: #0D0E12;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  border: 1px solid #A84F0C; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px #FFB04D; /* Glow */
}

.page-about__value-icon {
  width: 120px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__value-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFA53A;
}

.page-about__value-description {
  font-size: 0.95em;
  color: #FFF3E6;
}

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

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about__feature-item {
  background-color: #17191F;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border-left: 5px solid #FF8C1A;
  transition: transform 0.3s ease;
}

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

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFA53A;
}

.page-about__feature-description {
  font-size: 1em;
  color: #FFF3E6;
}

/* Our Commitment Section */
.page-about__our-commitment {
  background-color: #17191F;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__our-commitment .page-about__content-area {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

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

.page-about__faq-item {
  background-color: #17191F;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #A84F0C;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #FFA53A;
  background-color: #17191F;
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none;
}

.page-about__faq-question:hover {
  background-color: #2a2d3a;
}

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

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

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #FFF3E6;
  line-height: 1.6;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−';
}

/* Contact CTA Section */
.page-about__contact-cta {
  background-color: #0D0E12;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-about__cta-box {
  background-color: #17191F;
  padding: 50px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid #A84F0C;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-about__content-grid--reverse .page-about__text-block {
    order: unset;
  }
  .page-about__content-grid--reverse .page-about__image-block {
    order: unset;
  }
  .page-about__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-about__sub-title {
    font-size: 1.5em;
  }

  .page-about__hero-content {
    margin-top: 20px;
  }

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

  .page-about__hero-description {
    font-size: 1em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__content-grid,
  .page-about__features-grid,
  .page-about__values-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-about__value-card,
  .page-about__feature-item {
    padding: 25px;
  }

  .page-about__image,
  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__image-block,
  .page-about__hero-image-wrapper,
  .page-about__value-icon,
  .page-about__cta-box,
  .page-about__container,
  .page-about__faq-list,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-about__hero-content {
    padding: 0 15px;
  }

  .page-about__cta-box {
    padding: 30px 20px;
  }

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

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

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.8em;
  }

  .page-about__sub-title {
    font-size: 1.3em;
  }

  .page-about__intro-text {
    font-size: 0.95em;
  }

  .page-about__hero-description {
    font-size: 0.9em;
  }

  .page-about__value-title,
  .page-about__feature-title {
    font-size: 1.2em;
  }

  .page-about__value-description,
  .page-about__feature-description {
    font-size: 0.9em;
  }
}