/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  padding-bottom: 40px; /* Ensure space above footer */
}

.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__card-bg {
  background-color: #17191F; /* Card B G */
}

.page-about__dark-section {
  background-color: #FF8C1A; /* Main color as background for contrast */
  color: #ffffff; /* White text for main color background */
}

.page-about__section-title {
  font-size: clamp(1.8em, 2.5vw, 2.5em);
  font-weight: 700;
  margin-bottom: 40px;
  color: #FFF3E6; /* Text Main */
  line-height: 1.2;
}

.page-about__dark-section .page-about__section-title {
  color: #ffffff;
}

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

.page-about__content-area p {
  margin-bottom: 1em;
  font-size: 1.1em;
  color: #FFF3E6;
}

.page-about__content-area ul {
  list-style: none;
  padding-left: 0;
}

.page-about__content-area ul li {
  margin-bottom: 0.8em;
  position: relative;
  padding-left: 25px;
  color: #FFF3E6;
}

.page-about__content-area ul li::before {
  content: '•';
  color: #FFA53A; /* Auxiliary color for bullet points */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.2em;
  top: -2px;
}

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

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

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

.page-about__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 20px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__description {
  font-size: 1.2em;
  color: #ffffff;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.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;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: #17191F; /* Card B G */
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #A84F0C; /* Border color */
}

.page-about__btn-secondary:hover {
  background: #FFA53A;
  color: #17191F;
  border-color: #FFA53A;
  transform: translateY(-2px);
}

.page-about__cta-button {
  margin-top: 20px;
}

/* Images within content */
.page-about__image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 10px;
  margin: 30px auto;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  min-height: 200px;
}

/* CTA Section */
.page-about__cta {
  padding: 80px 0;
}

.page-about__cta-title {
  font-size: clamp(2em, 4vw, 3em);
  color: #ffffff;
  margin-bottom: 20px;
}

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

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

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

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #FFF3E6;
  list-style: none; /* Remove default marker */
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFA53A; /* Auxiliary color for toggle icon */
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .page-about__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body handles header offset */
    padding-bottom: 40px;
    min-height: 400px;
  }

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

  .page-about__main-title {
    font-size: 2em;
  }

  .page-about__description {
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 1.5em;
    margin-bottom: 30px;
  }

  .page-about__content-area p,
  .page-about__content-area ul li {
    font-size: 0.95em;
  }

  /* Images responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* Video responsive */
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-about__video-section {
    padding-top: 10px !important;
  }
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons responsive */
  .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;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-about__cta-buttons {
    display: flex;
    flex-direction: column; 
  }

  .page-about__faq-item summary {
    font-size: 1em;
    padding: 15px;
  }

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