/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main color on dark background */
  background-color: #0A0A0A; /* Body background color */
}

.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #F2C14E, #FFD36B);
  padding-top: 10px; /* Small top padding, relying on shared.css body padding */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  padding: 20px;
  max-width: 900px;
  margin-bottom: 20px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  color: #0A0A0A; /* Dark text on light hero background */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__intro-text {
  font-size: clamp(1em, 2vw, 1.2em);
  color: #333333; /* Dark text on light hero background */
  margin-bottom: 30px;
}

.page-about__cta-button {
  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;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #ffffff;
  border: none;
}

.page-about__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__btn-secondary {
  background: #111111; /* Card BG color */
  color: #FFD36B;
  border: 2px solid #FFD36B;
}

.page-about__btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-about__dark-section {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

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

.page-about__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.page-about__sub-title {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  color: #FFD36B;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 500;
}

.page-about__text-block p {
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

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

.page-about__card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF6D6;
}

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

.page-about__card-title {
  font-size: clamp(1.2em, 2vw, 1.5em);
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-about__contact-links {
  text-align: center;
  margin-top: 50px;
}

.page-about__contact-links a {
  color: #FFD36B;
  text-decoration: underline;
  margin: 0 10px;
}

.page-about__contact-links a:hover {
  color: #F2C14E;
}

/* FAQ Section */
.page-about__faq {
  padding-bottom: 80px;
}

.page-about__faq-list {
  margin-top: 40px;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: clamp(1.1em, 2vw, 1.3em);
  font-weight: 600;
  cursor: pointer;
  color: #FFF6D6;
  background-color: #1A1A1A;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

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

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__grid-two-columns {
    grid-template-columns: 1fr;
  }
  .page-about__hero-section {
    padding-bottom: 40px;
  }
  .page-about__hero-image-wrapper {
    order: -1; /* Move image above content for smaller screens */
    margin-bottom: 20px;
  }
  .page-about__hero-content {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }
  .page-about__section-title {
    margin-bottom: 30px;
  }
  .page-about__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile: controlled by shared's media */
  }
  .page-about__grid-two-columns {
    gap: 20px;
  }
  .page-about__grid-three-columns {
    grid-template-columns: 1fr;
  }
  .page-about__card {
    padding: 20px;
  }
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__hero-image-wrapper,
  .page-about__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__cta-button,
  .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-bottom: 10px; /* Space between stacked buttons */
  }
  .page-about__contact-links {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 576px) {
  .page-about__main-title {
    font-size: 2em;
  }
  .page-about__intro-text {
    font-size: 0.95em;
  }
  .page-about__cta-button {
    padding: 12px 20px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__sub-title {
    font-size: 1.2em;
  }
}