/* style/about.css */

/* Base styles for the page-about scope */
.page-about {
  font-family: Arial, sans-serif;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  box-sizing: border-box;
}

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

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

.page-about__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any subtle background elements */
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff; /* White text for main title */
  margin-bottom: 15px;
  max-width: 100%;
}

.page-about__intro-text {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: #e0e0e0;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 100%;
}

/* General Section Styling */
.page-about__section {
  padding: 60px 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

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

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  font-weight: 600;
  color: #26A9E0; /* Brand primary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-about__sub-title {
  font-size: clamp(1.4em, 2.2vw, 2em);
  font-weight: 600;
  color: #ffffff; /* White text for sub-titles */
  margin-top: 30px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-about__paragraph {
  font-size: clamp(0.95em, 1.2vw, 1.1em);
  line-height: 1.7;
  color: #f0f0f0; /* Light text for paragraphs */
  margin-bottom: 15px;
  max-width: 100%;
}

.page-about__list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__list-item {
  font-size: clamp(0.95em, 1.2vw, 1.1em);
  line-height: 1.7;
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-about__list-item strong {
  color: #26A9E0; /* Highlight important text with brand color */
}

/* Feature Cards */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.page-about__feature-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block; /* Ensure block display for max-width/height auto */
}

.page-about__card-title {
  font-size: clamp(1.2em, 1.8vw, 1.5em);
  font-weight: 700;
  color: #26A9E0; /* Brand primary color for card titles */
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Commitment Section */
.page-about__commitment-item {
  margin-bottom: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #26A9E0;
  border-radius: 5px;
  box-sizing: border-box;
}

.page-about__commitment-item .page-about__sub-title {
  margin-top: 0;
  color: #26A9E0;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-size: clamp(1em, 1.2vw, 1.1em);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box; /* Crucial for button responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%; /* Ensure button doesn't exceed container */
}

.page-about__btn-primary {
  background: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
  margin-right: 15px;
}

.page-about__btn-primary:hover {
  background: #C46706;
  border-color: #C46706;
}

.page-about__btn-secondary {
  background: #26A9E0; /* Brand primary color */
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background: #1E87B2;
  border-color: #1E87B2;
}

.page-about__hero-content .page-about__btn-primary,
.page-about__future .page-about__btn-secondary {
    margin-top: 20px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 30px;
}

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    /* content: "−"; This is handled by JS for consistency */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: clamp(1em, 1.3vw, 1.2em);
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none; /* For <summary> tag */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for <summary> */
}

.page-about__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-about__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Brand color for FAQ questions */
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #ffffff;
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: clamp(0.95em, 1.2vw, 1.1em);
  line-height: 1.7;
  color: #f0f0f0;
  background: rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
}

/* Global Image and Container Responsiveness (for content area) */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Content area general containers */
.page-about__section,
.page-about__container,
.page-about__feature-card,
.page-about__commitment-item,
.page-about__faq-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Prevent content overflow */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }

  .page-about__main-title {
    font-size: 2.2em; /* Adjust H1 for mobile */
    margin-bottom: 10px;
  }

  .page-about__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    display: block !important; /* Stack buttons vertically */
    width: 100% !important;
    max-width: 100% !important;
    margin: 10px auto !important; /* Center and add vertical space */
    padding: 12px 20px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  
  .page-about__hero-content {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

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

  .page-about__sub-title {
    font-size: 1.3em;
    margin-top: 25px;
    margin-bottom: 10px;
  }

  .page-about__paragraph,
  .page-about__list-item,
  .page-about__faq-answer p {
    font-size: 0.95em;
  }

  .page-about__features-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 20px;
  }

  .page-about__feature-card {
    padding: 20px;
  }

  .page-about__feature-image {
    height: 180px; /* Adjust image height for mobile cards */
  }

  .page-about__card-title {
    font-size: 1.2em;
  }

  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  /* Force image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Force container responsiveness */
  .page-about__section,
  .page-about__container,
  .page-about__feature-card,
  .page-about__commitment-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  /* Remove extra padding from container if section already has it */
  .page-about__section .page-about__container {
      padding-left: 0;
      padding-right: 0;
  }

  /* Specific padding for sections if needed */
  .page-about__introduction,
  .page-about__why-choose-us,
  .page-about__commitments,
  .page-about__team,
  .page-about__future,
  .page-about__faq-section {
      padding-left: 0;
      padding-right: 0;
  }
  
  .page-about__hero-image-wrapper {
      padding-left: 0;
      padding-right: 0;
  }
}