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

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #F2C14E; /* Main color */
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-about__section-title--light {
  color: #FFF6D6; /* Text Main */
}

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

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

.page-about__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(17, 17, 17, 0.7); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  margin-top: 50px;
}

.page-about__main-title {
  font-size: clamp(28px, 4vw, 50px);
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-about__hero-description {
  font-size: 18px;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 30px;
}

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

.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: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-about__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

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

.page-about__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: #0A0A0A; /* Background */
  color: #FFD36B; /* Glow */
  border-color: #FFD36B; /* Glow */
}

/* General content sections */
.page-about__mission-vision-section,
.page-about__journey-team-section {
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
  padding: 60px 0;
}

.page-about__values-commitment-section,
.page-about__why-choose-us-section,
.page-about__contact-cta-section {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
  padding: 60px 0;
}

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

.page-about__content-grid--reverse {
  grid-template-areas: "image text";
}

.page-about__content-grid--reverse .page-about__image-block {
  grid-area: image;
}

.page-about__content-grid--reverse .page-about__text-block {
  grid-area: text;
}

.page-about__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.7;
  color: #FFF6D6; /* Text Main */
}

.page-about__text-block h3 {
  font-size: 24px;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
}

.page-about__text-block--light p,
.page-about__text-block--light h3 {
  color: #FFF6D6;
}

.page-about__image-block img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: block;
}

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

.page-about__benefit-card {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main */
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-about__benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__card-title {
  font-size: 22px;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__benefit-card p {
  font-size: 16px;
  line-height: 1.7;
  flex-grow: 1;
  color: #FFF6D6; /* Text Main */
}

.page-about__cta-section {
  text-align: center;
  margin-top: 60px;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
  color: #FFF6D6; /* Text Main */
}

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

details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

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

details.page-about__faq-item summary.page-about__faq-question:hover {
  background: #1c1c1c; /* Slightly lighter Card BG */
}

.page-about__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Main color */
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #0A0A0A; /* Background */
  border-radius: 0 0 5px 5px;
  font-size: 16px;
  line-height: 1.7;
  color: #FFF6D6; /* Text Main */
}

.page-about__faq-answer p {
  margin: 0;
}

.page-about__faq-answer a {
  color: #F2C14E;
  text-decoration: underline;
}

.page-about__faq-answer a:hover {
  color: #FFD36B;
}

/* Contact CTA Section */
.page-about__contact-cta-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
}

.page-about__contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-about__contact-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-about__contact-image {
  display: none; /* Hidden on desktop by default, shown on larger screens if desired */
}

/* Responsive styles */

/* Mobile first - general adjustments */
@media (max-width: 768px) {
  .page-about__container {
    padding: 30px 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

  /* Hero Section */
  .page-about__hero-section {
    padding-top: 10px;
    padding-bottom: 40px;
    min-height: unset;
  }

  .page-about__hero-image img {
    object-fit: contain !important; /* Prevent cropping on mobile */
    aspect-ratio: unset !important;
    filter: brightness(0.4); /* Slightly darker for better text contrast */
  }

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

  .page-about__main-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0 auto; /* Center buttons if flex-direction column */
  }

  /* Content Grid */
  .page-about__content-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .page-about__content-grid--reverse {
    grid-template-areas: unset;
  }

  .page-about__text-block p {
    font-size: 16px;
  }

  .page-about__text-block h3 {
    font-size: 22px;
  }

  .page-about__image-block img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Benefits Grid */
  .page-about__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__benefit-card {
    padding: 25px;
  }

  .page-about__card-title {
    font-size: 20px;
  }

  .page-about__benefit-card p {
    font-size: 15px;
  }

  .page-about__cta-section {
    margin-top: 40px;
    padding: 0 15px;
  }

  /* FAQ Section */
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }

  .page-about__faq-qtext {
    font-size: 16px;
  }

  .page-about__faq-toggle {
    font-size: 24px;
    width: 24px;
  }

  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* Contact CTA Section */
  .page-about__contact-content {
    padding: 0 15px;
  }

  .page-about__contact-content p {
    font-size: 16px;
    margin-bottom: 25px;
  }
}

/* Larger screens for image block in contact section */
@media (min-width: 1024px) {
  .page-about__contact-cta-section .page-about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
  }
  .page-about__contact-content {
    text-align: left;
    max-width: none;
    margin: 0;
  }
  .page-about__contact-image {
    display: block;
  }
  .page-about__contact-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  }
  .page-about__cta-buttons {
    justify-content: flex-start;
  }
}