/* style/about.css */
.page-about {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-about__dark-bg {
  background-color: #26A9E0; /* Primary brand color for dark sections */
  color: #ffffff;
}

.page-about__hero-section {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-about__hero-title {
  font-size: 3.2em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-about__hero-description {
  font-size: 1.3em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

.page-about__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  color: #26A9E0; /* Primary color for titles */
}

.page-about__dark-bg .page-about__section-title {
  color: #ffffff;
}

.page-about__introduction-section, 
.page-about__mission-vision-section, 
.page-about__why-choose-section, 
.page-about__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

.page-about__history-section, 
.page-about__values-section, 
.page-about__commitment-section, 
.page-about__conclusion-section {
  padding: 80px 0;
}

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

.page-about__text-block h3 {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__text-block p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.page-about__image-wrapper {
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.page-about__value-card, .page-about__feature-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-about__value-card h3, .page-about__feature-card h3 {
  font-size: 1.5em;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__value-card p, .page-about__feature-card p {
  font-size: 1em;
  color: #f0f0f0;
  flex-grow: 1;
}

.page-about__values-section .page-about__value-card {
  background: rgba(255, 255, 255, 0.08);
}

.page-about__values-section .page-about__value-card h3 {
  color: #ffffff;
}

.page-about__values-section .page-about__value-card p {
  color: #e0e0e0;
}

.page-about__value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  object-fit: contain;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  width: 200px; /* Display size */
  height: 200px; /* Display size */
}

.page-about__feature-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce min image size */
  min-height: 200px; /* Enforce min image size */
  width: 600px; /* Display size */
  height: 400px; /* Display size */
}

.page-about__feature-card {
  background: #fdfdfd;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.page-about__feature-card h3 {
  color: #26A9E0;
}

.page-about__feature-card p {
  color: #555555;
}

.page-about__commitment-content ul {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__commitment-content li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-about__commitment-content li strong {
  color: #ffffff;
  font-size: 1.2em;
}

.page-about__commitment-content p {
  color: #e0e0e0;
  margin-bottom: 20px;
}

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

.page-about__faq-item {
  background: #fdfdfd;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  color: #333333;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
  background-color: #f0f0f0;
}

.page-about__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #26A9E0;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  font-weight: normal;
  transition: transform 0.3s ease;
  color: #26A9E0;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #ffffff;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Ensure content fits */
  padding: 15px 25px 20px;
}

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

.page-about__conclusion-text {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

.page-about__btn-primary, .page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

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

.page-about__btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

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

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

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 2.8em;
  }
  .page-about__hero-description {
    font-size: 1.1em;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__content-grid {
    grid-template-columns: 1fr;
  }
  .page-about__content-grid.reverse-on-mobile {
    display: flex;
    flex-direction: column-reverse;
  }
  .page-about__value-card, .page-about__feature-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 60px 0 40px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }
  .page-about__hero-title {
    font-size: 2.2em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-cta-group {
    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;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__introduction-section, 
  .page-about__history-section, 
  .page-about__mission-vision-section, 
  .page-about__values-section, 
  .page-about__why-choose-section, 
  .page-about__commitment-section, 
  .page-about__faq-section, 
  .page-about__conclusion-section {
    padding: 50px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__value-icon, .page-about__feature-image {
    min-width: 100px !important;
    min-height: 100px !important;
    width: auto !important;
    height: auto !important;
  }
  .page-about__faq-question {
    padding: 15px 20px;
  }
  .page-about__faq-question h3 {
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 0 20px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px 15px;
  }
  .page-about__commitment-content li {
    padding: 15px;
    font-size: 1em;
  }
  .page-about__commitment-content li strong {
    font-size: 1.1em;
  }
}

@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.5em;
  }
  .page-about__value-card h3, .page-about__feature-card h3 {
    font-size: 1.3em;
  }
  .page-about__value-card p, .page-about__feature-card p {
    font-size: 0.9em;
  }
}