/* style/about.css */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text on dark body background */
  background-color: transparent; /* Body background is handled by shared.css #0a0a0a */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: #0a0a0a; /* Ensure hero section is dark */
  color: #ffffff;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

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

.page-about__hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.page-about__main-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #26A9E0; /* Brand color for main title */
  margin-bottom: 20px;
  /* No fixed large font-size for H1, relying on relative sizing and responsiveness */
}

.page-about__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

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

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

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

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

.page-about__section {
  padding: 80px 20px;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.page-about__container--center {
  text-align: center;
}

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

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

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text on light background */
}

.page-about__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff; /* Light text on dark background */
}

.page-about__history-section p,
.page-about__vision-box p,
.page-about__mission-box p,
.page-about__value-item p,
.page-about__product-item p,
.page-about__commitment-item p,
.page-about__responsibility-list li,
.page-about__faq-answer p,
.page-about__cta-description {
  font-size: 1.05em;
  margin-bottom: 1em;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 30px;
}

.page-about__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-about__image--right {
  float: right;
  margin-left: 30px;
  max-width: 50%;
}

.page-about__image--left {
  float: left;
  margin-right: 30px;
  max-width: 50%;
}

.page-about__image--full-width {
  max-width: 100%;
  width: 100%;
}

.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.page-about__vision-box,
.page-about__mission-box {
  background-color: rgba(38, 169, 224, 0.1); /* Using primary color with transparency */
  padding: 30px;
  border-radius: 10px;
}

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

.page-about__value-item {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

.page-about__product-list,
.page-about__commitment-list,
.page-about__responsibility-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__product-item,
.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.1); /* Light background for items on dark sections */
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__product-title,
.page-about__commitment-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-about__product-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__product-title a:hover {
  text-decoration: underline;
}

.page-about__responsibility-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  border-left: 4px solid #26A9E0;
}

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

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

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

.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-color: #f9f9f9;
  color: #333333;
  border-bottom: 1px solid #e0e0e0;
}

.page-about__faq-item[open] > .page-about__faq-question {
  border-bottom: 1px solid #e0e0e0;
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  width: 20px;
  text-align: center;
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-item summary {
  list-style: none;
}

.page-about__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #555555;
}

.page-about__faq-answer a {
  color: #26A9E0;
  text-decoration: underline;
}

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

/* Clear floats for images */
.page-about__section::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__grid-two-columns {
    grid-template-columns: 1fr;
  }
  .page-about__image--right,
  .page-about__image--left {
    float: none;
    margin: 30px auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section,
  .page-about__section {
    padding: 40px 15px;
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-about__main-title {
    font-size: 2em;
  }

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

  .page-about__sub-title {
    font-size: 1.5em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All content containers must be responsive */
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__vision-box,
  .page-about__mission-box,
  .page-about__value-item,
  .page-about__product-item,
  .page-about__commitment-item,
  .page-about__faq-item,
  .page-about__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
  
  /* Specific adjustment for containers that don't need padding-left/right if already in a padded section */
  .page-about__hero-section .page-about__hero-content,
  .page-about__section .page-about__container {
    padding-left: 0;
    padding-right: 0;
  }

  .page-about__product-list,
  .page-about__commitment-list,
  .page-about__responsibility-list {
    padding-left: 0;
    padding-right: 0;
  }

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

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

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em;
  }

  .page-about__section-title {
    font-size: 1.5em;
  }

  .page-about__hero-description,
  .page-about__history-section p,
  .page-about__vision-box p,
  .page-about__mission-box p,
  .page-about__value-item p,
  .page-about__product-item p,
  .page-about__commitment-item p,
  .page-about__responsibility-list li,
  .page-about__faq-answer p,
  .page-about__cta-description {
    font-size: 1em;
  }
}