h1{
font-size: 2.8125rem;
}

p{
 font-size: 1.25rem;
}

.about_us_section_1 {
  margin-top: 10vh;
  align-content: center;
  justify-content: center;
  padding-bottom: 5vh;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5vh;
}

.about_jg_heading {
  font-family: Josefin Sans;
  font-weight: bold;
  line-height: normal;
  text-align: center;
  display: flex;
  align-items: center;
  color: #000000;
}

.about_jg_subsection {
  max-width: 100%;
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 1vw;
  background-color: #302f2f;
  border-radius: 8px;
  margin-bottom: 5vh;
}

.about_jg_image {
  width: 50vw;
  height: 45vh;
  opacity: 0.9;
  border-radius: 8px !important;
}

.about_jg_text {
  padding-top: 5vh !important;
  padding-bottom: 5vh;
  overflow-wrap: break-word;
  word-wrap: break-word;
  padding-left: 5%;
  padding-right: 5%;
}

.about_jg_para {
  position: relative;
  font-family: Inter;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 0em;
  color: #8b8b8b;
  text-align: left;
}

.para_1 {
  margin-bottom: 2.2vw;
}

.about_us_section_2 {
  padding-bottom: 5vh;
  background-color: #dfdede;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3vh;
}

.mission_heading {
  font-family: Josefin Sans;
  font-weight: bold;
  line-height: normal;
  text-align: center;
  display: flex;
  align-items: center;
  letter-spacing: 0em;
  font-variation-settings: "opsz" auto;
  color: #000000;
}

.mav_image {
  display: flex;
  border-radius: 14px;
}

.card {
  background-color: #dfdede;
  border: none;
}

.image-container {
  position: relative;
  overflow: hidden;
}

.cover-overlay {
  position: absolute;
  bottom: 0.1%;
  left: 0;
  right: 0;
  height: 15%;
  border-radius: 8px;
  background: #9747ff4d;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: height 0.5s linear, opacity 0.1s linear;
}

.image-container:hover .cover-overlay {
  height: 90%; /* Expand to 80% */
  transition-delay: 0.3s;
  transition: height 0.6s linear;
}

.mission_image_overlay,
.vision_image_overlay,
.trust_image_overlay {
  left: 0;
  top: auto;
  bottom: 0.1%;
  /* background: rgba(151,71, 255, 0.6); */
  /* -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px); */
  display: flex;
  color: white;
  border-radius: 0px 0px 8px 8px;
  justify-content: center;
  align-items: center;
  opacity: 1;
  height: 15%;
  padding: 0;
  transition: height 0.5s linear, opacity 0.1s linear;
}

.mission_image_overlay h5,
.vision_image_overlay h5,
.trust_image_overlay h5 {
  margin-bottom: 0;
}

.mission_desc p,
.vision_desc p,
.trust_desc p {
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: left;
  max-width: 250px;
  max-height: 250px;
  font-family: Quicksand;
  font-size: 1rem;
  font-weight: normal;
  line-height: normal;
  letter-spacing: 0em;
  font-variation-settings: "opsz" auto;
  color: #ffffff;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3), 0px 4px 10px rgba(0, 0, 0, 0.3);

  /* visibility: hidden; */
  width: 100%;
  padding: 1rem;
}

.mission_desc,
.vision_desc,
.trust_desc {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.75s linear;
}

.image-container:hover .mission_desc,
.image-container:hover .vision_desc,
.image-container:hover .trust_desc {
  height: 100%; /* Expand to 80% */
  opacity: 1;
  align-content: center;
}

.about_us_section_3 {
  padding: 50px 20px;
  padding-bottom: 5vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5vh;
}

.career-heading {
  font-family: Josefin Sans;
  font-weight: bold;
  color: #a86dd4;
  text-align: center;
}

.career-paragraph {
  font-family: Inter;
  
  color: #333;
  line-height: 1.6;
  text-align: left;
}

footer {
  background: #302f2f;
  height: 99px;
}

.footer-text {
  font-family: Inter;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0em;
  font-variation-settings: "opsz" auto;
  color: #ffffff;
}

@media (max-width: 576px) {

  .about_jg_image {
    width: 100%;
    height: auto;
  }

  .about_jg_text {
    padding: 0.8rem;
  }

}

@media (max-width: 1200px) {
  .about_jg_image {
    width: 90%;
    height: auto;
    border-radius: 14px;
  }

  .about_jg_para {
    text-align: left;
  }

  .career-paragraph {
    text-align: left;
    margin-bottom: 1rem;
  }
}

@media (max-width: 1163px) {
  .container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 992px) {

  .about_jg_subsection {
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.5vh;
  }

  .about_jg_image {
    width: 80%;
    height: auto;
  }

  .col-3.missionvisioncol{
    
    max-height: 43.25rem;
    padding: 1rem;
    width: 33.3%;
  }

  .vision_desc p, .mission_desc p, .trust_desc p{
font-size: 0.8rem;
  }

}

@media (max-width: 900px) {
  .about_jg_image {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {

  .d-flex{
    flex-direction: column;
    align-items: center;

}
.col-3.missionvisioncol{
  width:70%;
  max-height: 31.25rem;
  padding: 1rem;
}
.mav_image{
  max-height: 28.75rem;
}
}
