/* style/about.css */

/* Base Styles for Page About */
.page-about {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #0d0d0d; /* Inherited from shared, but for safety */
}

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

.page-about__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFCC00; /* Auxiliary color for titles */
  line-height: 1.2;
}

.page-about__description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-about__content-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
}

.page-about__image-wrapper {
  flex: 1;
  min-width: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__text-content {
  flex: 2;
  font-size: 17px;
  color: #f0f0f0;
}

.page-about__text-content p {
  margin-bottom: 15px;
}

.page-about__text-content p:last-child {
  margin-bottom: 0;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  padding-top: 120px; /* Adjust for fixed header */
  padding-bottom: 80px;
  background: linear-gradient(135deg, #003366 0%, #0d0d0d 100%); /* Dark blue to body background */
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.page-about__hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: #FFCC00;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 22px;
  max-width: 800px;
  margin: 0 auto;
  color: #f0f0f0;
}

.page-about__hero-description .text-highlight {
  color: #FFCC00;
  font-weight: bold;
}

/* General Section Styling */
.page-about__dark-section {
  background-color: #1a1a1a; /* Slightly lighter dark for contrast */
  color: #f0f0f0;
}

.page-about__introduction-section {
  padding: 60px 0;
}

.page-about__values-section {
  padding: 60px 0;
  background-color: #0d0d0d; /* Ensure consistency with body bg */
}

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

.page-about__grid--2-col {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-about__card {
  background-color: #003366; /* Main brand color for cards */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFCC00;
}

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

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

.page-about__list {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.page-about__list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.page-about__list li::before {
  content: '✔';
  color: #FFCC00;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

/* Features Section */
.page-about__features-section {
  padding: 60px 0;
}

.page-about__feature-item {
  background-color: #0d0d0d; /* Body background color */
  color: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(255, 204, 0, 0.3);
}

.page-about__feature-item:hover {
  background-color: #1a1a1a;
  transform: translateY(-5px);
}

.page-about__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.5)); /* Subtle glow for icons */
}

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

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

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

.page-about__btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-about__btn-primary {
  background-color: #FFCC00; /* Auxiliary color for primary button */
  color: #003366; /* Main brand color for text */
  border: 2px solid #FFCC00;
}

.page-about__btn-primary:hover {
  background-color: #e6b800;
  color: #002244;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFCC00;
  border: 2px solid #FFCC00;
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background-color: #FFCC00;
  color: #003366;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 204, 0, 0.4);
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 60px 0;
  background-color: #003366; /* Main brand color background */
  color: #ffffff;
}

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

.page-about__commitment-card {
  background-color: rgba(0, 0, 0, 0.2); /* Semi-transparent dark overlay */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 204, 0, 0.3);
}

.page-about__commitment-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 5px rgba(255, 204, 0, 0.5));
}

.page-about__commitment-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFCC00;
}

.page-about__commitment-card p {
  font-size: 16px;
  color: #e0e0e0;
}

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

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

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  background-color: #1a1a1a;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #0d0d0d; /* Darker background for question */
  border-bottom: 1px solid rgba(255, 204, 0, 0.2);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  color: #f0f0f0;
}

.page-about__faq-question:hover {
  background-color: #1a1a1a;
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #FFCC00;
  pointer-events: none;
}

.page-about__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFCC00;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-about__faq-item.active .page-about__faq-question {
  background-color: #1a1a1a;
  border-bottom: none;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate */
  color: #f0f0f0;
}

.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: #1a1a1a;
  color: #e0e0e0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-about__faq-answer p {
  margin-bottom: 15px;
}

.page-about__faq-answer p:last-child {
  margin-bottom: 0;
}

/* Contact CTA Section */
.page-about__contact-cta-section {
  padding: 80px 0;
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__container {
    padding: 30px 20px;
  }

  .page-about__section-title {
    font-size: 32px;
  }

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

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

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

  .page-about__image-wrapper {
    order: -1;
    margin-bottom: 30px;
  }

  .page-about__feature-icon {
    width: 80px;
    height: 80px;
  }
}

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

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

  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-section,
  .page-about__introduction-section,
  .page-about__values-section,
  .page-about__features-section,
  .page-about__commitment-section,
  .page-about__faq-section,
  .page-about__contact-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-about__hero-section {
    padding-top: 100px; /* Mobile adjust for fixed header */
    padding-bottom: 60px;
  }

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

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

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

  .page-about__description {
    font-size: 16px;
  }

  .page-about__grid,
  .page-about__grid--2-col,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__card,
  .page-about__feature-item,
  .page-about__commitment-card {
    padding: 25px;
  }

  .page-about__card-title,
  .page-about__feature-title,
  .page-about__commitment-title {
    font-size: 20px;
  }

  .page-about__faq-question {
    padding: 18px 20px;
  }

  .page-about__faq-question h3 {
    font-size: 16px;
  }

  .page-about__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px !important;
  }

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

  .page-about__btn {
    width: 100%;
    margin-left: 0;
  }

  .page-about__btn-secondary {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 28px;
  }

  .page-about__section-title {
    font-size: 24px;
  }

  .page-about__hero-section {
    padding-top: 80px;
  }
}