/* style/about.css */

/* Base styles for page-about, ensuring light text on dark body background */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background handled by shared.css */
}

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

.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
  background-color: #1a1a2e; /* Ensure hero has a dark background */
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  max-height: 700px; /* Limit hero image height */
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

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

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

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

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  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: #1e87c0;
  border-color: #1e87c0;
}

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

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

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

.page-about__sub-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 20px;
  color: #26A9E0;
}

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

/* Sections */
.page-about__mission-vision,
.page-about__core-values,
.page-about__products-services,
.page-about__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background to match body */
  color: #ffffff;
}

.page-about__dark-section {
  padding: 80px 0;
  background-color: #131320; /* Slightly darker for contrast */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #1a1a2e; /* Ensure dark background */
  color: #ffffff;
}

.page-about__dark-bg {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

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

.page-about__history-milestones {
  padding: 80px 0;
  background-color: #131320;
  text-align: center;
}

.page-about__milestones-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__milestone-item {
  text-align: left;
  padding: 20px;
  border-left: 4px solid #26A9E0;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 4px;
}

.page-about__milestone-year {
  font-size: 1.4rem;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-about__milestone-image,
.page-about__values-image,
.page-about__team-image,
.page-about__security-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 60px auto 0 auto;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

/* Specific sizes for images based on their purpose */
.page-about__milestone-image { width: 800px; height: 600px; max-width: 100%; }
.page-about__values-image { width: 800px; height: 600px; max-width: 100%; }
.page-about__team-image { width: 1200px; height: 675px; max-width: 100%; }
.page-about__security-image { width: 1000px; height: 750px; max-width: 100%; }

.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: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__value-description {
  font-size: 1rem;
  color: #f0f0f0;
}

.page-about__team-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  text-align: center;
}

.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-color: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
}

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

.page-about__product-card h3 {
  padding: 15px 15px 0;
  flex-grow: 1;
}

.page-about__product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

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

.page-about__product-description {
  font-size: 0.95rem;
  color: #f0f0f0;
  padding: 0 15px 20px;
}

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

.page-about__commitment-section {
  padding: 80px 0;
  background-color: #131320;
  text-align: center;
}

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

.page-about__commitment-item {
  text-align: left;
  padding: 25px;
  background-color: rgba(38, 169, 224, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-about__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1rem;
  color: #f0f0f0;
}

.page-about__contact-cta {
  padding: 80px 0;
  background-color: #1a1a2e;
  text-align: center;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-about__main-title {
    font-size: 2.2rem;
  }

  .page-about__description {
    font-size: 1rem;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

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

  .page-about__sub-title {
    font-size: 1.3rem;
  }

  .page-about__grid,
  .page-about__values-grid,
  .page-about__product-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-about__milestone-item,
  .page-about__value-card,
  .page-about__product-card,
  .page-about__commitment-item {
    padding: 20px;
  }

  .page-about__milestone-year,
  .page-about__value-title,
  .page-about__commitment-title {
    font-size: 1.2rem;
  }

  .page-about__text-block {
    font-size: 0.95rem;
  }

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

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__mission-vision,
  .page-about__history-milestones,
  .page-about__core-values,
  .page-about__team-section,
  .page-about__products-services,
  .page-about__commitment-section,
  .page-about__faq-section,
  .page-about__contact-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

  /* Ensure images in cards are responsive */
  .page-about__product-image {
    height: auto;
  }

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

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