/* style/about.css */
/* Base styles for the About Us page */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Main text color for dark background */
  background-color: #08160F; /* Body background color */
}

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

.page-about__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden; /* Ensure content doesn't overflow */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: #08160F; /* Match body background */
}

.page-about__hero-image {
  width: 100%;
  max-width: 1920px; /* Max width for the actual image */
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and text */
}

.page-about__hero-content {
  position: relative; /* Ensure content is above any potential background effect */
  z-index: 1;
  max-width: 900px;
  padding: 0 20px 60px; /* Padding for content below the image */
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
  font-weight: 700;
  color: #F2C14E; /* Gold color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: 1.25rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-about__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Ensure strong contrast for all CTA buttons on dark backgrounds */
.page-about__cta-button--dark {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Using main button gradient for best contrast */
  color: #FFFFFF;
}

/* Section Titles */
.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #F2C14E; /* Gold color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #57E38D; /* Glow color */
  border-radius: 2px;
}

.page-about__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  color: #22C768; /* Auxiliary color for sub titles */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about p {
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
}

.page-about strong {
  color: #57E38D; /* Emphasize keywords with Glow color */
}

/* Content Layouts */
.page-about__content-wrapper {
  display: flex;
  align-items: flex-start; /* Align items to the top */
  gap: 40px;
  margin-top: 30px;
}

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

.page-about__text-block {
  flex: 1;
}

.page-about__image-right,
.page-about__image-left {
  flex-shrink: 0;
  width: 50%; /* Adjust as needed */
  max-width: 600px; /* Max width for content images */
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Specific section backgrounds */
.page-about__intro-section,
.page-about__commitment-section,
.page-about__future-section {
  background-color: #0A1E14; /* Slightly lighter dark background for contrast */
}

.page-about__why-choose-section,
.page-about__team-section,
.page-about__faq-section {
  background-color: #11271B; /* Card BG color for these sections */
}


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

.page-about__faq-item {
  background-color: #08160F; /* Darker background for FAQ items */
  border: 1px solid #2E7A4E; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #F2FFF6; /* Main text color */
  background-color: #11271B; /* Slightly lighter background for summary */
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #1E3A2A; /* Divider color for hover */
}

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

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  width: 24px;
  text-align: center;
  color: #57E38D; /* Glow color for toggle */
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-about__faq-answer {
  padding: 0 20px 20px;
  color: #A7D9B8; /* Secondary text color */
  font-size: 1rem;
}

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

/* Hide default details marker */
.page-about__faq-item summary::-webkit-details-marker,
.page-about__faq-item summary::marker {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-about__content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .page-about__content-wrapper--reversed {
    flex-direction: column; /* Stack vertically for reversed also */
  }

  .page-about__text-block,
  .page-about__image-right,
  .page-about__image-left {
    width: 100%;
    max-width: 100%;
  }

  .page-about__image-right,
  .page-about__image-left {
    margin-top: 30px;
  }
}

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

  .page-about__hero-image {
    margin-bottom: 20px;
  }

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

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

  .page-about__hero-description {
    font-size: 1rem;
  }

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

  .page-about__sub-title {
    font-size: 1.2rem;
  }

  .page-about__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

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

  /* Mobile container responsiveness */
  .page-about__section,
  .page-about__container,
  .page-about__content-wrapper,
  .page-about__text-block,
  .page-about__faq-list,
  .page-about__faq-item,
  .page-about__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Specific padding for hero section to avoid double padding */
  .page-about__hero-section {
    padding-left: 0;
    padding-right: 0;
  }

  /* FAQ item padding for mobile */
  .page-about__faq-question {
    padding: 15px;
    font-size: 1rem;
  }
  .page-about__faq-answer {
    padding: 0 15px 15px;
  }

  /* Buttons mobile responsiveness */
  .page-about__cta-button {
    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;
    text-align: center;
  }
  .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;
    display: flex; /* Ensure flex behavior for wrapping */
    flex-direction: column; /* Stack buttons vertically */
  }

  .page-about__image-right,
  .page-about__image-left {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* Ensure color contrast on different backgrounds */
.page-about__dark-bg {
  color: #F2FFF6; /* Light text */
  background-color: #11271B; /* Dark background */
}

.page-about__dark-bg .page-about__cta-button {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Ensure bright button on dark background */
  color: #FFFFFF;
}

.page-about__dark-bg .page-about__sub-title {
  color: #57E38D; /* Glow color for sub-titles on dark background */
}

/* General text color for consistency */
.page-about p, .page-about li {
  color: #F2FFF6;
}

/* Link color for readability */
.page-about a {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
}
.page-about a:hover {
  text-decoration: underline;
}