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

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Ensure image first, then content */
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to maintain aspect ratio, but fill width */
  overflow: hidden;
}

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

.page-about__hero-content {
  padding: 40px 20px;
  max-width: 800px;
  margin-top: 20px; /* Space below image */
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  color: #F2C14E; /* Brand color for title */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-about__subtitle {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s 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; /* White text for contrast */
  border: none;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Brand color for text */
  border: 2px solid #F2C14E;
  margin-left: 15px;
}

.page-about__btn-secondary:hover {
  background: #F2C14E;
  color: #ffffff;
}

.page-about__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #F2C14E;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-about__text-block {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #FFF6D6;
}

/* Introduction Section */
.page-about__introduction-section {
  padding: 60px 0;
  background-color: #0A0A0A; /* Use the main background color */
}

.page-about__dark-bg {
  background-color: #0A0A0A; /* Explicitly dark background */
  color: #FFF6D6; /* Light text for dark background */
}

.page-about__light-bg {
  background-color: #111111; /* Card BG color */
  color: #FFF6D6; /* Light text for dark card background */
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12; /* Border color */
  text-align: center;
}

.page-about__card-title {
  font-size: 1.5em;
  color: #FFD36B; /* Glow color for card titles */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__card-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* Why Choose Section */
.page-about__why-choose-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-about__advantage-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
  text-align: center;
  background-color: #111111; /* Card BG color */
  color: #FFF6D6;
}

.page-about__card-image {
  width: 100%;
  height: auto;
  max-width: 400px; /* Constrain image width */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  display: block; /* Ensure no extra space below image */
  margin-left: auto;
  margin-right: auto;
}

.page-about__product-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
}

.page-about__product-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #FFF6D6;
}

.page-about__product-list li::before {
  content: '✓';
  color: #F2C14E;
  position: absolute;
  left: 0;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

.page-about__commitment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__commitment-item {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
  text-align: center;
  background-color: #111111; /* Card BG color */
  color: #FFF6D6;
}

.page-about__item-title {
  font-size: 1.5em;
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__item-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* Future Section */
.page-about__future-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-about__future-card {
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #3A2A12;
  text-align: center;
  background-color: #111111; /* Card BG color */
  color: #FFF6D6;
}

/* CTA Section */
.page-about__cta-section {
  padding: 60px 0;
  text-align: center;
  background-color: #0A0A0A;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
  gap: 15px;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-about__text-small {
  font-size: 0.9em;
  color: #FFF6D6;
  margin-top: 20px;
}

/* General image and button responsive rules for mobile checklist */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-about__section,
.page-about__card,
.page-about__container,
.page-about__cta-buttons,
.page-about__button-group,
.page-about__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

  .page-about__container {
    padding: 15px;
  }

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

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust clamp for smaller screens */
  }

  .page-about__subtitle {
    font-size: 1em;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    margin-left: 0 !important; /* Remove margin for stacked buttons */
    margin-bottom: 10px;
    padding: 12px 15px;
  }

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-bottom: 20px;
  }

  .page-about__text-block {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-about__values-grid,
  .page-about__advantages-grid,
  .page-about__commitment-list,
  .page-about__future-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }

  .page-about__value-card,
  .page-about__advantage-card,
  .page-about__commitment-item,
  .page-about__future-card {
    padding: 20px;
  }

  .page-about__card-title,
  .page-about__item-title {
    font-size: 1.3em;
  }

  /* Mobile image specific rules (Required for all images) */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* Mobile container specific rules (Required for all containers with images/content) */
  .page-about__section,
  .page-about__card,
  .page-about__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Specific checklist items for homepage are NOT applicable to about.html */
  /* (1. Top carousel, 2. Guide box + five team cards, 3. home_content box, 4. Blog card section are not present on this page.) */
}