/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: transparent; /* Body background is handled by shared.css var(--site-bg) which is #0A0A0A */
}

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

.page-about__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

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

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Adjust as needed for visual balance */
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #FFF6D6; /* Text Main */
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow color for prominence */
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-about__description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  color: #FFF6D6; /* Text Main */
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about a[class*="button"],
.page-about a[class*="btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  width: auto; /* Default to auto width for desktop */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #ffffff; /* White text for primary button */
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #FFE48E 0%, #EAB03A 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-about__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color */
  border: 2px solid #3A2A12; /* Border color */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary:hover {
  background: #1A1A1A;
  color: #FFE48E;
  border-color: #F2C14E;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #FFD36B; /* Glow color */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-about__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #FFF6D6; /* Text Main */
  text-align: justify;
}

.page-about__flex-container {
  display: flex;
  align-items: center;
  gap: 40px;
}

.page-about__flex-container--reverse {
  flex-direction: row-reverse;
}

.page-about__content-column,
.page-about__image-column {
  flex: 1;
}

.page-about__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-about__feature-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.page-about__feature-icon {
  width: 60px; /* Allowed small icon size */
  height: 60px; /* Allowed small icon size */
  margin-bottom: 20px;
  display: inline-block;
  filter: drop-shadow(0 0 5px rgba(255, 211, 107, 0.5));
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F2C14E; /* Primary color */
  margin-bottom: 15px;
}

.page-about__card-text {
  font-size: 1rem;
  color: #FFF6D6; /* Text Main */
  line-height: 1.7;
}

.page-about__join-us-content {
  text-align: center;
  padding: 40px 20px;
  background: #111111; /* Card BG */
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border color */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-about__join-us-content .page-about__section-title {
  margin-bottom: 30px;
}

.page-about__join-us-content .page-about__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__text-small {
  font-size: 0.9rem;
  margin-top: 20px;
  color: #FFF6D6; /* Text Main */
}

.page-about__link {
  color: #FFD36B; /* Glow color */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-about__link:hover {
  color: #F2C14E; /* Primary color */
  text-decoration: underline;
}

.page-about__faq-section {
  padding-bottom: 80px;
}

.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background: #1A1A1A; /* Slightly darker for question */
  color: #FFD36B; /* Glow color */
  font-size: 1.2rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-about__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

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

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

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
  font-size: 1rem;
  line-height: 1.7;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__flex-container {
    flex-direction: column;
  }
  .page-about__flex-container--reverse {
    flex-direction: column;
  }
  .page-about__content-column, .page-about__image-column {
    flex: none;
    width: 100%;
  }
  .page-about__image-column {
    order: -1; /* Image first on mobile for default flex */
  }
  .page-about__flex-container--reverse .page-about__image-column {
    order: 0; /* Image second on mobile for reverse flex */
  }
}

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

  .page-about__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
  }

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

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

  .page-about__description {
    font-size: clamp(0.9rem, 3vw, 1rem);
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

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

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

  .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;
    padding: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__container,
  .page-about__join-us-content,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* Ensure content area images are not too small */
  .page-about__content-area img,
  .page-about__text-block img {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-about__feature-icon {
    width: 48px; /* Adjust for smaller screens if needed, but still above 32x32 for most */
    height: 48px;
  }

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

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

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }

  .page-about__faq-toggle {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-about__hero-content {
    padding: 10px;
  }

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

  .page-about__description {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem);
  }
}