.page-about__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #F3F8FF;
  padding-top: 10px; /* Small top padding, not --header-offset */
  margin-bottom: 40px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-about__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 800px;
  width: 90%;
  z-index: 2;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #F2C14E; /* Gold for main title */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #F3F8FF;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

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

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

.page-about__btn-secondary:hover {
  background: #F2C14E;
  color: #113B7A;
  transform: translateY(-2px);
}

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

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

.page-about__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
}

.page-about__grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-about__card {
  background: #10233F;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #F3F8FF;
}

.page-about__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-about__card-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #F2C14E;
  margin-bottom: 15px;
}

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

.page-about__feature-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__feature-icon {
  width: 100%;
  max-width: 250px;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-about__feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #113B7A;
  margin-bottom: 15px;
}

.page-about__dark-section {
  background: #08162B;
  color: #F3F8FF;
}

.page-about__content-text-block {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: center;
}

.page-about__content-text-block p {
  margin-bottom: 20px;
  color: #AFC4E8;
}

.page-about__content-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__contact-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #AFC4E8;
}

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

/* FAQ Styles */
details.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border color from custom palette */
  overflow: hidden;
  background: #10233F; /* Card BG from custom palette */
  color: #F3F8FF;
}
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;
}
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: #08162B; /* Deep Navy for hover */
}
.page-about__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold for question text */
}
.page-about__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold for toggle icon */
  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 for answer background */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Secondary text color */
}

/* General responsive styles for images and buttons */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-about__section,
.page-about__card,
.page-about__container,
.page-about__hero-cta,
.page-about__contact-cta {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Tablet responsiveness (adjust for larger tablets if needed, e.g., 1023px) */
@media (max-width: 1023px) {
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__main-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .page-about__hero-description {
    font-size: 1rem;
  }
  .page-about__grid-two-cols {
    grid-template-columns: 1fr;
  }
  .page-about__section-title {
    font-size: 2rem;
  }
  .page-about__card-image {
    height: 180px;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 0; /* Remove small padding on mobile if hero image takes full height */
    margin-bottom: 20px;
  }
  .page-about__hero-content {
    position: static;
    transform: none;
    padding: 20px 15px;
    background: rgba(0, 0, 0, 0.5); /* Add a darker overlay for text readability on smaller screens */
  }
  .page-about__hero-image {
    filter: brightness(0.5); /* Make it even darker */
  }
  .page-about__main-title {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  .page-about__hero-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .page-about__hero-cta {
    flex-direction: column;
    gap: 10px;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 15px;
    font-size: 0.95rem;
  }

  .page-about__section-padding {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .page-about__card-image {
    height: 150px;
  }
  .page-about__card-title {
    font-size: 1.5rem;
  }
  .page-about__feature-item {
    padding: 20px;
  }
  .page-about__feature-title {
    font-size: 1.3rem;
  }
  .page-about__content-text-block {
    font-size: 1rem;
  }
  .page-about__content-text-block p {
    margin-bottom: 15px;
  }
  .page-about__content-image {
    margin: 20px auto;
  }
  .page-about__contact-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .page-about__contact-cta {
    flex-direction: column;
    gap: 10px;
  }
  details.page-about__faq-item summary.page-about__faq-question {
    padding: 15px;
  }
  .page-about__faq-qtext {
    font-size: 1rem;
  }
  .page-about__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-about__faq-item .page-about__faq-answer {
    padding: 0 15px 15px;
  }
  /* General image and container overflow fix */
  .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-cta,
  .page-about__contact-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-about__hero-cta, .page-about__contact-cta {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}