/* style/about.css */

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

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.page-about__section-title--light {
  color: #ffffff;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__highlight {
  font-weight: bold;
  color: #26A9E0; /* Brand color for highlights */
}

.page-about__text-block--light .page-about__highlight {
  color: #ffffff; /* White highlight on dark backgrounds */
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  overflow: hidden;
  background: #f8f8f8;
}

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

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

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

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

.page-about__subtitle {
  font-size: 1.2em;
  color: #555555;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-tertiary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

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

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

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

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

.page-about__btn-tertiary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-about__btn-tertiary:hover {
  background-color: #1e87b5;
  border-color: #1e87b5;
}

/* Mission & Vision Section */
.page-about__mission-vision {
  background-color: #FFFFFF;
  color: #333333;
}

.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-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

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

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

/* Products & Services Section */
.page-about__products-services {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

.page-about__product-card {
  background-color: #FFFFFF;
  color: #333333;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-about__product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-about__product-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 20px 20px 10px;
  font-weight: 600;
}

.page-about__product-description {
  font-size: 0.95em;
  color: #555555;
  margin: 0 20px 20px;
  flex-grow: 1;
}

.page-about__product-card .page-about__btn-tertiary {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* Security Section */
.page-about__security {
  background-color: #FFFFFF;
  color: #333333;
}

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

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

.page-about__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__feature-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__feature-description {
  font-size: 1em;
  color: #555555;
}

/* Customer Experience Section */
.page-about__customer-experience {
  background-color: #26A9E0;
  color: #FFFFFF;
}

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

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

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

.page-about__experience-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

.page-about__experience-item .page-about__btn-tertiary {
  align-self: flex-start;
}

/* Social Responsibility Section */
.page-about__social-responsibility {
  background-color: #FFFFFF;
  color: #333333;
}

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

.page-about__responsibility-card {
  background-color: #f5f5f5;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-about__responsibility-image {
  width: 100%;
  max-width: 350px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__responsibility-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__responsibility-description {
  font-size: 1em;
  color: #555555;
}

/* New Link Section */
.page-about__new-link {
  background-color: #26A9E0;
  color: #FFFFFF;
}

.page-about__link-text--light {
  color: #ffffff;
  text-decoration: underline;
}

.page-about__link-text--light:hover {
  color: #e0e0e0;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #f8f8f8;
  color: #333333;
}

.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.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.15em;
  font-weight: 600;
  color: #26A9E0;
  cursor: pointer;
  background-color: #fcfcfc;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #26A9E0;
  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;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
}

/* Call to Action Section */
.page-about__call-to-action {
  background-color: #26A9E0;
  color: #FFFFFF;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2em;
  }
  .page-about__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-about__subtitle {
    font-size: 1.1em;
  }
  .page-about__product-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container,
  .page-about__hero-content {
    padding: 0 15px; /* Add padding for mobile */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-about__subtitle {
    font-size: 1em;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-tertiary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    margin: 0;
  }

  .page-about__product-card .page-about__btn-tertiary {
    align-self: stretch;
  }

  .page-about__values-grid,
  .page-about__product-grid,
  .page-about__security-features,
  .page-about__experience-grid,
  .page-about__responsibility-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  .page-about__card,
  .page-about__section,
  .page-about__container,
  .page-about__video-section,
  .page-about__video-container,
  .page-about__video-wrapper,
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-about__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__main-title {
    font-size: clamp(1.6em, 7vw, 2.2em);
  }
  .page-about__subtitle,
  .page-about__text-block,
  .page-about__value-description,
  .page-about__product-description,
  .page-about__feature-description,
  .page-about__experience-description,
  .page-about__responsibility-description,
  .page-about__faq-answer {
    font-size: 0.95em;
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
}