/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #FFFFFF;
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__section-title--light {
  color: #FFFFFF;
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 70vh; /* Adjusted for better visibility on desktop */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 900px;
  padding: 20px;
}

.page-about__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-about__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.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: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

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

.page-about__btn-secondary {
  background: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b7;
}

.page-about__introduction-section,
.page-about__why-choose-section,
.page-about__faq-section {
  padding: 80px 0;
}

.page-about__dark-bg {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-about__introduction-text p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-about__introduction-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-about__mission-values-section {
  padding: 80px 0;
}

.page-about__mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.page-about__mv-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__mv-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

.page-about__mv-card p,
.page-about__values-list li {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #f0f8ff; /* Slightly lighter for contrast on blue */
}

.page-about__values-list {
  list-style-type: disc;
  margin-left: 20px;
}

.page-about__values-list li strong {
  color: #FFFFFF;
}

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

.page-about__why-choose-item {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-about__why-choose-item:hover {
  transform: translateY(-5px);
}

.page-about__why-choose-item img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__why-choose-item h3 {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__why-choose-item p {
  font-size: 1em;
  color: #555555;
}

.page-about__commitment-section {
  padding: 80px 0;
  text-align: center;
}

.page-about__commitment-description {
  font-size: 1.2em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f8ff;
}

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

.page-about__commitment-item {
  background: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__commitment-item h3 {
  font-size: 1.8em;
  color: #FFFFFF;
  margin-bottom: 15px;
}

.page-about__commitment-item p {
  font-size: 1.1em;
  color: #f0f8ff;
}

.page-about__faq-section {
  padding: 80px 0;
}

.page-about__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-about__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f9f9f9;
  color: #26A9E0;
  font-weight: bold;
  font-size: 1.2em;
  cursor: pointer;
  list-style: none; /* Hide default marker */
}

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

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

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or just '-' */
}

.page-about__faq-answer {
  padding: 20px;
  background-color: #FFFFFF;
  border-top: 1px solid #e0e0e0;
  color: #555555;
}

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

.page-about__cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-about__cta-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f8ff;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__introduction-grid,
  .page-about__mv-grid {
    grid-template-columns: 1fr;
  }
  .page-about__introduction-image {
    order: -1; /* Move image above text on smaller screens */
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    height: 60vh;
    padding-top: var(--header-offset, 120px) !important; /* Ensure content is not hidden by fixed header */
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-about__btn-primary, .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__introduction-section,
  .page-about__mission-values-section,
  .page-about__why-choose-section,
  .page-about__commitment-section,
  .page-about__faq-section,
  .page-about__cta-section {
    padding: 50px 0;
  }

  /* Mobile responsive for all images */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important; /* Enforce min-size for content images */
    min-height: 200px !important;
  }

  .page-about__introduction-image,
  .page-about__why-choose-item img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  /* Ensure all image containers are responsive */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__introduction-grid,
  .page-about__mv-grid,
  .page-about__why-choose-grid,
  .page-about__commitment-grid,
  .page-about__hero-buttons,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-about__mv-card, .page-about__why-choose-item, .page-about__commitment-item {
    padding: 20px;
  }

  .page-about__faq-item summary {
    font-size: 1.1em;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 0.9em;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__mv-title {
    font-size: 1.5em;
  }
  .page-about__why-choose-item h3 {
    font-size: 1.3em;
  }
}