/* style/about-us.css */

/* Base styles for the About Us page */
.page-about-us {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
}

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

/* Hero Section */
.page-about-us__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* For fixed header */
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Placeholder if image doesn't load */
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 500px; /* Minimum height for hero */
}

.page-about-us__hero-content-wrapper {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1; /* Ensure content is above any potential background effect */
  padding-bottom: 40px; /* Spacing below text content */
}

.page-about-us__hero-image {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  width: 100%; /* Occupy full width of its container */
  margin-bottom: 30px; /* Space between image and text */
}

.page-about-us__hero-text-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-about-us__main-title {
  font-size: 2.5em; /* Using em to avoid fixed large px size */
  font-weight: bold;
  color: #FFF6D6;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-about-us__lead-paragraph {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

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

.page-about-us__btn-primary,
.page-about-us__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-about-us__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for bright button */
  border: none;
}

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

.page-about-us__btn-secondary {
  background: transparent;
  color: #FFF6D6;
  border: 2px solid #F2C14E;
}

.page-about-us__btn-secondary:hover {
  transform: translateY(-2px);
  background-color: rgba(242, 193, 78, 0.2);
}

/* General Section Styling */
.page-about-us__section {
  padding: 80px 0;
  border-bottom: 1px solid #3A2A12; /* Border */
}

.page-about-us__section:last-of-type {
  border-bottom: none;
}

.page-about-us__section-title {
  font-size: 2em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
}

.page-about-us__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-about-us__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-about-us__content-wrapper--reversed {
  flex-direction: row-reverse;
}

.page-about-us__text-block {
  flex: 1;
}

.page-about-us__text-block p {
  margin-bottom: 20px;
  color: #FFF6D6;
}

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

.page-about-us__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Why Choose Us Features Grid */
.page-about-us__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about-us__feature-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-about-us__feature-card:hover {
  transform: translateY(-5px);
}

.page-about-us__feature-card img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
}

.page-about-us__feature-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 15px;
}

/* Join Community Section */
.page-about-us__center-content {
  text-align: center;
}

/* FAQ Section */
.page-about-us__faq-section {
  padding-bottom: 80px; /* Ensure space below last section */
}

.page-about-us__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-about-us__faq-item {
  background-color: #111111; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-about-us__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1c1c1c;
  color: #FFF6D6;
  border-bottom: 1px solid #3A2A12;
  transition: background-color 0.3s ease;
}

.page-about-us__faq-question:hover {
  background-color: #2a2a2a;
}

.page-about-us__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #FFF6D6;
}

.page-about-us__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #F2C14E;
  transition: transform 0.3s ease;
}

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

.page-about-us__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

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

.page-about-us__faq-answer p {
  margin-bottom: 15px;
}

/* Color Contrast and Backgrounds */
.page-about-us__dark-bg {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

.page-about-us__light-bg {
  background-color: #1a1a1a; /* Slightly lighter for contrast in sections */
  color: #FFF6D6;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .page-about-us__content-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .page-about-us__content-wrapper--reversed {
    flex-direction: column; /* Also column for reversed on smaller screens */
  }

  .page-about-us__image-block {
    margin-top: 30px;
  }

  .page-about-us__hero-text-content {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-about-us__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header adjustment */
    min-height: unset;
    padding-bottom: 40px;
  }

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

  .page-about-us__lead-paragraph {
    font-size: 1em;
  }

  .page-about-us__section {
    padding: 60px 0;
  }

  .page-about-us__section-title {
    font-size: 1.8em;
  }

  .page-about-us__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about-us__btn-primary,
  .page-about-us__btn-secondary {
    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-us__features-grid {
    grid-template-columns: 1fr;
  }

  .page-about-us__feature-card {
    padding: 20px;
  }

  /* Image responsiveness for mobile */
  .page-about-us img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about-us__section,
  .page-about-us__card,
  .page-about-us__container,
  .page-about-us__feature-card,
  .page-about-us__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about-us__faq-question {
    padding: 15px 20px;
  }

  .page-about-us__faq-answer {
    padding: 15px 20px;
  }
}