/* 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: var(--neon-dark-bg-1); /* Inherit from shared.css, typically dark */
}

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

.page-about__section {
  padding: 80px 0;
  text-align: center;
}

.page-about__dark-bg {
  background-color: #017439; /* Primary brand color for dark sections */
  color: #ffffff;
}

.page-about__light-bg {
  background-color: #ffffff; /* Auxiliary brand color for light sections */
  color: #333333; /* Dark text for light background */
}

.page-about__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: inherit; /* Inherit from section, ensuring contrast */
  font-weight: bold;
}

.page-about__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.page-about__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
  text-align: center;
  overflow: hidden;
}

.page-about__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-about__hero-title {
  font-size: 3.8em;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

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

.page-about__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-about__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Allowed for stylistic effect, not color change */
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

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

.page-about__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border: 2px solid #017439;
}

.page-about__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #005f2e;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* About Intro Section */
.page-about__about-intro p {
  color: #333333;
}

/* Core Values Section */
.page-about__core-values .page-about__container {
  padding: 60px 20px;
}

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

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__value-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-about__value-title {
  font-size: 1.8em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__value-description {
  color: #f0f0f0;
  font-size: 1em;
  line-height: 1.7;
}

/* Products & Services Section */
.page-about__product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__product-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: left;
}

.page-about__product-card:hover {
  transform: translateY(-8px);
}

.page-about__product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-about__product-title {
  font-size: 1.5em;
  margin: 15px 15px 10px;
  font-weight: bold;
}

.page-about__product-title a {
  color: #017439;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-about__product-title a:hover {
  color: #005f2e;
  text-decoration: underline;
}

.page-about__product-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px;
  line-height: 1.6;
}

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

.page-about__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-about__feature-description {
  color: #f0f0f0;
  font-size: 1em;
  line-height: 1.7;
}

/* Team & Support Section */
.page-about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__team-member {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-about__team-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #017439;
}

.page-about__member-name {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__member-role {
  color: #555555;
  font-size: 0.95em;
  line-height: 1.6;
}

/* Social Responsibility Section */
.page-about__responsibility-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-about__responsibility-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  color: #f0f0f0;
  font-size: 1.1em;
  line-height: 1.7;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-about__responsibility-list li strong {
  color: #ffffff;
}

/* FAQ Section */
.page-about__faq-list {
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #017439;
}

.page-about__faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: #017439;
  transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(45deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  font-size: 1em;
  line-height: 1.7;
  text-align: justify;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to contain content */
  padding: 20px;
}

.page-about__faq-answer p {
  margin-bottom: 0;
  color: #555555;
}

.page-about__faq-answer a {
  color: #017439;
  text-decoration: underline;
}

/* Final CTA Section */
.page-about__cta-final {
  padding: 100px 20px;
}

.page-about__cta-final .page-about__section-title {
  color: #ffffff;
}

.page-about__cta-final .page-about__text-block {
  color: #f0f0f0;
}

.page-about__cta-final .page-about__cta-buttons {
  margin-top: 40px;
}

/* Utility classes */
.page-about__text-center {
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-about__hero-title {
    font-size: 3em;
  }
  .page-about__hero-description {
    font-size: 1.2em;
  }
  .page-about__section-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
  }
  .page-about__hero-title {
    font-size: 2.5em;
  }
  .page-about__hero-description {
    font-size: 1em;
  }
  .page-about__section {
    padding: 60px 0;
  }
  .page-about__section-title {
    font-size: 1.8em;
  }
  .page-about__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }
  .page-about__values-grid,
  .page-about__product-grid,
  .page-about__security-features,
  .page-about__team-grid {
    grid-template-columns: 1fr;
    padding: 0 15px;
  }
  .page-about__value-item,
  .page-about__feature-item,
  .page-about__product-card,
  .page-about__team-member,
  .page-about__faq-item {
    margin-left: 15px;
    margin-right: 15px;
  }
  .page-about__faq-list {
    padding: 0 15px;
  }
  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 25px;
    font-size: 1em;
  }
  
  /* Mobile image and container responsive rules */
  .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-image-wrapper,
  .page-about__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left: 15px;
    padding-right: 15px; */ /* Handled by container padding or specific elements */
    overflow: hidden !important;
  }
  .page-about__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section has correct padding */
  }
  .page-about__responsibility-list {
    padding: 0 15px;
  }
  .page-about__responsibility-list li {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .page-about__hero-title {
    font-size: 2em;
  }
  .page-about__section-title {
    font-size: 1.6em;
  }
  .page-about__hero-section {
    padding: 60px 10px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-about__hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
  }
}