/* About Hero Section */
.about-hero-section {
  height: 100vh; /* Full viewport height */
  color: white;
  padding: 100px 20px;
  text-align: center;
  position: relative; /* Changed from absolute to relative */
  overflow: hidden;
  z-index: 1; /* Ensure it stays above other content */
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-bg {
  background: url("../assets/background/about_us.webp") center/cover no-repeat; /* Background image */
  position: absolute;
  background-position: center;
  left: 0;
  background-attachment: fixed;
  right: 0;
  z-index: -1;
  height: 100vh;
  top: 3rem;
  /* background-size: 100% 100%; */
}

.about-hero-content {
  max-width: 800px; /* Limit content width for better readability */
  margin: 0 auto; /* Center the content */
}

.about-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-out;
}

.about-hero-content p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out;
}

.about-hero-section .breadcrumb {
  font-size: 14px;
  color: #f0f8ff;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
}

.about-hero-section .breadcrumb a {
  color: #b7fba9;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.about-hero-section .breadcrumb a:hover {
  color: #bcffae;
}

.about-hero-section .breadcrumb span {
  color: #f0f8ff;
  font-size: 1.1rem;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-bg {
    top: 4rem;
  }
}

@media screen and (max-width: 767px) {
  .about-bg {
    top: 4rem;
  }
}

.about-intro-section,
.team-overview-section {
  padding: 0.5rem 1rem;
  background: #0e2440;
  border-radius: 0;
  position: relative;
  margin: 2rem auto 4rem;
}

.about-intro-section::before,
.team-overview-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  background-color: #111827;
  clip-path: polygon(
    0 0,
    100% 0,
    0 100%
  ); /* Creates the triangle cut-out shape */
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 10px;
  color: #8e91ff;
}

.sub-title-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  align-items: center;
  margin: 1rem auto;
}

.sub-title-container .subtitle-text,
.mission-section .text-content,
.team-overview-section .text-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 45%;
  color: #f0f8ff;
}

.sub-title-container .subtitle-text p,
.mission-section .text-content p,
.team-overview-section .text-content p {
  margin: 1rem;
}

.sub-title-container .image,
.mission-section .image-content,
.team-overview-section .image-content {
  display: flex;
  justify-content: center;
  width: 45%;
  font-size: 1.2rem;
}

.sub-title-container .image img {
  width: 270px;
  height: auto;
  min-width: 195px;
}

.mission-section .image-content img,
.team-overview-section .image-content img {
  width: 400px;
  height: auto;
  min-width: 220px;
}

.section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mission-section {
  padding: 0.5rem 1rem;
  background: #f0f8ff;
  border-radius: 0;
  position: relative;
  margin: 2rem auto 4rem;
}

.mission-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  background-color: #111827;
  clip-path: polygon(
    100% 0,
    0 0,
    0 100%
  ); /* Creates the triangle cut-out shape */
}

.mission-section .text-content p {
  font-size: 1rem;
  color: #0e2440;
}

.team-overview-section .text-content p {
  font-size: 1rem;
  color: #f0f8ff;
}

.values-section {
  margin: 1rem auto 4rem;
}

.values-section .card-icon {
  color: #111827;
}

.values-section .card {
  position: relative;
  flex: 0 0 300px;
  background: #007878;
  padding: 20px;
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0;
}

.values-section .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 70px;
  height: 70px;
  background-color: #111827;
  clip-path: polygon(
    0 0,
    100% 0,
    0 100%
  ); /* Creates the triangle cut-out shape */
}

/* Hide answers by default */
.faq-answer {
  display: none;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 15px;
  font-size: 1rem;
  color: #f0f8ff;
}

.faq-question {
  cursor: pointer;
  padding: 10px;
  background-color: #f0f8ff;
  border: 1px solid #f0f8ff;
  margin-bottom: 5px;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}

.faq-question i {
  margin-right: 10px; /* Space between icon and text */
}

.faq-question:hover {
  background-color: #e0e0e0;
}

.faq-item {
  margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
  .mission-section .section-content,
  .team-overview-section .section-content,
  .sub-title-container {
    flex-direction: column-reverse;
  }

  .mission-section .section-content {
    flex-direction: column;
  }

  .sub-title-container .subtitle-text,
  .mission-section .text-content,
  .team-overview-section .text-content {
    width: 100%;
  }

  .sub-title-container .subtitle-text p,
  .team-overview-section .text-content p,
  .mission-section .text-content p {
    font-size: 0.85rem;
  }

  .section-title {
    font-size: 1.8rem !important;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.85rem;
  }
}
