/* style/about.css */

/* Base styles and layout 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: #0a0a0a; /* Inherited from shared.css body */
}

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

.page-about__content-area {
  padding: 60px 20px;
}

/* Section backgrounds */
.page-about__dark-section {
  background-color: #0A192F; /* Main brand dark blue */
  color: #ffffff;
}

.page-about__light-section {
  background-color: #1a2b42; /* Slightly lighter dark blue for contrast */
  color: #f0f0f0;
}

/* Headings */
.page-about__main-heading {
  font-size: 42px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Accent color for main heading */
}

.page-about__section-heading {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700; /* Accent color for section headings */
}

.page-about__sub-heading {
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #FFD700; /* Accent color for sub headings */
}

.page-about__hero-text,
.page-about__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

.page-about p {
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-about a {
  color: #FFD700; /* Accent color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Buttons */
.page-about__btn-primary {
  display: block;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 30px;
  background-color: #FFD700; /* Accent color for primary button */
  color: #0A192F; /* Dark text for accent background */
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-about__btn-primary:hover {
  background-color: #e6c200; /* Slightly darker accent on hover */
  transform: translateY(-2px);
}

/* Hero Banner Section */
.page-about__hero-banner {
  padding-top: 150px; /* Spacing for fixed header */
  padding-bottom: 80px;
  background-image: linear-gradient(135deg, #0A192F, #1a2b42);
}

/* Mission Section */
.page-about__mission-section {
  padding: 80px 0;
}

.page-about__mission-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__mission-text {
  flex: 1;
}

.page-about__mission-image-wrapper {
  flex: 0 0 450px; /* Fixed width for image on desktop */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__value-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__value-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  border-left: 4px solid #FFD700; /* Accent border */
  color: #f0f0f0;
}

.page-about__value-list li strong {
  color: #FFD700;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 80px 0;
}

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

.page-about__feature-card {
  background-color: #1a2b42;
  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;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-about__feature-icon {
  width: 120px; /* Larger icon size */
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__feature-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD700;
}

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

/* Security Commitment Section */
.page-about__security-commitment-section {
  padding: 80px 0;
}

.page-about__security-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-about__security-image-wrapper {
  flex: 0 0 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__security-text {
  flex: 1;
}

/* Download Guide Section */
.page-about__download-guide-section {
  padding: 80px 0;
}

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

.page-about__step-card {
  background-color: #1a2b42;
  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;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-about__step-icon {
  width: 150px; /* Larger step icons */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-about__step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-about__step-description {
  font-size: 16px;
  color: #f0f0f0;
}

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

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.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;
  padding: 0 15px;
  opacity: 0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important; /* Use !important to ensure priority */
  padding: 20px 15px !important;
  opacity: 1;
  background: #1a2b42;
  border-radius: 0 0 5px 5px;
  color: #f0f0f0;
}

.page-about__faq-answer p {
  color: #f0f0f0;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A192F;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-about__faq-question:hover {
  background: #1a2b42;
  border-color: #FFD700;
}

.page-about__faq-question:active {
  background: #1a2b42;
}

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

.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: 28px;
  height: 28px;
}

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

/* Call to Action Section */
.page-about__call-to-action-section {
  padding: 80px 0;
  background-image: linear-gradient(135deg, #0A192F, #1a2b42);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .page-about__main-heading {
    font-size: 36px;
  }
  .page-about__section-heading {
    font-size: 28px;
  }
  .page-about__sub-heading {
    font-size: 22px;
  }
  .page-about__mission-content,
  .page-about__security-content {
    flex-direction: column;
  }
  .page-about__mission-image-wrapper,
  .page-about__security-image-wrapper {
    flex: none;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 30px auto;
  }
  .page-about__feature-card,
  .page-about__step-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__content-area {
    padding: 40px 15px;
  }
  .page-about__hero-banner {
    padding-top: 100px; /* Mobile spacing for fixed header */
    padding-bottom: 50px;
  }
  .page-about__main-heading {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-about__section-heading {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .page-about__sub-heading {
    font-size: 20px;
  }
  .page-about__hero-text,
  .page-about__section-description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-about__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-about__mission-section,
  .page-about__why-choose-us-section,
  .page-about__security-commitment-section,
  .page-about__download-guide-section,
  .page-about__faq-section,
  .page-about__call-to-action-section {
    padding: 50px 0;
  }
  .page-about__mission-content,
  .page-about__security-content {
    gap: 20px;
  }
  .page-about__features-grid,
  .page-about__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-about__feature-icon {
    width: 100px;
    height: 100px;
  }
  .page-about__step-icon {
    width: 120px;
    height: 120px;
  }
  .page-about__feature-title,
  .page-about__step-title {
    font-size: 18px;
  }
  .page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-question h3 {
    font-size: 15px;
  }
  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px !important;
  }
  /* Mobile image adaptation */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__mission-image-wrapper,
  .page-about__security-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}