/* style/about.css */

/* General Styles for .page-about scope */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
  background-color: var(--dark-bg-1); /* This will be overridden by shared.css body background, but set a fallback */
}

/* Ensure text color is appropriate for the body background from shared.css */
.page-about {
  color: #ffffff; /* Assuming var(--dark-bg-1) is a dark background */
}

.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__hero-content {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__lead-paragraph {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__section {
  padding: 60px 0;
  background-color: transparent; /* Default to transparent, let body background show */
}

.page-about__section--vision, .page-about__section--products, .page-about__section--future, .page-about__faq-section {
  background-color: transparent;
}

.page-about__dark-section {
  background-color: #26A9E0; /* Brand primary color for dark sections */
  color: #ffffff;
}

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

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0; /* Default for light background */
}

.page-about__dark-section .page-about__section-title,
.page-about__section-title--white {
  color: #ffffff;
}

.page-about__content-block {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-about__content-block h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #26A9E0;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about__dark-section .page-about__content-block h3 {
  color: #ffffff;
}

.page-about__content-block p {
  margin-bottom: 15px;
}

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

.page-about__value-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark section */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-about__value-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-about__value-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

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

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

.page-about__product-card {
  background: rgba(255, 255, 255, 0.05); /* Slightly darker card for product section */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  color: #f0f0f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

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

.page-about__product-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__product-description {
  font-size: 0.9rem;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

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

.page-about__reason-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark section */
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  color: #ffffff;
}

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

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

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

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

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

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

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

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

.page-about__btn-faq {
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 8px 15px;
}

.page-about__faq-section {
  padding: 60px 0;
  background-color: transparent;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  list-style: none; /* For details tag */
}

.page-about__faq-item[open] > .page-about__faq-question {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

.page-about__faq-item[open] .page-about__faq-qtext {
  color: #ffffff;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-about__faq-item[open] .page-about__faq-toggle {
  color: #ffffff;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-content {
    padding: 0 15px;
  }

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

  .page-about__lead-paragraph {
    font-size: 1.05rem;
  }

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

  .page-about__value-card, .page-about__product-card, .page-about__reason-card {
    padding: 20px;
  }

  .page-about__value-title, .page-about__product-title, .page-about__reason-title {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-about__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-about__hero-image-wrapper {
    max-height: 300px;
  }

  .page-about__hero-content {
    margin-top: 30px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 15px;
  }

  .page-about__lead-paragraph {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem) !important;
    margin-bottom: 30px;
  }

  .page-about__content-block h3 {
    font-size: 1.3rem;
  }

  .page-about__values-grid,
  .page-about__product-grid,
  .page-about__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__value-card,
  .page-about__product-card,
  .page-about__reason-card {
    padding: 15px;
  }

  .page-about__value-icon {
    max-width: 200px;
  }

  .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: 12px 15px !important;
  }

  .page-about__cta-bottom {
    margin-top: 30px;
  }

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

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

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

  .page-about__faq-toggle {
    font-size: 1.2rem;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.9rem;
  }

  /* Image responsive rules */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__hero-image-wrapper,
  .page-about__value-card,
  .page-about__product-card,
  .page-about__reason-card,
  .page-about__container,
  .page-about__faq-section,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__product-image {
    max-height: 150px;
  }

  /* Video responsive rules - if any video were present */
  .page-about video,
  .page-about__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-about__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-about__hero-section {
    padding-bottom: 30px;
  }

  .page-about__hero-image-wrapper {
    max-height: 200px;
  }

  .page-about__main-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
  }

  .page-about__lead-paragraph {
    font-size: 0.9rem;
  }

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

  .page-about__faq-question {
    font-size: 0.9rem;
    padding: 12px 15px;
  }

  .page-about__faq-answer {
    font-size: 0.85rem;
    padding: 0 15px 10px 15px;
  }
}