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

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

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

.page-about__section-intro {
  font-size: 1.2em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

.page-about__text-block {
  margin-bottom: 20px;
  font-size: 1.1em;
  line-height: 1.7;
  color: #e0e0e0;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  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 */
  box-sizing: border-box;
}

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

.page-about__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

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

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

.page-about__hero-description {
  font-size: 1.5em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__hero-button {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

.page-about__hero-button:hover {
  background: #1e87c0;
  transform: translateY(-3px);
}

/* Mission Section */
.page-about__mission-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.05);
}

.page-about__dark-section {
  background: rgba(255, 255, 255, 0.05);
}

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

.page-about__value-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__value-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__value-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__value-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* History Section */
.page-about__history-section {
  padding: 80px 0;
}

.page-about__history-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.page-about__history-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin: 20px 0;
}

/* Services Section */
.page-about__services-section {
  padding: 80px 0;
}

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

.page-about__service-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-about__card-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__card-description {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.page-about__card-button {
  display: inline-block;
  background: #26A9E0;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-about__card-button:hover {
  background: #1e87c0;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
}

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

.page-about__commitment-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.page-about__commitment-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-about__commitment-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-about__commitment-description {
  font-size: 1em;
  color: #e0e0e0;
}

/* Team Section */
.page-about__team-section {
  padding: 80px 0;
}

.page-about__team-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin: 30px 0;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background: rgba(255, 255, 255, 0.05);
}

.page-about__faq-list {
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

.page-about__faq-qtext {
  color: #26A9E0;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  color: #ffffff;
  transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
  padding: 15px 25px 20px 25px;
  font-size: 1.1em;
  color: #e0e0e0;
}

/* Future Section */
.page-about__future-section {
  padding: 80px 0;
}

.page-about__future-button {
  display: inline-block;
  background: #EA7C07; /* Login/Promotional color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 30px;
}

.page-about__future-button:hover {
  background: #c56506;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.3em;
  }
  .page-about__section-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__hero-section {
    height: 60vh;
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 1.1em;
    margin-bottom: 25px;
  }
  .page-about__hero-button,
  .page-about__future-button {
    font-size: 1em;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__section-intro {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-about__values-grid,
  .page-about__service-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
  }
  .page-about__value-item,
  .page-about__service-card,
  .page-about__commitment-item {
    padding: 25px;
  }
  .page-about__value-title,
  .page-about__card-title,
  .page-about__commitment-title {
    font-size: 1.5em;
  }
  .page-about__value-icon,
  .page-about__commitment-icon {
    width: 80px;
    height: 80px;
  }
  .page-about img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__mission-section,
  .page-about__history-section,
  .page-about__services-section,
  .page-about__commitment-section,
  .page-about__team-section,
  .page-about__faq-section,
  .page-about__future-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-about__card-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-about__faq-answer {
    padding: 10px 20px 15px 20px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 1.8em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__hero-button,
  .page-about__future-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__faq-qtext {
    font-size: 0.95em;
  }
  .page-about__faq-toggle {
    font-size: 1.2em;
  }
}