@import url(https://db.onlinewebfonts.com/c/fd131d436dd85453848ae4a84bb466ad?family=Zing+Rust+Demo+Base);

@import url(https://db.onlinewebfonts.com/c/6e535252f7e3199646540daad9e06f1d?family=Zing+Script+Rust+SemiBold+Base);

.who-we-are-section {
  padding: 10vh 0;
  width: 100%;
  height: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 46.32px;
}

.who-we-are-text {
  width: 735.68px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  line-height: 1;
}

.who-we-are-title {
  color: #fa8539;
  font-size: 32px;
  font-family: "Zing Script Rust SemiBold Base";
  font-weight: 100;
  word-wrap: break-word;
}

.who-we-are-subtitle {
  color: black;
  font-size: 64px;
  font-family: "Zing Rust Demo Base" !important;
  font-weight: 400;
  line-height: 80px;
  word-wrap: break-word;
}

.inside-card {
  width: 100%;
  position: relative;
  background: linear-gradient(0deg, #fa8539 0%, #fa8539 100%);
  border-radius: 28px;
  /* background-image: url(../mahaloha/investment/Section.webp); */
}

.inside-card-text {
  width: 100%;
  height: 100%;
  text-align: justify;
  color: white;
  font-size: 24px;
  font-family: Poppins;
  font-weight: 400;
  line-height: 24px;
  word-wrap: break-word;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10%;
}

.who-we-are-image-container {
  width: 378.6px;
  height: 521px;
  position: relative;
}

.who-we-are-card {
  width: 283.2px;
  height: 416.8px;
  padding: 11.2px;
  position: absolute;
  left: 95.4px;
  top: 52px;
  background: white;
  box-shadow: 0px 3.2px 32px rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 19.2px;
}

.who-we-are-card img {
  align-self: stretch;
  flex: 1 1 0;
  border-radius: 12.8px;
}

.who-we-are-card-title {
  width: 244.8px;
  color: black;
  font-size: 23.23px;
  font-family: "Poppins";
  font-weight: 600;
  line-height: 23.23px;
  word-wrap: break-word;
  padding: 6.4px 9.6px;
}

.who-we-are-card-description {
  width: 260.8px;
  color: #606060;
  font-size: 15.49px;
  font-family: "Poppins";
  font-weight: 400;
  line-height: 15.49px;
  word-wrap: break-word;
  padding: 6.4px 9.6px;
}

.who-we-are-main-card {
  width: 354px;
  height: 521px;
  padding: 14px;
  position: absolute;
  top: 0;
  left: 0;
  background: white;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.who-we-are-main-card img {
  align-self: stretch;
  flex: 1 1 0;
  border-radius: 16px;
  object-fit: cover;
}

.who-we-are-main-card-title {
  width: 306px;
  color: black;
  font-size: 29.04px;
  font-family: "Poppins";
  font-weight: 600;
  line-height: 29.04px;
  word-wrap: break-word;
  padding: 8px 12px;
}

.who-we-are-main-card-description {
  width: 326px;
  color: #606060;
  font-size: 19.36px;
  font-family: "Poppins";
  font-weight: 400;
  line-height: 19.36px;
  word-wrap: break-word;
  padding: 8px 12px;
}

@media (max-width: 1200px) {
  .who-we-are-section {
    flex-direction: column-reverse;
    gap: 50px;
  }

  .who-we-are-text {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .who-we-are-subtitle {
    text-align: center;
  }

  .section-intro-image {
    width: 100%;
  }

  .section-intro-wrapper {
    width: 100%;
    height: 100%;
    padding: 40px;
  }

  .section-intro-content {
    justify-content: start;
    align-items: flex-start;
    gap: 33px;
    display: flex;
    flex-wrap: wrap;
  }

  .section-intro-description {
    width: 100%;
  }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .who-we-are-section {
    flex-direction: column-reverse;
    gap: 50px !important;
  }

  .who-we-are-text {
    display: flex;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .who-we-are-title {
    font-size: 72px;
  }

  .who-we-are-subtitle {
    font-size: 5rem;
    line-height: 1.3;
  }

  .who-we-are-quote {
    font-size: 30px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .who-we-are-title {
    font-size: 50px;
  }

  .who-we-are-subtitle {
    font-size: 3rem;
  }

  .who-we-are-quote {
    font-size: 20px;
  }

  .who-we-are-card-title,
  .who-we-are-main-card-title {
    font-size: 18px;
  }

  .who-we-are-card-description,
  .who-we-are-main-card-description {
    font-size: 14px;
  }

  .who-we-are-section {
    padding: 10vh 0;
  }

  .who-we-are-text {
    width: 100%;
  }

  .who-we-are-section {
    flex-direction: column-reverse;
    gap: 30px !important;
  }

  .who-we-are-image-container {
    width: 100%;
  }
  .who-we-are-card {
    display: none !important;
  }
  .who-we-are-main-card {
    width: 100%;
  }

  .who-we-are-main-card-description {
    padding: 8px 20px;
  }
}
