/* style/about.css */

/* Base styles for the page-about scope */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF; /* Ensure consistency with body background */
}

/* Ensure images are responsive by default */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: #FFFFFF; /* Light background */
  color: #333333;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  margin-bottom: 30px; /* Space between image and text */
}

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

.page-about__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

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

.page-about__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-about__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General Section Styles */
.page-about__section {
  padding: 60px 0;
}

.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.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-about__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

.page-about__text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-about__text-block a:hover {
  text-decoration: underline;
}

.page-about__image-content {
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Color Schemes for Sections */
.page-about__light-bg {
  background-color: #FFFFFF;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #26A9E0; /* Main brand color as background */
  color: #ffffff; /* White text for contrast */
}

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

.page-about__dark-bg .page-about__text-block {
  color: #f0f0f0;
}

.page-about__dark-bg .page-about__text-block a {
  color: #ffffff;
  text-decoration: underline;
}

.page-about__dark-bg .page-about__highlight {
  color: #ffffff;
  font-weight: bold;
}

.page-about__light-bg .page-about__highlight {
  color: #26A9E0;
  font-weight: bold;
}


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

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

.page-about__btn-primary:hover {
  background-color: #1a8ecb;
  border-color: #1a8ecb;
  transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
  background-color: #f0f8ff;
  color: #1a8ecb;
  border-color: #1a8ecb;
  transform: translateY(-2px);
}

/* Why Choose Us Section */
.page-about__why-choose-us .page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

.page-about__feature-card .page-about__card-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__feature-card .page-about__card-text {
  font-size: 0.95rem;
  color: #f0f0f0;
  text-align: center;
}

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


/* Products & Services Section */
.page-about__products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__product-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-about__product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-about__product-image {
  width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
}

.page-about__product-card .page-about__card-title {
  font-size: 1.2rem;
  margin: 15px 15px 10px;
  color: #26A9E0;
  flex-grow: 1; /* Make title take available space */
}

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

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

.page-about__product-card .page-about__card-text {
  font-size: 0.9rem;
  color: #555555;
  padding: 0 15px 15px;
}

/* Commitment Section */
.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.page-about__commitment-item .page-about__card-title {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__commitment-item .page-about__card-text {
  font-size: 0.95rem;
  color: #f0f0f0;
  text-align: center;
}

.page-about__commitment-item .page-about__card-text a {
  color: #ffffff;
  text-decoration: underline;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #f9f9f9;
  border-bottom: 1px solid #e0e0e0;
}

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

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

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

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95rem;
  color: #555555;
  text-align: justify;
}

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

.page-about__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Call to Action Section */
.page-about__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #26A9E0;
  color: #ffffff;
}

.page-about__cta-section .page-about__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-about__cta-section .page-about__text-block {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-about__container,
  .page-about__hero-section,
  .page-about__cta-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  .page-about__hero-section {
    padding-top: 10px !important; /* Small top padding for hero */
    padding-bottom: 40px !important;
  }

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

  .page-about__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 30px;
  }

  .page-about__hero-cta {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 14px 20px;
    font-size: 1.05rem;
  }

  .page-about__features-grid,
  .page-about__products-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__product-image {
    height: 180px; /* Adjust height for mobile */
  }

  /* Images must be responsive and not cause overflow */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Video responsiveness (if any, though not in this page currently) */
  .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; /* Small top padding for video section */
  }

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

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

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

/* Ensure no CSS filter on images */
.page-about img {
  filter: none !important;
}

/* Content area images CSS dimensions lower bound check */
.page-about__introduction .page-about__image-content,
.page-about__team-tech .page-about__image-content {
  min-width: 200px;
  min-height: 200px;
}

/* Card layout images check */
.page-about__product-image {
  min-width: 200px;
  min-height: 200px;
}