/* style/about.css */
.page-about {
  color: #ffffff; /* Body background is dark (#121212), so use light text */
  background-color: #121212; /* Ensure main content background matches body */
  line-height: 1.6;
  font-family: 'Arial', sans-serif;
}

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

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
  text-align: center;
  overflow: hidden;
  background-color: #1a1a1a; /* Slightly lighter dark background for this section */
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

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

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
}

.page-about__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

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

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

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

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #26A9E0; /* Brand color for section titles */
}

.page-about__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-about__light-bg {
  background-color: #1a1a1a; /* Dark background for light-bg sections as per body background */
  color: #f0f0f0;
}

.page-about__dark-section {
  background-color: #121212;
  color: #ffffff;
}

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

.page-about__card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 30px;
}

.page-about__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-about__card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.page-about__value-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  color: #ffffff;
}

.page-about__value-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #26A9E0;
}

.page-about__value-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #cccccc;
}

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

.page-about__text-content {
  color: #ffffff;
}

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

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

.page-about__faq-item {
  background: rgba(255, 255, 255, 0.08);
  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;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: #26A9E0;
  user-select: none;
  list-style: none;
}

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

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

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

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.6;
  color: #cccccc;
}

.page-about__faq-answer p {
  margin-bottom: 10px;
}

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

/* Responsive Styles */
@media (min-width: 769px) {
  .page-about__card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-about__two-column-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__container,
  .page-about__hero-content {
    padding: 20px 15px;
  }

  .page-about__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .page-about__section-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-about__text-block,
  .page-about__description,
  .page-about__card-text,
  .page-about__value-description,
  .page-about__faq-answer {
    font-size: 0.95rem;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 15px; /* Space between buttons if stacked */
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__hero-content .page-about__btn-primary {
    margin-left: auto;
    margin-right: auto;
  }

  .page-about__value-list {
    grid-template-columns: 1fr;
  }

  .page-about__image-content {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all image containers are responsive */
  .page-about__introduction-section,
  .page-about__security-safety-section,
  .page-about__products-services-section,
  .page-about__customer-support-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__image-content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

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