/* style/about.css */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #000000; /* Ensure this matches body background */
}

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

.page-about__section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

/* Spacing for fixed header, as this is not a homepage with hero */
.page-about__hero-section {
    padding-top: 150px; /* Adjust based on header height */
    padding-bottom: 80px;
}

.page-about__heading {
  font-size: 38px;
  font-weight: 700;
  color: #ffc107; /* Gold heading */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-about__heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #0056b3; /* Blue underline */
  border-radius: 2px;
}

.page-about__sub-heading {
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  background: linear-gradient(135deg, #0056b3, #000000);
  text-align: center;
  color: #ffffff;
}

.page-about__hero-title {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffc107; /* Gold title */
}

.page-about__hero-description {
  font-size: 22px;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-about__btn-primary {
  background: #ffc107;
  color: #000000;
  border-color: #ffc107;
}

.page-about__btn-primary:hover {
  background: #e0a800;
  border-color: #e0a800;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
  background: transparent;
  color: #ffc107;
  border-color: #ffc107;
}

.page-about__btn-secondary:hover {
  background: #ffc107;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Content Layouts */
.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.page-about__content-wrapper:nth-of-type(even) {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
}

.page-about__text-block p {
  margin-bottom: 20px;
  font-size: 18px;
  color: #e0e0e0;
}

.page-about__image-block {
  flex: 1;
  min-width: 400px;
  text-align: center;
}

.page-about__image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  display: block;
  margin: 0 auto;
}

/* Values Grid */
.page-about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.page-about__card {
  background: rgba(0, 86, 179, 0.7); /* Darker blue with transparency */
  border: 2px solid #ffc107;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
}

.page-about__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__card-title {
  font-size: 24px;
  color: #ffc107;
  margin-bottom: 15px;
}

.page-about__card-description {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
}

/* Product List */
.page-about__product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-about__product-item {
  background: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-about__product-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__product-image {
  max-width: 100%;
  height: 200px; /* Fixed height for product images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__product-title {
  font-size: 22px;
  color: #ffc107;
  margin-bottom: 10px;
}

.page-about__product-description {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Security Features */
.page-about__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-about__feature-item {
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter transparent white */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-about__feature-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-about__feature-title {
  font-size: 22px;
  color: #ffc107;
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 16px;
  color: #e0e0e0;
}

.page-about__cta-block {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(0, 86, 179, 0.6); /* Blue background with transparency */
    border-radius: 12px;
    border: 2px solid #ffc107;
}

.page-about__cta-block p {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 30px;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 80px 0;
}

.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #0056b3; /* Blue border */
    background-color: rgba(0, 86, 179, 0.1); /* Light blue tint */
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #0056b3; /* Darker blue background */
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-about__faq-question:hover {
    background: #004494;
}

.page-about__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-about__faq-toggle {
    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    color: #ffc107; /* Gold toggle icon */
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Prevent icon from blocking click event */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.page-about__faq-item.active .page-about__faq-toggle {
    color: #ffffff;
    transform: rotate(45deg); /* Optional: rotate for 'x' effect */
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background-color: rgba(0, 86, 179, 0.05); /* Even lighter blue tint for answer */
    color: #e0e0e0;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 2000px !important; /* Ensure enough space for content */
    padding: 20px 25px !important;
    opacity: 1;
}

.page-about__faq-answer p {
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: #e0e0e0;
}

/* Color Contrast Fixes (if needed, but aim for good defaults) */
.page-about__dark-section {
    background: #000000; /* Body background is dark */
    color: #ffffff; /* Use light text */
}

.page-about__light-bg {
    background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 48px;
  }

  .page-about__hero-description {
    font-size: 20px;
  }

  .page-about__heading {
    font-size: 32px;
  }

  .page-about__sub-heading {
    font-size: 18px;
  }

  .page-about__content-wrapper {
    flex-direction: column;
  }

  .page-about__content-wrapper:nth-of-type(even) {
    flex-direction: column;
  }

  .page-about__image-block {
    min-width: unset;
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__section {
    padding: 40px 0;
  }

  .page-about__hero-section {
    padding-top: 100px; /* Adjust for mobile header height */
    padding-bottom: 40px;
  }

  .page-about__hero-title {
    font-size: 36px;
  }

  .page-about__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-about__heading {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-about__sub-heading {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-about__text-block p {
    font-size: 16px;
  }

  .page-about__btn-primary, .page-about__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-about__grid,
  .page-about__product-list,
  .page-about__security-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card,
  .page-about__product-item,
  .page-about__feature-item {
    padding: 20px;
  }

  .page-about__card-title,
  .page-about__product-title,
  .page-about__feature-title {
    font-size: 20px;
  }
  
  .page-about__product-image {
    height: 180px;
  }

  .page-about__feature-icon {
    width: 100px;
    height: 100px;
  }
  
  .page-about__cta-block {
      padding: 30px 20px;
  }
  
  .page-about__cta-block p {
      font-size: 18px;
      margin-bottom: 20px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__product-item,
  .page-about__feature-item,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-about__faq-question {
    padding: 15px;
  }
  
  .page-about__faq-question h3 {
    font-size: 17px;
  }
  
  .page-about__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
}