/* style/about.css */

/* Body background is default white, so text should be dark */
.page-about {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles --header-offset */
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-about__hero-content {
  width: 100%;
  max-width: 900px;
  z-index: 1;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3em); /* Responsive H1 font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-about__intro-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word;
  max-width: 100%;
}

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

.page-about__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

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

.page-about__btn-secondary:hover {
  background-color: #e0e0e0;
  border-color: #017439;
}

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

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

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 15px;
}

.page-about__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-about__dark-bg {
  background-color: #017439;
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__sub-title {
  color: #ffffff;
}

.page-about__dark-bg .page-about__section-description {
  color: #f0f0f0;
}

/* Mission & Vision Section */
.page-about__mission-vision-section .page-about__content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-about__mission-vision-section .page-about__image-wrapper {
  text-align: center;
}

.page-about__mission-vision-section .page-about__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

/* Values Section */
.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__value-card .page-about__card-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__value-card .page-about__card-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-about__value-card p {
  color: #f0f0f0;
}

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

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

.page-about__team-member-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__member-name {
  font-size: 1.4em;
  font-weight: 600;
  color: #017439;
  margin-bottom: 5px;
}

.page-about__member-role {
  font-size: 1em;
  color: #555555;
}

.page-about__cta-buttons--center {
  text-align: center;
}

/* Security Commitment Section */
.page-about__commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__commitment-item {
  text-align: center;
  padding: 25px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.page-about__commitment-item .page-about__commitment-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-about__commitment-item .page-about__commitment-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
}

.page-about__commitment-item p {
  color: #f0f0f0;
}

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

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

.page-about__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  color: #017439;
  cursor: pointer;
  user-select: none;
  outline: none;
}

.page-about__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #017439;
  margin-left: 15px;
}

.page-about__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__mission-vision-section .page-about__content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-about__main-title {
    font-size: clamp(2em, 8vw, 2.5em) !important;
  }

  .page-about__section-title {
    font-size: 2em !important;
  }

  .page-about__sub-title {
    font-size: 1.5em !important;
  }

  .page-about__hero-section,
  .page-about__mission-vision-section,
  .page-about__values-section,
  .page-about__team-section,
  .page-about__security-commitment-section,
  .page-about__faq-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-about__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__hero-image-wrapper,
  .page-about__image-wrapper,
  .page-about__value-card .page-about__card-icon,
  .page-about__team-member-image,
  .page-about__commitment-item .page-about__commitment-icon {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsiveness */
  .page-about__cta-buttons {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__value-card,
  .page-about__team-member-card,
  .page-about__commitment-item {
    padding: 20px !important;
  }

  .page-about__faq-item summary {
    font-size: 1.1em !important;
    padding: 15px !important;
  }

  .page-about__faq-answer {
    padding: 0 15px 15px !important;
  }
}