/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main on dark body background */
  background-color: var(--deep-navy); /* Inherit from body, but ensure text contrast */
}

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

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

.page-about__dark-section {
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF;
}

.page-about__section-title {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold for main titles */
  line-height: 1.2;
}

.page-about__section-description {
  font-size: 1.1em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08162B; /* Deep Navy */
  color: #F3F8FF;
  overflow: hidden;
}

.page-about__hero-image {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 20px;
  text-align: center;
  max-width: 900px;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 900;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__intro-text {
  font-size: 1.2em;
  color: #AFC4E8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.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: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: transparent;
  color: #4FA8FF; /* Glow color for secondary text */
  border: 2px solid #244D84; /* Border color */
  margin-left: 20px;
}

.page-about__btn-secondary:hover {
  background-color: rgba(79, 168, 255, 0.1);
  color: #F3F8FF;
  border-color: #4FA8FF;
  transform: translateY(-2px);
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Grid layouts */
.page-about__grid-two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

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

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

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

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

/* Cards */
.page-about__card,
.page-about__product-card,
.page-about__value-item,
.page-about__commitment-item,
.page-about__team-member,
.page-about__award-item {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #244D84; /* Border color */
  height: 100%;
  box-sizing: border-box;
}

.page-about__card:hover,
.page-about__product-card:hover,
.page-about__value-item:hover,
.page-about__commitment-item:hover,
.page-about__team-member:hover,
.page-about__award-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__card-title,
.page-about__product-title,
.page-about__value-title,
.page-about__commitment-title,
.page-about__member-name,
.page-about__award-title {
  font-size: 1.8em;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-about__product-title a {
  color: inherit;
  text-decoration: none;
}

.page-about__product-title a:hover {
  text-decoration: underline;
}

.page-about__card p,
.page-about__product-card p,
.page-about__value-item p,
.page-about__commitment-item p,
.page-about__award-item p {
  color: #AFC4E8;
  font-size: 1em;
  line-height: 1.7;
  flex-grow: 1;
}

.page-about__product-card img,
.page-about__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

/* Content with image layout */
.page-about__content-with-image {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
  margin-top: 40px;
}

.page-about__content-with-image img {
  max-width: 50%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-about__content-image-left {
  order: 0;
}

.page-about__content-image-right {
  order: 1;
}

.page-about__content-with-image .page-about__text-block {
  flex: 1;
}

.page-about__content-with-image p {
  margin-bottom: 15px;
  color: #F3F8FF;
}

/* Team members */
.page-about__team-member img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #2B73F6;
}

.page-about__member-role {
  color: #AFC4E8;
  font-size: 0.95em;
}

/* Awards */
.page-about__award-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* Contact Info */
.page-about__contact-info p {
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #F3F8FF;
}

/* FAQ Section */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG */
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-about__faq-item summary.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E; /* Gold for FAQ questions */
}
details.page-about__faq-item summary.page-about__faq-question::-webkit-details-marker {
  display: none;
}
details.page-about__faq-item summary.page-about__faq-question:hover {
  background: rgba(43, 115, 246, 0.1);
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #4FA8FF; /* Glow color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-about__faq-item .page-about__faq-answer {
  padding: 0 20px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8;
}
.page-about__faq-answer p {
  margin-bottom: 15px;
  color: #AFC4E8;
}
.page-about__faq-btn {
  margin-top: 10px;
  margin-left: 0;
  display: inline-block;
}


/* Divider style */
.page-about__section + .page-about__section {
    border-top: 1px solid #1B3357; /* Divider color */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2.5em;
  }

  .page-about__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-about__grid-two-col,
  .page-about__products-grid,
  .page-about__values-grid,
  .page-about__team-grid,
  .page-about__awards-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

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

  .page-about__content-with-image img {
    max-width: 80%;
    order: -1; /* Image always on top for mobile/tablet */
    margin-bottom: 30px;
  }

  .page-about__content-image-left,
  .page-about__content-image-right {
    order: -1;
  }
}

@media (max-width: 768px) {
  /* HERO Main Image and Content */
  .page-about__hero-image img {
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset !important; /* Allow natural aspect ratio */
  }

  .page-about__hero-section {
    padding-top: 10px; /* Consistent small top padding */
  }

  .page-about__hero-content {
    padding: 30px 15px;
  }

  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
  }

  .page-about__intro-text {
    font-size: 1em;
  }

  /* Section Titles */
  .page-about__section-title {
    font-size: clamp(2em, 8vw, 2.5em);
    padding: 0 15px;
    word-wrap: break-word;
  }

  .page-about__section-description {
    font-size: 0.9em;
    padding: 0 15px;
  }

  /* General Images and Containers */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-about__section,
  .page-about__container,
  .page-about__card,
  .page-about__product-card,
  .page-about__value-item,
  .page-about__commitment-item,
  .page-about__team-member,
  .page-about__award-item,
  .page-about__content-with-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Buttons and Button Containers */
  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Specific grid adjustments */
  .page-about__grid-two-col,
  .page-about__products-grid,
  .page-about__values-grid,
  .page-about__team-grid,
  .page-about__awards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__content-with-image img {
    max-width: 100%;
  }

  .page-about__card,
  .page-about__product-card,
  .page-about__value-item,
  .page-about__commitment-item,
  .page-about__team-member,
  .page-about__award-item {
    padding: 20px;
  }

  .page-about__card-title,
  .page-about__product-title,
  .page-about__value-title,
  .page-about__commitment-title,
  .page-about__member-name,
  .page-about__award-title {
    font-size: 1.5em;
  }

  .page-about__faq-qtext {
    font-size: 1em;
  }

  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
}