/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-about__section-title {
  font-size: 2.5em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-about__highlight {
  color: #EA7C07;
  font-weight: bold;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body already handles padding-top for header offset */
  overflow: hidden;
  box-sizing: border-box;
}

.page-about__hero-image {
  width: 100%;
  height: 675px; /* Display area dimensions */
  object-fit: cover;
  display: block;
  margin-bottom: 30px;
}

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

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

.page-about__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: bold;
  font-size: 1.1em;
  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: #EA7C07; /* Login color */
  color: #FFFFFF;
  border: 2px solid #EA7C07;
}

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

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

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

/* Introduction Section */
.page-about__introduction-section {
  padding: 80px 0;
  background-color: #1a1a2e; /* Dark background from body */
  color: #ffffff;
}

.page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

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

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
  background-color: #0d0d1f; /* Slightly darker than body for contrast */
  color: #ffffff;
}

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

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

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

.page-about__feature-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
}

.page-about__image-card {
  width: 100%;
  height: auto;
  max-width: 600px; /* Example max-width for image in card */
  border-radius: 8px;
  margin-top: 20px;
  display: block;
}

/* Products Section */
.page-about__products-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-about__product-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__product-name {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__product-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
  background-color: #0d0d1f;
  color: #ffffff;
}

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

.page-about__commitment-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__commitment-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__commitment-description {
  font-size: 1em;
  color: #f0f0f0;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e;
  color: #ffffff;
}

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

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

.page-about__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  background-color: rgba(38, 169, 224, 0.2); /* Semi-transparent brand color */
  transition: background-color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
  background-color: rgba(38, 169, 224, 0.4);
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #ffffff;
}

.page-about__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: #f0f0f0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-about__content-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__hero-image {
    height: 400px; /* Adjust height for smaller screens */
  }

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

  .page-about__hero-description {
    font-size: 1em;
  }

  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__sub-title {
    font-size: 1.5em;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__why-choose-us-section,
  .page-about__products-section,
  .page-about__commitment-section,
  .page-about__faq-section {
    padding: 40px 0 !important;
  }

  .page-about__container {
    padding: 0 15px !important;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure image containers do not overflow */
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__why-choose-us-section,
  .page-about__products-section,
  .page-about__commitment-section,
  .page-about__faq-section,
  .page-about__feature-card,
  .page-about__product-item,
  .page-about__commitment-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Prevent content overflow */
  }

  /* Specific padding for sections in mobile to prevent overflow */
  .page-about__introduction-section .page-about__container,
  .page-about__why-choose-us-section .page-about__container,
  .page-about__products-section .page-about__container,
  .page-about__commitment-section .page-about__container,
  .page-about__faq-section .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  /* Adjust specific grid layouts for mobile */
  .page-about__content-grid,
  .page-about__features-grid,
  .page-about__product-list,
  .page-about__commitment-list {
    grid-template-columns: 1fr !important;
  }
}